Hi,
I have a longitudinal data set, which contains the monthly information. Required to convert from monthly to quarterly data. Data is, now, in the following format. How can I do it?
Any kind of advice appreciated.
input str134 B str4 D str12 E str38 Columns float ID
"B. (Mining And Quarrying)" "2007" "01-January" "63.7" 2
"B. (Mining And Quarrying)" "2007" "02-February" "61.5" 2
"B. (Mining And Quarrying)" "2007" "03-March" "67.7" 2
"B. (Mining And Quarrying)" "2007" "04-April" "73" 2
"B. (Mining And Quarrying)" "2007" "05-May" "78.59999999999999" 2
"B. (Mining And Quarrying)" "2007" "06-June" "80.8" 2
"B. (Mining And Quarrying)" "2007" "07-July" "86.59999999999999" 2
Related Posts with Conversion from monthly to quarterly data
teffects ipwra and diff-in-diff with inverse probability weightingI am evaluating the impact of a project with NON-RANDOMIZED multiple interventions (3 treatment grou…
Panel data instrumental variable analysisHello, I am trying to conduct a panel data IV analysis using the xtivreg command in Stata 15.1. I …
Controlling the format of scalars in return listIs there a way of controlling how scalars in the return list of a function are displayed, i.e. their…
mnsp command to use twang with stataHi everybody, I am trying to use the mnps command in stata to access twang to generate propensity sc…
Sample size for equivalence trial for cluster randomized trialI want to calculate the required sample size for an equivalence trial, which is a sub-trial within t…
Subscribe to:
Post Comments (Atom)
0 Response to Conversion from monthly to quarterly data
Post a Comment