In a new study that capitalizes on data from the National Center for Educational Statistics and methods that address causality, sociologists looked at an earlier portion of the pipeline — in high school, when students’ commitment to STEM fields tends to solidify.