In a panel setup, I am trying to regress GDP per capita growth on the change in the ratio of the population above 50 to those between the ages of 20 and 49 as I have seen in a 2017 Acemoglu, Restrepo paper (https://doi.org/10.1257/aer.p20171101).
By using interaction terms, I am trying to find out whether different country groups, and ideally countries, have different slopes.
When I interact with a country group dummy variable (say taking the value 1 if country belongs to Europe) everything works fine and I get a result (I included i.EUR here although I know that it will drop out due the fe estimation, i.e it is collinear with country-specific dummies).
However, when I interact with a country dummy, that interaction also drops out and I get the message "1.GBR#c.pop55ratio omitted because of collinearity"
I do not see why in the case of one country there is perfect collinearity, but in the case of country groups there is not?
By using interaction terms, I am trying to find out whether different country groups, and ideally countries, have different slopes.
When I interact with a country group dummy variable (say taking the value 1 if country belongs to Europe) everything works fine and I get a result (I included i.EUR here although I know that it will drop out due the fe estimation, i.e it is collinear with country-specific dummies).
Code:
xtreg D.lnYL i.EUR pop50ratio i.EUR#c.pop50ratio, fe
Code:
xtreg D.lnYL i.GBR pop50ratio i.GBR#c.pop50ratio, fe
Comment