Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: ivreg2 not possible with two endogenous variables???


From   "Austin Nichols" <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: ivreg2 not possible with two endogenous variables???
Date   Sun, 30 Dec 2007 07:53:21 -0500

Nirina F <fstata@gmail.com>:
As is clear from the help file, and the examples therein, the correct syntax is
 ivreg2 y $x (v1 v2=$z1 $z2)
Note that all excluded instruments in $z1 $z2 are used as exogenous
variation for all endogenous variables.

On Dec 30, 2007 4:57 AM, Nirina F <fstata@gmail.com> wrote:
> Hello All,
>
> I tried to run the following:
>
> ivreg2 y $x (v1=$z1) (v2=$z2) where y is the dependent variable, $x
> are the control variables, v1 is the first endogenous variable, v2 is
> the second variables and the z 's are the instruments, but it did not
> work so I was wondering if anyone knows which command should I use if
> I have two endogenous variables .
*
*   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/



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