Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: "insufficient observations" with xtreg


From   Natalie Trapp <natalie.trapp@zmaw.de>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: "insufficient observations" with xtreg
Date   Fri, 02 Jul 2010 15:18:19 +0200

Dear all,

this question has already been posed four years ago by Liu Ying on statalist, but I couldn't find an answer to it.

I declared the dataset to be a panel dataset:

. xtset id Year
    panel variable:    id (weakly    balanced)
    time variable:    Year, 2002    to 2004
    delta:    1 year

(the dataset is not complete yet, so I only have two years so far and more than 44.000 individuals)

When I regress the model,

. xtreg y x1 x2 x3 x4 x5 x6

I get the error: "insufficient observations". Why do I get this error?
Is this maybe due to the short time period or due to missing observations for some individuals?

Many thanks in advance.
Natalie
_______________________________________

Research Unit Sustainability and Global Change
Centre for Marine and Atmospheric Sciences
Bundesstraße 55
D-20146 Hamburg







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