Hello Stata Community,
I am trying to compute the growth rates of gdp per capita per country as shown below. How can this be done in Stata?
Furthermore,I am trying to compute 5-year non-overlapping average growth rates from gdp per capita on an unbalanced panel.
The five year framework starts from 1990 to 2018(so, 1990-1994 ;1995-1999 and so on).
Since my dataset is unbalanced, i choose to take the 5-year average if the number of observations is at least 3 within each 5-year period.How can this be implemented in Stata?
Moreover, I also have public spending variables as shown below. How can I use Stata so that all the public spending items take the initial values in each period/framework?
Thank you for your help!
KR,
KD
My data looks as follows(as an example):
country year gdp_pc educ_exp health_exp ............
Ireland 1990 5465 13% 5%
Ireland 1991 4545 8% .
Ireland 1992 7536 4% 7%
Ireland 1993 8526 6% .
Ireland 1994 9635 . .
Ireland 1995 . . .
Ireland 1996 4%
Ireland 1997 .
Malta . . . .
Malta . . . 5%
Malta . . 6% .
Malta .
Malta . . . .
.
.
.
Related Posts with How to generate growth rates in a 5 year framework on unbalanced panel data?
Measuring change in logistic random effects modelHi! I am doing a longitudinal analysis on the effects of firm contexts/practices on employees' rela…
How can I export both variable label and variable name to excel from stataHi everyone, I would like to export both variable label and variable name with data to excel from st…
Compare multiple regression coefficients across regression modelsHi guys, I want to compare coefficients across two different regression models. I found a useful in…
comparing two resultsHi every one I got a revision regarding to my analysis result i showed my results by distinguishing …
Creating output table with interquartile range of Y after regression Code: sysuse auto.dta, clear eststo: ivreghdfe mpg (weight=trunk) foreign [aw=length] estadd ysumm…
Subscribe to:
Post Comments (Atom)
0 Response to How to generate growth rates in a 5 year framework on unbalanced panel data?
Post a Comment