Hello everyone,
my name is Antonio, I'm new to the forum and only a beginner in the application of econometric techniques. Having said that, please forgive me any missing in the presentation of my model.
I'm trying to estimate the effect of State investments on regional GDP. The model runs over 12 years (2007-2018) and comprises 21 regions for 252 observations overall. Given the endogeneity of investments on GDP, I'm trying to use a historical instrumental variable (nr of beds in healthcare facilities in 1978 per 1000 inhabitants) as a measure of State investments in the past in each region. The problem is, I don't manage to xtivregress on each region individually (id). I tried with a loop but I'm quite sure that I have misspecified the command. I would also like to save the coefficients of each variable inserted in the regression. I'm using random effects and holding constant 10 other variables besides investments. Any help would be highly appreciated. Thank you.
my name is Antonio, I'm new to the forum and only a beginner in the application of econometric techniques. Having said that, please forgive me any missing in the presentation of my model.
I'm trying to estimate the effect of State investments on regional GDP. The model runs over 12 years (2007-2018) and comprises 21 regions for 252 observations overall. Given the endogeneity of investments on GDP, I'm trying to use a historical instrumental variable (nr of beds in healthcare facilities in 1978 per 1000 inhabitants) as a measure of State investments in the past in each region. The problem is, I don't manage to xtivregress on each region individually (id). I tried with a loop but I'm quite sure that I have misspecified the command. I would also like to save the coefficients of each variable inserted in the regression. I'm using random effects and holding constant 10 other variables besides investments. Any help would be highly appreciated. Thank you.

Comment