Hi everyone,
I have this quarter variable that looks like "q11962" but it is in a string format. How can I turn it into a stata quarter variable? Following is a sample of how the variable looks like: the variable quarter is in string format.
Many thanks!!
quarter GDP
q11961 342,687
q11962 374,518
q11963 392,297
q11964 423,930
q11965 445,966
q11966 476,611
q11967 491,587
q11968 509,913
q11969 545,634
q11970 565,257
I have this quarter variable that looks like "q11962" but it is in a string format. How can I turn it into a stata quarter variable? Following is a sample of how the variable looks like: the variable quarter is in string format.
Many thanks!!
quarter GDP
q11961 342,687
q11962 374,518
q11963 392,297
q11964 423,930
q11965 445,966
q11966 476,611
q11967 491,587
q11968 509,913
q11969 545,634
q11970 565,257
Comment