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, **statalist.org** is already up and running.

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

From |
Nick Cox <njcoxstata@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: "First numlist in weights( ...) invalid" error when using tssmooth to calculate a simple moving average |

Date |
Thu, 6 Sep 2012 22:23:54 +0100 |

No; when I refer to my -filter()- I do mean my -filter()- function, which is (and has been through its history) only available through -egenmore- (SSC). The -ma()- function of -egen- was never mine, and has been through its history part of official Stata, but is now undocumented. It precedes the whole machinery of -tsset-, does not support panel data, and is now superseded by other stuff. But -filter()- remains consistent with other parts of Stata. The posting you cite from 2009 remains correct in every detail. Nick On Thu, Sep 6, 2012 at 8:37 PM, Aaron Kirkman <ak1795mailserv@gmail.com> wrote: > Nick, my mistake; I hadn't worked my way through -set trace- yet to > quite figure that out, but your explanation makes perfect sense. I'll > look into -egenmore-. Are you referring to its "-egen, ma()-" > functionality? According to this thread > (http://www.stata.com/statalist/archive/2009-08/msg00853.html) that > functionality is no longer supported (although the thread is somewhat > out of date). > > Brian, thanks for the fix. Let me know if you need any more info from me. > > > Aaron > > On Thu, Sep 6, 2012 at 1:32 PM, Nick Cox <njcoxstata@gmail.com> wrote: >> Also, my -egen- function -filter()- in -egenmore- (SSC) will I think >> do exactly what you want. >> >> Nick >> >> On Thu, Sep 6, 2012 at 6:59 PM, Nick Cox <njcoxstata@gmail.com> wrote: >>> Sorry; I evidently didn't make myself clear enough, or you've missed >>> some very minor ironies of style. Where the error arises is not in >>> doubt. >>> >>> -set trace- is sufficient to tell exactly where the error occurs and >>> using it lies behind my previous post. Also, the error occurs when >>> int(N/2) exceeds 1600, which as you say is when N >= 3202. >>> >>> I haven't copied my post to Stata tech support, so you may want to >>> press them gently on the point. >>> * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**References**:**st: "First numlist in weights( ...) invalid" error when using tssmooth to calculate a simple moving average***From:*Aaron Kirkman <ak1795mailserv@gmail.com>

**Re: st: "First numlist in weights( ...) invalid" error when using tssmooth to calculate a simple moving average***From:*Aaron Kirkman <ak1795mailserv@gmail.com>

**Re: st: "First numlist in weights( ...) invalid" error when using tssmooth to calculate a simple moving average***From:*Nick Cox <njcoxstata@gmail.com>

*From:*Aaron Kirkman <ak1795mailserv@gmail.com>

*From:*Nick Cox <njcoxstata@gmail.com>

*From:*Nick Cox <njcoxstata@gmail.com>

*From:*Aaron Kirkman <ak1795mailserv@gmail.com>

- Prev by Date:
**RE: st: RE: Hausman-Taylor AR(1) estimator** - Next by Date:
**st: RE: How to plot a categorical by continuous interaction in ologit** - Previous by thread:
- Next by thread:
**st: Correlation between stocks** - Index(es):