Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: error message: invalid numlist (tssmooth) |
Date | Thu, 18 Apr 2013 14:59:45 +0100 |
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/