Hi there, I'm trying to understand how to correctly specify the gmm-style instrument generation in Xtabond2, when I have to use deeper lags of the dependent variable to ensure the null for the Arellano-Bond test for AR(2) in first differences can safely NOT be rejected - i.e. ensuring no first-order serial correlation in levels.
I basically just want to lag by one year and upwards for each independent variable, but now my lagged dependent variable is both L1 and L2, so I guess I want one set of instruments that goes L2, L3, L4, L5 and another that goes L3, L4, L5 - If I understand correctly?
Here's a simplified version of my code:
Is my lag-specification correct in the GMM-style instrument specification?
I basically just want to lag by one year and upwards for each independent variable, but now my lagged dependent variable is both L1 and L2, so I guess I want one set of instruments that goes L2, L3, L4, L5 and another that goes L3, L4, L5 - If I understand correctly?
Here's a simplified version of my code:
Code:
xtabond2 y L(1/2).y L.x1 x2 yr*, gmm(L(1/2).y L.x1, laglimits(1 5) collapse) iv(x2 yr*) twostep robust small
Comment