I have a problem on ivreg2 command.
I have downloaded it recently, but I fail to use it. Once I use it,
there is an error message.
unexpected end of file
(error occurred while loading ivreg2.ado)
r(612);
What is that mean? How can I fix it?
Thank you very much!!
. ivreg mhra (lmwagea mnlinc = meduy2 meduy3 mage mage2) meduy mage
Instrumental variables (2SLS) regression
Source | SS df MS Number of obs
= 2794
-------------+------------------------------ F( 4, 2789) =
14.16
Model | 579212.603 4 144803.151 Prob > F =
0.0000
Residual | 5725379.09 2789 2052.84299 R-squared =
0.0919
-------------+------------------------------ Adj R-squared =
0.0906
Total | 6304591.70 2793 2257.2831 Root MSE =
45.308
------------------------------------------------------------------------------
mhra | Coef. Std. Err. t P>|t| [95% Conf.
Interval]
-------------+----------------------------------------------------------------
lmwagea | -9.823067 19.61319 -0.50 0.617 -48.28091
28.63477
mnlinc | .0315528 .1283762 0.25 0.806 -.2201692
.2832748
meduy | -1.003839 1.868929 -0.54 0.591 -4.668463
2.660785
mage | -.4121991 .1835253 -2.25 0.025 -.7720581
-.05234
_cons | 231.8618 5.774763 40.15 0.000 220.5385
243.185
------------------------------------------------------------------------------
Instrumented: lmwagea mnlinc
Instruments: meduy mage meduy2 meduy3 mage2
------------------------------------------------------------------------------
. ivreg2 mhra (lmwagea mnlinc = meduy2 meduy3 mage mage2) meduy mage
unexpected end of file
(error occurred while loading ivreg2.ado)
r(612);
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/