Semiparametric Estimation of a Regression Model with an Unknown Transformation of the Dependent Variable