https://www.inc.com/minda-zetlin/stanford-research-explains-...
It’s also interesting that your sister’s experience is reflective of the findings in various studies. Would your sister have pursued tech without your support?
A now few years old government study on gender segregation, they cited a older study that found that being in a minority makes a person less confident when faced with a challenged compared to being in a majority. Not massively so, but adding up every small and big challenges a person face in life while being a student, to finding a job, to being a professional for several years, and the results is a significant higher risk of leaving a field where one is a minority.
The big issue with this kind of research is that we don't have any gender to blame. It is equally male and female behavior, and the result is almost unbelievable similar results where in Sweden 88.6% of women and 88.4% of men work in gender segregated fields. The 12.5% that work in non-gender segregated fields, where no gender is bigger than 150% than the other gender, is a shrinking minority and there is no evidence to show either gender being behind it.
The question is what policy to apply. We could use a progressive affirmative action based on the severity of segregation, but that would mean for example a complete stop of new hire of midwifes that identify as female as that profession is the worst gender segregated profession in Sweden with over 99.9%. It is also the only higher education program currently that is 100% single gender. Last summer the government even had to cancel vacations on a national level because they could not otherwise cover minimal standard of health care. Its a professions that would greatly benefit by recruiting from the whole population, but its very unclear how to reach such goal.
They could do a tax based incentive to encourage individuals to go beyond their own comfort levels and give progressive higher tax cut based on the severity of gender minority status you have in a profession. With Swedish taxes and gender segregation that would mean a male midwife could get up to 100% tax cut and increasing their wages with about 33-50%. A female programmer would get a tax cut around 25-50%, translating to a 10-25% pay raise.
Alternative one can try to lower the difference in confidence between those in a majority group vs minority. Mentoring programs are great for that and has shown good results for professions that have average gender segregated. This work nicely on a per company level, but I have not seen any policy action on a national level to encourage such programs. It doesn't however address the initial choice when a individual select a higher education program, so the leaky pipe model still apply.
Then again, I saw a woman get put on a PIP the week after she filed a sexual harassment complaint, because the (major tech) company would rather pay a big severance than tell the dude programmers to stop sexually harassing their coworkers, so there are also explicit dynamics that play into the alienation of women.
On the whole, though, it's about disproportionate impact. "You are welcome to join this sexist work environment" is a selling point to far more men that women, so we end up with more men than women. This isn't rocket science.