Hi,
I'm estimating a model as given below
probit y z x1 x2 x3 x4
probit z y x1 x2 x5 x6
I've generated the residuals for each of these regressions
predict yhat
gen yresid = (y-yhat)
and similarly for z.
Now I want to get the variance-covariance matrix for yresid and zresid..
Is there anyway I can do this in Stata 10.
I hope this makes sense. Thank you in advance.
Regards,
Rosa Abraham
I'm estimating a model as given below
probit y z x1 x2 x3 x4
probit z y x1 x2 x5 x6
I've generated the residuals for each of these regressions
predict yhat
gen yresid = (y-yhat)
and similarly for z.
Now I want to get the variance-covariance matrix for yresid and zresid..
Is there anyway I can do this in Stata 10.
I hope this makes sense. Thank you in advance.
Regards,
Rosa Abraham
Comment