Dear Statalist,
I am examining quarterly data for an unbalanced panel of 11,000+ banks from 1996:Q1 to 2016:Q4 using Stata/IC. I am using a system gmm model through xtabond2. My regression code is as follows:
For completeness, variables q2_1997- q4_2016 are dummies for each quarter to introduce time fixed effects. I have included all bank-level variables as endogenous in the -gmm- option, and all other variables as instruments in the -iv- option.
I want to try the model using the following lag specifications:
If I remove the -collapse- suboption in the -gmm- option, with the following code:
I get the following error:
Why do these errors occur? xtabond2 seems very limited the detail of its error reporting.
I am examining quarterly data for an unbalanced panel of 11,000+ banks from 1996:Q1 to 2016:Q4 using Stata/IC. I am using a system gmm model through xtabond2. My regression code is as follows:
Code:
xtset id dateq xtabond2 LCCF l.LCCF T1RAT SIZE RISK ROE MS MNA COMP POP INCG GDPG UNEM FFR q2_1997- q4_2016, /// gmm(l.LCCF T1RAT SIZE RISK ROE MS MNA, lag(1 .) collapse) iv(COMP POP INCG GDPG UNEM FFR q2_1997- q4_2016) /// twostep robust small nodiffsargan
I want to try the model using the following lag specifications:
- lag(1 .)
- lag(2 .)
- lag(3 .)
Code:
J(): 3900 unable to allocate real <tmp>[1299463,588] xtabond2_mata(): - function returned error <istmt>: - function returned error
Code:
xtset id dateq xtabond2 LCCF l.LCCF T1RAT SIZE RISK ROE MS MNA COMP POP INCG GDPG UNEM FFR q2_1997- q4_2016, /// gmm(l.LCCF T1RAT SIZE RISK ROE MS MNA, lag(1 .)) iv(COMP POP INCG GDPG UNEM FFR q2_1997- q4_2016) /// twostep robust small nodiffsargan
Code:
J(): 3900 unable to allocate real <tmp>[1299463,588] xtabond2_mata(): - function returned error <istmt>: - function returned error
Why do these errors occur? xtabond2 seems very limited the detail of its error reporting.
Comment