There are also other confounders, for example, the mass entry of women into the medical education system at the same time: they tend to seek part-time employment arrangements, so it takes some 1.x 2020 doctors to replace each 1970 doctor. Women as physicians are wonderful, wouldn't have it any other way, the point is the confounder wasn't accounted for.