Rita Luk
>
> Reproduce your syntax, I do fine.
> However, when I type (with and without firstly typing version 7):
>
> clear
> set obs 52
> gen time = 457 + _n
> format time %tm
> tsset t, monthly
> gen y = uniform()
> tsgraph y
> tsgraph y if t > m(1999m12)
>
> for the last command, Stata returns: m(2000.0m1) invalid.
> if last command changed to: tsgraph y if t>m(2000m12),
> Stata returns:
> m(2001.0m1) invalid.
> if last command changed to: tsgraph y if t>m(2001m12),
> Stata returns: too
> many macros
>
> but I type: list y if t>m(1999m12), it works.
>
> It seems my time variable does not feed into tsgraph right.
> Any suggestion?
OK; that's helpful. There's a bug when the algorithm
is copying with a time span just a few years long.
I'll add fixing this to the to do list for
-tsgraph- for Stata 8.
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/