Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: AW: RE: panel-specific autocorrelation with unbalanced panels


From   Jessica �lschl�ger <[email protected]>
To   <[email protected]>
Subject   st: AW: RE: panel-specific autocorrelation with unbalanced panels
Date   Mon, 10 Dec 2007 16:06:41 +0100

Thank you very much for your suggestion.
Could you give me a hint on how to find out whether the autocorrelation is
panel-specific? (Maybe that is already done in your suggestion and I just
missed the point.)

Best regards

Jessica

 
----------------------------------------------------------------
Dipl. oec. Jessica �lschl�ger
 
Forschungsstelle Europ�ische Integration
Universit�t Hohenheim

-----Urspr�ngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Podesta',
Federico
Gesendet: Montag, 10. Dezember 2007 09:07
An: [email protected]
Betreff: st: RE: panel-specific autocorrelation with unbalanced panels

One way to control for autocorrelation is to run an autoregressive model on
the residuals of your model against lagged dependent variable plus all
independent variables of your original model and look at the statistical
significance of the autoregressive coefficient.  
So, if your model is:
reg y x1 x2
you need to do:
predict resid, resid
reg resid l.resid x1 x2

best regards 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Jessica �lschl�ger
> Sent: Friday, December 07, 2007 2:26 PM
> To: [email protected]
> Subject: st: panel-specific autocorrelation with unbalanced panels
> 
> Dear Statalisters,
> 
> I want to test for panel-sepcific autocorrelation in my panel 
> data set.
> Unfortunately xttest1 doesn't work as my data is unbalanced.
> Is there a way to fix this problem in Stata?
> 
> Any comments would be greatly appreciated.
> 
> Jessica
> 
> ----------------------------------------------------------------
> Dipl. oec. Jessica �lschl�ger 
> Forschungsstelle Europ�ische Integration
> Universit�t Hohenheim
> 
> 
> *
> *   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/
> 

*
*   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/


*
*   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