Dear Stata People,
I am currently making a Panel data research on growth-volatility relationship (20 years, 103 countries) and I need to use Initial income variable in my Regression ( I search for an random effect).
I calculate the growth rates of GDP per cap using this command:
sort id year
by id: gen lgdp1 = log(rgdpl)
sort id year
by id: gen lgdp2= lgdp1[_n-1]
gen growth = lgdp1 - lgdp2
I calculate volatility using sdev of the growth
When I run the regression
xtreg growth vol lgdpl1, re
I obtain an Initial income (lgdp1) value of - 0.05 . The problem is normaly in that case I should get a value of -0.005. The rest of my results are normal. Does anyone have a sujections about this result or find a mistake in my way of calculation?
Best Regards,
Mira
I am currently making a Panel data research on growth-volatility relationship (20 years, 103 countries) and I need to use Initial income variable in my Regression ( I search for an random effect).
I calculate the growth rates of GDP per cap using this command:
sort id year
by id: gen lgdp1 = log(rgdpl)
sort id year
by id: gen lgdp2= lgdp1[_n-1]
gen growth = lgdp1 - lgdp2
I calculate volatility using sdev of the growth
When I run the regression
xtreg growth vol lgdpl1, re
I obtain an Initial income (lgdp1) value of - 0.05 . The problem is normaly in that case I should get a value of -0.005. The rest of my results are normal. Does anyone have a sujections about this result or find a mistake in my way of calculation?
Best Regards,
Mira
Comment