It's not 100%. I knew seriously smart Mexican guys in Engineering school, and they were not necessarily from the white Mexican upper class (although most were).
But even they had the defensive edge on them - they had to act out to prove their manhood to some extent or else be called names for being good students ("vendido", or sellout...meaning sellout to whitey).
You never see mexicans in the software biz either.