Based on Wooldridge (2014, p.231) I calculate the generalised residuals for a tobit model as follows in Stata:
gen GR = -sigma * (y == 0) * normalden(-fitted)/normal(-fitted) + (y > 0) * (y - fitted)
(with 'y' the truncated variable and 'fitted' the predictions derived from postestimation)
My question is: if the model is left-censored at 1 instead of 0, do we need to replace the y == 0 and y > 0 in the formula with y == 1 and y > 1? Or does the formula for the generalised residuals remain the same, irrespective of the censoring?
Paper to which I refer:
Wooldridge, J. M. (2014). Quasi-maximum likelihood estimation and testing for nonlinear models with endogenous explanatory variables. Journal of Econometrics, 182(1), 226-234. https://doi.org/https://doi.org/10.1...om.2014.04.020
gen GR = -sigma * (y == 0) * normalden(-fitted)/normal(-fitted) + (y > 0) * (y - fitted)
(with 'y' the truncated variable and 'fitted' the predictions derived from postestimation)
My question is: if the model is left-censored at 1 instead of 0, do we need to replace the y == 0 and y > 0 in the formula with y == 1 and y > 1? Or does the formula for the generalised residuals remain the same, irrespective of the censoring?
Paper to which I refer:
Wooldridge, J. M. (2014). Quasi-maximum likelihood estimation and testing for nonlinear models with endogenous explanatory variables. Journal of Econometrics, 182(1), 226-234. https://doi.org/https://doi.org/10.1...om.2014.04.020
Comment