Chau Tak Wai,
Date sent: Tue, 25 Feb 2003 22:50:24 +0800
From: Chau Tak Wai <[email protected]>
Organization: CUHK
To: Statalist <[email protected]>
Subject: st: Problems on ivreg2
Send reply to: [email protected]
> I have a problem on ivreg2 command.
>
> I have downloaded it recently,
How did you download it? Most likely you did it "by hand", copying
it to an ado folder.
Try deleting this copy and then installing it from within Stata
using, e.g., -net install-.
--Mark
> 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/
Prof. Mark E. Schaffer
Director
Centre for Economic Reform and Transformation
Department of Economics
School of Management & Languages
Heriot-Watt University, Edinburgh EH14 4AS UK
44-131-451-3494 direct
44-131-451-3008 fax
44-131-451-3485 CERT administrator
http://www.som.hw.ac.uk/cert
*
* 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/