Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: quarterly data


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: quarterly data
Date   Mon, 31 Oct 2005 17:36:48 -0000

The function is -yq()-. This was mentioned in 
my longish posting to the list yesterday aimed squarely 
in your direction. 

Nick 
n.j.cox@durham.ac.uk 

Terra Curtis
 
> I have two variables, quarter and year, and I would like to 
> generate a new
> variable which stata recognizes as the quarter and year 
> together, so that I
> can -tsset- my data.  I thought about using the -date- 
> function, but it
> doesn't seem this has a quarterly option.  Any ideas?

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