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
Using -expand- to duplicate multiple rowsI have data that look like the following: Code: * Example generated by -dataex-. To install: ssc i…
Problem regarding the creation of an independent variableHi all, For my Master thesis, I used Qualtrics for an online experiment and within this experiment …
Calculating CIs after mixed-effects poissonHi all, I'm trying to graph the results of a mixed-effects poisson model and have come across some i…
Invalid name error when using count and putexcelHi there, I am running Stata/SE 16.0 and my data looks like this: Code: * Example generated by -d…
Changing titles on side-by-side bar graphsHi All, I'm trying to create a side-by-side bar graph, as per below (note dummy variable labels inc…
Subscribe to:
Post Comments (Atom)
0 Response to Combine 2 variables 'year', 'month' into 1 quarterly variable
Post a Comment