The data is currently monthly data. I would like to find the average of the 12 months into a yearly data. At the same time I need to have that number for each of the 1947.
input float year double CPIAUCSL
1947 21.48
1947 21.62
1947 22
1947 22
1947 21.95
1947 22.08
1947 22.23
1947 22.4
1947 22.84
1947 22.91
1947 23.06
1947 23.41
How could I do this?
Related Posts with How do you change frequency of data
Looping with lagged valuesI'm new to Stata and would highly appreciate any help. I have a panel data. I want to implement for…
Stata 16 - Drop just variables and observationsI had Stata 14 and used drop _all command to drop just the variables/observations but keep all the r…
Unintelligible code in Stata 16Dear Stata users, I use community-contributed command -tabout- (SSC, written by Ian Watson) to expor…
STATA: panel regression, xtset error, CUSIP8-code, string variableDear all, I am trying to complete a panel data regression with the individual and time identifiers:…
Correlation structure of xtgee: tests of statistical significanceHello Statalisters, I'm using Stata 15.1. My question relates to the "xtgee" commands (in particula…
Subscribe to:
Post Comments (Atom)
0 Response to How do you change frequency of data
Post a Comment