Study of 1.6 Million Grades Shows Little Gender Difference in Math and Science at School (theconversation.com)
A study of school grades of more than 1.6 million students shows that girls and boys perform similarly in science, technology, engineering and math (STEM) subjects. From a report: The research, published today in Nature Communications, also shows that girls do better than boys in non-STEM subjects. Our results provide evidence that large gaps in the representation of women in STEM careers later in life are not due to differences in academic performance. One explanation for gender imbalance in STEM is the "variability hypothesis." This is the idea that gender gaps are much larger at the tails of the distribution -- among the highest and lowest performers -- than in the middle.
There isn't a big financial incentive to go into STEM jobs if you are a college-educated professional. The pay is good, but there is a limit to your professional growth and you have to actually do work and produce results. In reality, sales and marketing at tech companies make as much or more as STEM people. So unless you really enjoy STEM, it is better off avoiding it as a career. I think many women have figured this out.