Assessing influential factors on high school and community college students' STEM pathways