Announcement

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

  • Compute Double Discrete Difference of Two Interaction Terms

    Dear all,

    I am referring to the following paper in this post:

    INTERACTION TERMS IN POISSON AND LOG LINEAR REGRESSION MODELS - Shang - 2018 - Bulletin of Economic Research - Wiley Online Library

    I would like to run a difference-in-difference using Poisson Pseudo-Maximum Likelihood.

    Suppose the equation is: E(Y | X, d1, d2) = exp(X*B1 + B2*d1 + B3*d2 + B4*d1*d2)

    Suppose d1 and d2 denote the treatment status and timing indicator, respectively. Then the difference in d2 goes first and the difference in d1 goes second (Athey and Imbens, 2006).

    Following Ai and Norton (2003), the coefficient on the treated*post cannot be interpreted directly as a meaningful quantity. We must take the discrete double difference, which will correspond to a difference in semi-elasticities.

    This will be equal to exp(B2 + B4) - exp(B2). So we would use
    Code:
    nlcom (exp(_[bX4]+_[bX2]) - exp(_b[X2])
    However, suppose we run the following command (from ssc):
    Code:
    ppmlhdfe Y d1*d2, abs(treated time) cluster(id)
    We will only have B4 from the equation written above. Not B2. How do we proceed to compute the difference in semi-elasticities now?

  • #2
    Check whether the following open access article serves your purposes: "ginteff: A generalized command for computing interaction effects", by Marius Radean, Stata Journal, Volume 23, Issue 2, https://doi.org/10.1177/1536867X231175253

    Comment


    • #3
      I will give it a look, thank you very much!

      Comment

      Working...
      X