Bookmark and Share

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]

st: datevar transformation


From   Zied OUELHAZI <ouelhazizied@gmail.com>
To   "Statalist " <statalist@hsphsun2.harvard.edu>
Subject   st: datevar transformation
Date   Mon, 24 Jun 2013 22:54:45 +0100 (GMT+01:00)

Dear statalisters

I'm working with time series on Stata 12 SE using quarterly data. I'm importing my excel file which looks like this:

Quarter | Dep_VAR | VAR1 |...  |VAR4

2000q1
2000q2
2000q3
2000q4
.
.
.
2012q1
2012q2
2012q3
2012q4

the datevar 'Quarter' is stringer and I would like to transform it in order to declare my data as time series. How should I proceed?

Thanks in advance.
*
*   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/


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