Sex differences in achievement patterns