I haven't done a STEM education, but it seems to me like the quality of research output is dependent on the field, to start with. Second, doesn't it really only become relevant at the PhD level, not bachelor's or master's degrees? Seems to me like nothing precludes you from going for a good education in Europe and then getting good research opportunities in the US.