[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Question about ivreg -- HELP ME OUT
Quoting Frank Zhang <firstname.lastname@example.org>:
> Dear STATALISTERS,
> I have 2 questions about the working of inreg and
> 2SLS. It may seem basic to you, but I really need
> clarification on that.
> Here is the code:
> use http://fmwww.bc.edu/ec-p/data/wooldridge/MROZ
> ivreg lwage (educ = fatheduc ) * 1st command
> reg lwage educ (educ fatheduc) * 2nd command
> Question1: why the 1st and 2nd commands give different
> answers since they are both regression with
It's because you're using the old and not entirely intuitive reg syntax
incorrectly. Because educ is in the instrument list, it's treated as
exogenous. To get the same results, use the following:
regress lwage educ (fatheduc)
> reg educ fatheduc
> predict educpred
> reg lwage educpred * 3rd command
> Question 2: why the 3rd command gives answers
> different than those from either 1st command or 2nd
> command since regression with instruments is
> essentially 2SLS?
Because the samples are different. Your first stage is based on 753 obs,
your second is based on 428. Limit the first stage to the same 428 obs
and you'll get the same results as ivreg.
Shameless self-promotion: check out ivreg2.
> Thank you very much for clarification!
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> * 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 Schaffer
Department of Economics
School of Management & Languages
Heriot-Watt University, Edinburgh EH14 4AS
tel +44-131-451-3494 / fax +44-131-451-3008
This e-mail and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom it is addressed. If you are not the intended recipient
you are prohibited from using any of the information contained
in this e-mail. In such a case, please destroy all copies in
your possession and notify the sender by reply e-mail. Heriot
Watt University does not accept liability or responsibility
for changes made to this e-mail after it was sent, or for
viruses transmitted through this e-mail. Opinions, comments,
conclusions and other information in this e-mail that do not
relate to the official business of Heriot Watt University are
not endorsed by it.
* For searches and help try: