I am examining one country over a period of 10 years. I am interested to see whether GDP_growth had a heterogeneous effect on wages across people with different educational background. The code below show my model. My question is whether it is plausible to use the gdp_growth in this design? If not, is there any alternative?
In Stata:
xtset id year, yearly
xtreg wage age sex i.educ##c.gdp_growth, fe
In R
plm(wage ~ age + sex + educ + educ*gdp_growth, data=df,
index=c("id", "year"), model="within")