Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Question about ivreg -- HELP ME OUT

From   Mark Schaffer <[email protected]>
To   [email protected], Frank Zhang <[email protected]>
Subject   Re: st: Question about ivreg -- HELP ME OUT
Date   Sun, 20 Jun 2004 19:45:16 +0100 (BST)


Quoting Frank Zhang <[email protected]>:

> 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
> 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
> instruments?

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:
> *
> *
> *

Prof. Mark Schaffer
Director, CERT
Department of Economics
School of Management & Languages
Heriot-Watt University, Edinburgh EH14 4AS
tel +44-131-451-3494 / fax +44-131-451-3008
email: [email protected]


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:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index