The impact of cognitive skills on the distribution of the black-white wage gap