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]

Re: st: "insufficient observations" with xtreg


From   Kay Walker <[email protected]>
To   [email protected]
Subject   Re: st: "insufficient observations" with xtreg
Date   Fri, 02 Jul 2010 23:41:24 +0930

If you only have 2 years, that's not enough. The time intervals have to either be more frequent or you need more years to perform it this way. I assume you have x1 at start, 1 year and 2 years; x2 at the same intervals etc. ie. only 2 observations per x after baseline.

Cheers
-----
Natalie Trapp wrote:
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/

*
*   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