Matthew Yglesias explains that a reason why there aren't many women in engineering is because:
Women Engineers Are Jerk-Averse
Anna North notes new research on why women leave the science and engineering fields, which often comes down to women not enjoying being mistreated by jerks ...
That explains why so many women have instead gone instead into law, politics, Hollywood, Wall Street, fashion, and real estate sales. They're Jerk-Free Zones. Just look at David Mamet's Glengarry Glen Ross (real estate) or Speed the Plow (Hollywood): not an insensitive jerk in sight!
Now I also understand why a talented engineer like James Cameron, who has a reputation for being a jerk on the set, can't get women to audition for his movies and has never been able to find a wife. That also explains why American Apparel CEO Dov Charney, who appears to be slightly jerkish, can't get women to model his merchandise and sits at home each night without a date.
Similarly, now we know why the mathematics department at top universities are so male-dominated: mathematicians are total jerks, obviously. Look at that Andrew Wile, who proved Fermat's Last Theorem. What a jerk!
It's all really quite simple when you stop and think about it.