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]

st: datevar transformation


From   Zied OUELHAZI <[email protected]>
To   "Statalist " <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index