Hi all,


I need to analyze quarterly data, but I have only variables 'year' and 'month' in my data set.

So I need to combine these 2 variables (year) and (month) into a new variable (quarter):
E.g. 2005 and 7 (july) should become 2005q3.


Which commands do I need to use in Stata to become this quarterly data?

Thanks!