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!
Related Posts with Combine 2 variables 'year', 'month' into 1 quarterly variable
import many files and generate an `id' variable as the file name.Dear All, Suppose that I have the following 3 files (in fact, about 4,000 similar files). The file n…
Binary Response ModelI want to estimate the probability of authoritarian leadership failure as a function of five explana…
Analysing multiple response variablesI want to analyse the relationship (using Chi-square test) between (AgeNEW, Gender) Vs (Q42-producti…
GSEM errorHello, Am trying to use gsem probit and finf the following errors: HTML Code: _gsem_d2Sigma_d…
Winsor2 only for one yearHello everybody, I have a dataset with many years and want to use winsor2 only for the year 2011 (I…
Subscribe to:
Post Comments (Atom)
0 Response to Combine 2 variables 'year', 'month' into 1 quarterly variable
Post a Comment