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 on April 23, and its replacement, is already up and running.

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

st: RE: ERROR: sample may not include multiple panels

From   "Nick Cox" <>
To   <>
Subject   st: RE: ERROR: sample may not include multiple panels
Date   Fri, 6 Aug 2010 15:18:41 +0100

To Stata, a panel is an identifier variable which, together with a time
variable, defines a panel dataset. Thus to Stata your variable -model-
defines panels: as far as it is concerned you said so yourself. 



i defined my paneldata using the following code

encode model, gen(numeric_model)
gen datevar=monthly(month,"M20Y") 
format datevar %tm

sort numeric_model datevar
xtset numeric_model datevar

Now, if i want to make tests such as xcorr, as or dfuller i get the
following error message:

"sample may not include multiple panels"

Has anybody got an idea why i get this error? Where does stata see the
"multiple panels"?

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index