Dear all, I very recently passed to Stata9 and therefore I was very
hopeful in the "speed improvements" of the new code. Unfortunately at
my first attempt I have encountered an error. I read from the email
of David Roodman that, if we got a red message it would probably be a bug
this is what I receive:
xtabond2_mata(): 3900 unable to allocate real <tmp>[45984,843]
<istmt>: - function returned error
I am trying to estimate the following equation following the notation
suggested to me by the author of the routine:
xtabond2 lev l.lev mtbv size1 mat1 collateral profitability ndts
year1-year24, gmm(lev mtbv size1 mat1 collateral profitability ndts,
lag (2 7) equation(diff)) gmm(lev mtbv size1 mat1 collateral
profitability ndts, lag(2 2)) iv(year1-year24, equation(level))
robust noc small twostep h(2)
this is a brief summary of the dataset I am using:
Last, I have a Pentium 4 3.2Giga with 1 Giga RAM memory.
My Stata9 is fully updated and I am using the most recent version of
xtabond2: 2.0.0 16Nov2005
I have searched in past Statalist for possible solutions to this
issue but I had no luck.
Is this a "bug"?. Is there a solution to this issue?
Thank you in advance for your kind attention.
Best Regards
Roberto
--David
David Roodman
Center for Global Development
Research Fellow
1776 Massachusetts Ave. NW
Suite 301
Washington, DC 20036 [email protected]
202-416-0723
fax: 413-410-2602
-----Original Message-----
From: Roberto Mura [mailto:[email protected]]
Sent: Monday, February 14, 2005 8:14 AM
To: David Roodman
Subject: RE: xtabond2
Dear David
first of all allow me to thank you for your kind reply.
I do in fact have the latest version but I still do not seem able to manage.
Here I do not specify the lag structure of the instruments for the
equation in levels....see the problem is that, for some reason I
don't quite get, Stata uses 1 instrument more than DPD in making the system.
I have tried to recreate the matrix instrument in excel just to be
sure and what I get is the same as DPD provides (84 instruments for
the GMM-SYS specified above) and so 70 dof in the Sargan test (Y X1
X2 X3 + 10 year dummies). Stata uses 81 instruments and so 71 dof in
the hansen stat. More interesting is the fact that, stata uses 5666
observations while DPD uses 5667.
The dataset has been thoroughly cleaned so there are no missing
observations anywhere.
Here are the info from Stata
Arellano-Bond dynamic panel-data estimation, two-step system GMM results
------------------------------------------------------------------------------
Group variable: code Number of obs = 5666
Time variable : year Number of groups = 673
Number of instruments = 85 Obs per group: min = 4
F(13, 672) = 1943.77 avg = 8.42
Prob > F = 0.000 max = 10
Furthermore, now with the new version of the command I cannot seem to
manage to get exactly the same results even for the GMM-DIFF....
I will stop here because I think I have taken too much of your time already.
I wish you a very nice day and thank you so much for your kind attention.
R