Hi guys,

A quick simple problem which is driving me nuts: I am trying to generate a quarterly time variable from 1954Q1 to now
When I implement some simple code in Stata, it just gives me an output that is 12 years earlier

My do-file:
Code:
cd "X:\My Downloads\X"

clear
import excel "X:\My Downloads\X\final data", sheet("Quarterly") firstrow

gen quarter=tm(1954Q1)+_n-1 
format quarter %tq  
tsset quarter
This rolls out:
Code:
. format quarter %tq  

. tsset quarter 
        time variable:  quarter, 1942q1 to 2009q1
                delta:  1 quarter
Any idea how to solve this?

Have a nice day,

Tim