Statalist The Stata Listserver


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

Re: st: Want to run xtreg with AR(1) autocorrelation allowed


From   Caleb Southworth <[email protected]>
To   [email protected]
Subject   Re: st: Want to run xtreg with AR(1) autocorrelation allowed
Date   Tue, 2 May 2006 12:08:30 -0700 (PDT)

On Tue, 2 May 2006 [email protected] wrote:

:I can use the xtreg, cluster() to capture the group effect
:but I still need to account for the autocorrelation of the
:error terms (AR(1)).  Can somebody please tell me how I

iis state
tis year
xtregar Y X

or

xtgls Y X, corr(ar1)

And see man pages for many alternative specifications.
*
*   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