This paper constructs and estimates a generalized Roy model with human-capital accumulation and moral hazard to control for self-selection by executives across firms and jobs. It uses the estimated model to decompose the firm-size pay gap into five sources, namely: (1) utility from working, (2) divergence in incentives, (3) monitoring, (4) demand, and (5) human-capital accumulation. It finds no...