Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: getting residuals in tobit estimation


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: getting residuals in tobit estimation
Date   Thu, 9 Sep 2004 22:12:11 -0500

Monica,

Do you mean something other than:

tobit .....
predict double xb if e(sample), xb
gen double residual = `depvar' - xb if e(sample)


Scott


> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of Monica L. Parra Torrado
> Sent: Thursday, September 09, 2004 8:06 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: getting residuals in tobit estimation
> Importance: High
> 
> Dear Statalist Members,
> I am estimating a tobit model but have not been able to get the residuals
> of
> the model, just as when one use "predict e, residuals" in a standard
> regression or "predict combres, ue" in a xtreg specification.  Does any
> one
> know how to get these?  I am sorry if this one results being a very silly
> question.
> Thanks for your help,
> Mónica L.
> 


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index