Ethnicity (0 = non-white and 1 = white), Sex (0 = female and 1 = male). Dark blue lines represent the ‘learning backbone’, green lines represent the effects of conscientiousness, the yellow line represents the effect of surgency2, red lines represent the effects of intelligence, the orange line represents the effect of emotional stability, light blue lines represent the effects of ethnicity, brown lines represent the effects of sex, black lines represent factor loadings and the correlation between latent factors. O&G = Obstetrics and Gynaecology, Special (Ophthalmology, Otolaryngology and Dermatology), ACE = Advanced Clinical Examination. Coefficients are standardized. * p<.05, ** p<.01, *** p<.001.