Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Jeff Wooldridge View Post
    I read a bit too quickly. Because you regress the interactions on the nonlinear functions it is not the same as the "forbidden regression." But the better way is to use X1hat*X3 as the IV for X1*X3 and X2hat*X3 as the IV for X2*X3. And you shouldn't have exclusion restrictions in your first stages.

    Code:
    reg X1 Z1 Z2
    predict X1hat
    reg X2 Z1 Z2
    predict X2hat
    ivregress 2sls Y X3 (X1 X2 c.X1#c.X3 c.X2#c.X3 = Z1 Z2 c.X1hat#c.X3 c.X2hat#c.X3, vce(r)
    Thank you, Prof. Wooldridge. Here Z1 is the instrument for X1 and Z2 for X2. Should we not keep just the relevant instrument instead of both the instruments when predicting X1hat and X2hat?

    Also, could you please suggest a reference that we could cite while using this approach for interaction terms with endogenous variables? Thanks.

    Comment


    • #17
      In linear regression, if a RHS variable is truly "irrelevant", its coefficient is zero. Whether you include or exclude it from the regression does not affect the coefficients of the other regressors. While the degrees of freedom may differ with inclusion or exclusion, this is negligible when dealing with a few regressors and a sufficiently large sample size. I recall a discussion of this method in Jeff's MIT Press book, so you can find the relevant chapter and cite it.

      Comment


      • #18
        I have a binary outcome (y1) with two endogenous variables (x1, x2) and I want to interact x1 with x3 (exogenous) and x2 with x4 (exogenous). I also have two instruments (z1, z2) and controls (c).

        The reduced form regression results seem to provide meaningful coefficients. However, the coefficient of x2 in the second stage (after instrumenting) is so high (greater than 1, -1.49 to be precise). I run the following regression: ivregress 2sls y1 x3 x4 c (x1 x2 x1#x3 x2#x4 = z1 z2 z1#x3 z2#x4), r.

        I have checked all the IV diagnostics and they seem fine. Any idea why this might be happening? Thank you.

        Comment


        • #19
          Tekalign: Without knowing details, my guess is you didn't center all variables about their means before creating the interactions. But it could also relate to the units of measurement of x2.

          Comment


          • #20
            Thank you, Prof. Wooldridge. Yes, I have not centered the variables. Regarding the unit of measurement, both X1 and X2 are dummies, while X3 and X4 are continuous variables. All the controls (c) are at their baseline (for the survey of four rounds).

            I just also tried after centering all the vars around their means and the coefficient of the main effect of X2 (dummy) is still high, 1.47.
            Last edited by Tekalign Gutu; 18 May 2024, 14:53.

            Comment


            • #21
              I also tried after centering all the vars around their means and the coefficient of the main effect of X2 (dummy) is still high, 1.47.

              Comment

              Working...
              X