Nearly 40 percent of women who earn quit the profession or never enter the field, according to a recent study.