Hi Sebastian Kripfganz ,
I used two step system GMM for my main regression analysis , I read "Generalized method of moments estimation of linear dynamic panel-data models" but still struggle to apply this to my model.
Data structure :
- Unbalanced panel data from 2006 to 2020 with 6,120 observations
The used command:
My questions :
1. Is the command is correct because I am struggling with gmm( ) and iv( ) , I mean I can treat the variables as endogenous and exogenous and if it is not correct what is the possible suggestions ? using lags and for what is the appropriate lags?
2. I don't know why the number of observations reduced to half from 6120 to 3328 ? is there any other method to maintain the number of observations ?
3. There is an error message that "2006b.fyear dropped due to collinearity" "2011.fyear dropped due to collinearity" "1b.ind_group_dum dropped due to collinearity", I don't understand the reason for this ?
Could you please provide any suggestions or the correct version that I can use for my model


I used two step system GMM for my main regression analysis , I read "Generalized method of moments estimation of linear dynamic panel-data models" but still struggle to apply this to my model.
Data structure :
- Unbalanced panel data from 2006 to 2020 with 6,120 observations
The used command:
Code:
xtabond2 vardep l.vardep var1 var2 var3 var4 var5 var6 var7 var8 var9 i.fyear i.ind_group_dum, gmm(l.l.vardep var1 var2 var3 var4 var5 var6 var7 var8 var9,collapse) iv( var2 var3 var4 var5 var6 var7 var8 var9 i.fyear i.ind_group_dum, equation(level)) nodiffsargan twostep robust orthogonal small
1. Is the command is correct because I am struggling with gmm( ) and iv( ) , I mean I can treat the variables as endogenous and exogenous and if it is not correct what is the possible suggestions ? using lags and for what is the appropriate lags?
2. I don't know why the number of observations reduced to half from 6120 to 3328 ? is there any other method to maintain the number of observations ?
3. There is an error message that "2006b.fyear dropped due to collinearity" "2011.fyear dropped due to collinearity" "1b.ind_group_dum dropped due to collinearity", I don't understand the reason for this ?
Could you please provide any suggestions or the correct version that I can use for my model
Comment