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]

Re: st: error message: invalid numlist (tssmooth)


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: error message: invalid numlist (tssmooth)
Date   Fri, 19 Apr 2013 08:56:42 +0100

Good fix.Thanks for closure report, often neglected by members.

Nick
njcoxstata@gmail.com


On 19 April 2013 07:49, Nick Bornschein <nick.bornschein@googlemail.com> wrote:
> Hello Nick,
>
> it was an error of mine using the tsset command. I used
>
> tsset id daily, daily
>
> instead of
>
> tsset daily, daily
>
> Now it works fine.
>
> Thanks a lot!
>
>
> Am 18.04.13 15:59, schrieb Nick Cox:
>
>> I can't reproduce this. An example in the help, slightly modified, runs
>> fine:
>>
>> webuse sales1, clear
>> tsset
>> tssmooth ma sm1 = sales, window(2 1 2)
>>
>> Can you reproduce that?
>>
>> Nick
>> njcoxstata@gmail.com
>>
>>
>> On 18 April 2013 13:27, Nick Bornschein <nick.bornschein@googlemail.com>
>> wrote:
>>>
>>> Hello,
>>>
>>> I am using a dataset with temperature data from 01/01/2005 to 03/31/2013
>>> (every day with its mean temeprature). Using tsset produces a weekly
>>> balanced dataset with a unit of 1 day. I have no missing. Now I want to
>>> use
>>>
>>> tssmooth ma ma_temp1 = temp, window(2 1 2)
>>>
>>> but I get the error:
>>>
>>> "window() invalid -- invalid numlist has elements outside of allowed
>>> range"
>>>
>>> I tried to find out what the problem could be, but I wasn't successful.
>>> What
>>> is the problem or what could it be?
>>>
>>> Best
>>> -Nick
>>> *
>>> *   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/
>
>
> *
> *   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/


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