You might need to (tsset)your data.
tsset firm time
*then
xtserial y x1 x2
hope this works
Ahmed
--- "Koksal, Bulent" <[email protected]> wrote:
> I made a mistake. Sorry.
>
> .xtreg y x1 x2, fe
>
> works fine. but I get the "no obs" message for the
> following
>
> .xtserial y x1 x2
> no observations
> r(2000);
>
>
> On Feb 10, 2008 9:17 PM, <[email protected]>
> wrote:
> > Did you tell us EXACTLY what you type?
> > I type -xtserial- (please cite that it's from SJ)
> and I get
> > varlist required
> > r(100);
> > which suggests the solution
> > Nicola
> >
> >
> > At 02.33 10/02/2008 -0500, "Koksal, Bulent" wrote:
> > >Dear Stata users,
> > >
> > >I estimate a fe panel model
> > >
> > >.xtreg y x1 x2, fe
> > >
> > >and everything works fine. then I want to test
> for correlation by
> > >
> > >.xtserial
> > >
> > >but I get
> > >
> > >no observations
> > >r(2000);
> > >
> > >Any suggestions?
> >
> >
>
>
>
> --
> B�lent K�ksal
>
> *
> * 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/
>
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
*
* 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/