The Relation of Home Environment, Cognitive Competence, and IQ among Males and Females.