When using fracreg, Stata 14 does not want to generate residuals in postestimation, saying
option resid not allowed.
But after fracreg with the dependent variable "depvar," it is happy enough to generate residuals using
predict yhat
generate residual = depvar - yhat
That generated thing is the residual, right? What am I missing? (maybe a lot!)
option resid not allowed.
But after fracreg with the dependent variable "depvar," it is happy enough to generate residuals using
predict yhat
generate residual = depvar - yhat
That generated thing is the residual, right? What am I missing? (maybe a lot!)
Comment