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]

Re: st: xtserial error: "no observations"

From   Rodrigo Badilla <>
Subject   Re: st: xtserial error: "no observations"
Date   Mon, 8 Apr 2013 15:13:04 -0400

Hi all,

i used numeric data  type , below is a description of my data with codebook:

fecha: numeric daily date (long) : this is my panel data (fixed effect)
 colocaciones: numeric (float)
tasa_min numeric (float)
tasa_max numeric (float)
imacec   numeric (float)
icv  numeric (float)
ipc  numeric (float)
cae   numeric (float)
ingreso,numeric (float).

When i write this command the output was:

 xtserial  colocaciones  tasa_min tasa_max imacec   icv  ipc  cae
ingreso, output
no observations

 alternatively i used xtpcse and xtgls command to get some idea about
autocorrelation in my data panel

Cross-sectional time-series FGLS regression

Coefficients:  generalized least squares
Panels:        homoskedastic
Correlation:   no autocorrelation

Estimated covariances      =         1          Number of obs      =       386
Estimated autocorrelations =         0          Number of groups   =         8
Estimated coefficients     =        15          Obs per group: min =        46
                                                               avg =     48.25
                                                               max =        49
                                                Wald chi2(14)      =   1575.78
Log likelihood             = -6270.753          Prob > chi2        =    0.0000

i know that my data number is small and probably the problem could be
in other side, I am working in that...


2013/4/8 Nick Cox <>:
> You need to tell us more about exactly what you typed and the
> incidence of missing values.
> In addition, note that -xtserial- is user-written, so that you are
> expected to explain that and say where it comes from.
> I doubt that having 386 observations is itself a problem.
> Nick
> On 8 April 2013 15:34, Rodrigo Badilla <> wrote:
>> Thanks for you reply and information, i did checked my variables and
>> are not strings... probably the missing values could be the answer...
>> anyway i have been read that autocorrelation test with xtserial should
>> be used with panel data with a large number of data, could be this in
>> relation with my problem ( i have only 386 samples)
> 2013/4/8 Nick Cox <>:
>>> This typically means that
>>> either some variable you think is numeric is really string
>>> or some variable contains missing values, prohibiting some calculation.
>>> We can't say more without knowing more about your data.
> On 8 April 2013 13:52, Rodrigo Badilla <> wrote:
>>>> I am triying to run a autocorrelation tests with xtserial command,
>>>> lamentably only get this error output: "no observations" previously i
>>>> set my data with xtset command, my data set have 386 samples.
> *
> *   For searches and help try:
> *
> *
> *
*   For searches and help try:

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