Even being a medical doctor means having a very good life, I wouldn't go for it in a million years.
I have a blog and a youtube channel that talks about raspberry pi, open source, embedded, and other programming projects that I do for fun in my spare time. I checked the youtube stats yesterday and my female audience was 0% (not rounded down, it was 0.0% according to Youtube) among about 10K people who watched them last week - globally. When I had google analytics on my site, it reported the same thing. Because my channel is new and no one knows whether I am a sexist person or not, so we can safely filter out the reputation problem. Also, I have a foreign name so people can't guess my gender by looking at my name. I think that anyone who watches my video has to be curious about what I do, not because they are used to me talking in a certain way.
Now my channel is a small sample, but I have a feeling that not many girls find tech (or at least what I do) fun and appealing the current way it is while many boys do. So it's just about an opportunity, money and job and whatnot as it is a hobby, a thing to have fun with that attracts certain demographic to a profession.