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

st: xtgls and residuals


From   Aruna Srinivasan <[email protected]>
To   [email protected]
Subject   st: xtgls and residuals
Date   Mon, 20 Oct 2003 05:51:02 -0700 (PDT)

Hi All!

I am estimating a panel data model with AR1
correlkation using the xtgls method. When I calculate
the mean of the residualss its expected value is a
very big number. This is what I did:


xtgls y dummy1 dummy2 dummy3 dummy4 dummy5 x1 x2 x3,
i(cntyloc) t(year) panels(hetero) corr(psar1)igls

predict yhat

gen e=y-yhat

sum e

What am I missing? Why am I getting the expected value
of e as not zero?


Thanks,

Aruna Srinivasan


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index