Instrumental variable in logistics regression in R (ivreg in AER)
<p>Does ivreg in AER support a logit regression with instrumental variables?</p>

<p>For example:</p>

<pre><code>IV = ivreg (Mort ~ Age + Sex + APACHE + PART_SendImmed + ICU_AdmImmed + ICU_LOS | Age + Sex + APACHE + PART_SendImmed + NurseOCC_Adm + NurseOCC_Disch,
    data = test)
</code></pre>

<p>Where, <code>Mort</code> is a binary variable
<code>ICU_AdmImmed</code> and <code>ICU_LOS</code> are endogenous variables, and
<code>NurseOCC_Adm</code> and <code>NurseOCC_Disch</code> are two instrumental variables.</p>