Estimating distributions of counterfactuals with an application to the returns to schooling and measurement of the effect of uncertainty on schooling choice