Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st:AR(1) error notice: sample may not include multiple panels


From   Amanda Fu <[email protected]>
To   [email protected]
Subject   st:AR(1) error notice: sample may not include multiple panels
Date   Sat, 17 Mar 2012 18:02:51 -0400

Dear Statalists,

Sorry for bothering you with  a question about a simple AR(1)
estimation. I searched related discussion in the archives , but still
cannot figure out why the error message comes out. Any suggestions
will be helpful.

I want to estimate a univarate AR(1) model (without any controls). The
data set is a panel data,  including 1000 observations for 5 years
(200 variables. The one I am interested is enroll taking values 0,1) .
. tsset id years
. arima enrollment,ar(1)
"sample may not include multiple panels"

I must have missed something here. Can someone give me some hints?
In addition, instead of using ARIMA, may I know if there is any easy
alternative to do the AR(1) ?

Thank you very much!

Amanda
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index