This paper proposes a decomposition of the composition effect, i.e. the part of the observed between-group difference in the distribution of some economic outcome that can be explained by differences in the distribution of covariates. Our decomposition contains three types of components: (i) the...