Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: St: No observations error message


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: St: No observations error message
Date   Thu, 12 Aug 2004 22:40:17 +0100

jdubas@nd.edu

> I am trying to run -xtreg, fe.  When I do this, stata 
> claims:-r(2000) no
> observations.  I also get this when I try _varlag.  What 
> could be the issue
> here? I have the data -tsset, and data is certainly in the 
> data set.  Any other
> troubleshooting tips?

Possibly one of the variables in your list is actually 
string even though it should be numeric. Or the pattern
of missing values means that you have no observations 
for which all the variables are not missing. 

> Additionally, in trying to run any panel unit root tests or 
> -johans, I am told
> my data "has gaps".  What is this and how might I correct it?

Your data possess gaps. You need to fill them in or live
with not running these tests. Read up about -tsreport-. 

Nick 
n.j.cox@durham.ac.uk 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index