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/