The graph[1] that is usually shown is highly misleading, because it compares CS with "physical sciences", and law, but does not include engineering. If you add engineering, it all makes a bit more sense[2].
Also, you seem to be approaching this from the angle of "can we prove that it isn't sexism" (which is the common approach). It seems that the correct approach is for those who claim that it is sexism to make the case, which after looking at the evidence I think they absolutely have not. (I used to think it was, but that was because I bought the narrative without looking at the evidence).
And the narrative is strong. For example, the link to the percentage of women decreasing with the discipline becoming more engineering like is known. However, the explanation then shifts to "the men in CS got together and decided to make the discipline more engineering-like expressly in order to keep the women out". Seriously??
[1] https://media.npr.org/assets/img/2014/10/21/womencoding_wide...
[2] https://media.licdn.com/mpr/mpr/p/7/005/06b/02d/33fe648.jpg
How so? I feel exactly opposite is true. I'm successful developer with over 10 years of commercial exp with masters degree from technical university and in wildest dreams I wouldn't call myself engineer without laughing even though I have it written among other things on my diploma. I feel more like artist, craftsman or repirman.
I have yet to see a valid study showing this. Instead, I've seen numerous studies that have not mentioned that a 'computer programmer' included employees whose job consisted of transferring punch cards and tapes. Obviously these jobs are no longer required.
The only statistics that show even a tiny bit of proof for your argument come from Soviet based nations that did have a higher percent of women in actual programming positions
Very long ago, computer programming was seen as being like typing and/or secretarial work. It was seen as being unmanly. Compare with nursing and kindergarten teaching.
A woman might get assigned to invent COBOL instead of being in charge of an aircraft carrier.
Well, we got rid of the sexism. Happy now? Hmmm, guess not.
Anyway, in the 17 years I've been doing this on and off, I have met precisely 1 female boilermaker. And nobody cares.
What I don't follow is why is gender imbalance in other industries seen as a problem but we never see any serious attempt to get more women in to the construction industry.
Why does anyone care there are differences in numbers of men and women in various industries? Things change over time, fashions change. I think approaching these issues from the "we must correct this imbalance" is incorrect reasoning.
And, lastly, if we do manage to level the playing field, what will gender identity become?
A quote form the film Trainspotting: One thousand years from now, there will be no guys and no girls, just wankers.
I'm willing to posit that strong gender roll identity is crucial for a healthy and resilient culture.
Software is eating the world, there's so much work to do, and a thought that anyone that could be a programmer isn't for some silly reason, is very unpleasent.
I find it insufficient to answer the question of whether sexism is the problem. Computer programming used to have a lot more women -- why did that change? If it was changing interest, what is the source of the gender imbalance in the change in interest? Certainly, the perception that there was gender bias in the field arose while the rate at which women were participating was dropping from its high -- was gender bias in the field part of the cause of disinterest?