Bookmark and Share

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: error: invalid ticklist "01jan2000" must be number


From   Zachary Mayer <[email protected]>
To   [email protected]
Subject   Re: st: error: invalid ticklist "01jan2000" must be number
Date   Mon, 13 Sep 2010 16:57:56 -0400

I'll give them a call.  I'm now convinced it has something to do with
the format I have the date variable in or how I tsset the dataset.

Thanks!

-Zach

On Sat, Sep 11, 2010 at 1:50 AM, Michael N. Mitchell
<[email protected]> wrote:
> Howdy
>
>  I cannot see anything wrong with your command at all. As you show (and I
> verified) it works great with the -tsline2- example you show, and I tried
> variations of inserting bad dates and could not reproduce this error.
> Perhaps this is one for tech support?
>
> Best luck!
>
> Michael N. Mitchell
> Data Management Using Stata      - http://www.stata.com/bookstore/dmus.html
> A Visual Guide to Stata Graphics - http://www.stata.com/bookstore/vgsg.html
> Stata tidbit of the week         - http://www.MichaelNormanMitchell.com
>
>
>
> On 2010-09-10 12.16 PM, Zachary Mayer wrote:
>>
>> Hi all,
>>
>> I am attempting the following command:
>> tsline y, ttick(01jan2000 31dec2000)
>>
>> But I get the following error:
>> 'invalid ticklist "01jan2000" must be number'
>>
>> Which is weird, because this command works fine:
>>
>> sysuse tsline2, clear
>> tsset day
>> tsline calories, ttick(28nov2002 25dec2002, tpos(in)) ttext(3470
>> 28nov2002 "thanks" 3470 25dec2002 "x-mas", orient(vert))
>>
>> What am I doing wrong?
>>
>> Thanks!
>>
>> -Z
>> *
>> *   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/
>
> *
> *   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/
>

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index