Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Time variable setting problem


From   "Austin Nichols" <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Time variable setting problem
Date   Wed, 12 Sep 2007 10:06:28 +0100

khan ali <economichust@yahoo.com>:
If I understand your question correctly, you can simply
gen t=_n+52*30
tsset t,weekly

On 9/12/07, khan ali <economichust@yahoo.com> wrote:
> Dear members,
> After importing a data file in to stata I want to
> declare it weekly time series data from 1990 to 2000.
> But when I usse tsset it starts from 1960,But I want
> to start from 1990.Do any body can help in this
> regard?Thanks.
> I am using following commands
> gen t=_n
> tsset t,weekly
>
*
*   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/



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