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: xtserial error: "no observations"
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: xtserial error: "no observations"
Date
Mon, 8 Apr 2013 19:02:05 +0100
Chuong Huynh has a good point. But there is another solution if your
times are regular, but with gaps. Use the -delta()- option of -tsset-.
Nick
[email protected]
On 8 April 2013 16:11, chuong huynh <[email protected]> wrote:
> you should check: Your data must not discrete ( ex: 2000,2001,2002
> Not: 2000,2002,2004 - if this is your timeserie data, you can change
> to 1,2,3,4 in time variable). I'm not good English, hope you
> understand
>
> 2013/4/8 Nick Cox <[email protected]>:
>> 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
>> [email protected]
>>
>> On 8 April 2013 15:34, Rodrigo Badilla <[email protected]> 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 <[email protected]>:
>>
>>>> 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 <[email protected]> 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:
>> * http://www.stata.com/help.cgi?search
>> * http://www.stata.com/support/faqs/resources/statalist-faq/
>> * http://www.ats.ucla.edu/stat/stata/
>
>
>
> --
> Huỳnh Ngọc Chương
> SĐT: 0989.707.458
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/