How many people are interested in doing something where they must "get over" discrimination? Most women who stay in the field are ones are really excited about it, naturally very good at it or very lucky not to run into idiots early on -- usually all three. That weeds out a lot of talent and a lot of people who would be otherwise interested.