A human capital approach to pay disparity