2
$\begingroup$

I want to test the following hypotheses with a difference in differences (DiD) OLS model: 1. The post grant effect on the dependent variable is stronger for patents with at least one rejection than for patents with no rejection. 2. This interaction effect is increased if at least one assignee has its base origin outside the US.

I already constructed one time variable (pre grant = 0, post grant = 1), and two treatment variables: rejection variable (received at least one rejection = 1, received no rejection = 0) and origin variable (US origin = 1, non-US origin = 0). Furthermore, I have several control variables.

How do I have to include these three independent variables? In a conventional DiD (e.g. post and one treatment variable), I include both variables separately as well as their product. But how do I have to do this with two treatment variables? Include all variables separately, all pairwise products (i.e. post x treatment 1, post x treatment 2 and treatment 1 x treatment 2) and the product of all three?

$\endgroup$

1 Answer 1

3
$\begingroup$

Let $x_{it}$ denote after rejection, $z_{it}$ denote after granted, $y_{it}$ the outcome, and $w_i$ is US origin (which should not change over time and doesn't have a $t$ subscript).

The two-way fixed effect implementation would be,

$$y_{it} = \beta_0 +\beta_1 x_{it} +\beta_2 z_{it} +\beta_3 x_{it}z_{it}+\beta_4 x_{it}w_i +\beta_5 z_{it}w_i +\beta_6 x_{it}z_{it}w_i+ a_i +c_t +\varepsilon_{it}$$

The fixed effect $a_i$ will capture the binary varaible for $w_i$, you don't need to control for it separately. The fixed effect will also capture the effect of being a patent that is ever granted or ever rejected.

Please let me know if this seems weird. I don't think I fully understand your setting.

Also, there is recent literature that the two-way fixed effect diff-in-diff estimator has bias if there are heterogeneous treatment effects and timing (Sun and Abraham 2021). The specification I wrote above is a good starting point to analysis. If you are an undergrad, it should be fine. If you are a graduate student or higher, you will want to consider the alternative estimator that Sun and Abraham developed.

$\endgroup$
4
  • $\begingroup$ Thank you for this comment. However, I am not sure if I capture the interaction effect of the origin variable on the grant x rejection variable with this formula. From my perception, including the origin variable only as separate variable without interaction effect would affect the shift of the curve but not its slope. However, it is the slope of the curve I am interested in. $\endgroup$ Jun 2, 2022 at 9:36
  • 1
    $\begingroup$ I added in interactions with $w_i$. Is this what you mean? $\endgroup$ Jun 2, 2022 at 11:50
  • 1
    $\begingroup$ Yes exactly, it this the way it should be? $\endgroup$ Jun 2, 2022 at 12:10
  • 1
    $\begingroup$ If I understand your question correctly, yes. $\endgroup$ Jun 3, 2022 at 10:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.