2
$\begingroup$

I was hoping someone could help clarify a notational discrepancy.

For example, Lord Pischke uses the following sigma notation in two different lecture notes published on the web, yet refers to the limits in disparate ways. The first (Version 1 see page 7) is reproduced below:

$$ y_{ist} = \gamma_s + \lambda_{t} + \sum_{j=-m}^{q}{\beta_{j}} D_{st}(t = k + j) + X_{ist} \delta + \epsilon_{ist}. $$

The second (Version 2 see slide 9) is also reproduced below:

$$ y_{ist} = \gamma_s + \lambda_{t} + \sum_{j=-m}^{q}{\beta_{j}} D_{st+j} + \epsilon_{ist}. $$

The structure is the same. The $k$ in the former equation is the time at which treatment is switched on in state $s$. This formulation can generalize to any number of leads or lags of the treatment variable. Referring to the former equation, Pischke indicates that $m$ is the lead and $q$ is the lag. While in the latter specification his lecture notes report the opposite, indicating $m$ is the lag and $q$ is the lead. I believe the latter interpretation is correct. To illustrate, $D_{s,t-1}$ is the treatment variable lagged by one period. I am not sure if this is a mistake on his part.

The impetus for this question stems from another post (see below) where Andy recommended interacting pre-intervention time dummies with a treatment indicator. Negative subscripts could be used to indicate months leading up to a policy change, and do not necessary indicate "lags" in the traditional sense.

For example, assuming we have an arbitrary number of $k$ periods before some policy change, then $\sum_{t=-k}^{0}{\beta_{t}}$ is a parsimonious way of indicating we want to estimate separate dummies for each time period approaching the baseline (i.e., $t = 0$).

Questions:

  1. Is the interpretive discrepancy between the two equations an oversight on Pischke's part?
  2. Is a negative in the lower limit of a summation always indicative of a lag, or could it be used to denote pre-period time dummies?

Difference in Difference method: how to test for assumption of common trend between treatment and control group?

$\endgroup$

1 Answer 1

2
$\begingroup$

$m$ is the lag (post-treatment effects) and $q$ is the lead (anticipatory effects) in the Mostly Harmless book. I have always found this lead/lag terminology unnatural, but lead makes sense if you consider it a leading indicator. Lag makes sense if you think of the effect lagging treatment.

The time dummies are the $\lambda$s. You can think of D as the set of "ever treated" x time dummies interactions (though possibly not all the possible interactions).


Edit Elaborating on @n_arch's Question in the Comments:

I also find this very confusing.

In MHE book, equation 5.2.6 on page 237 is $$Y_{ist}=\gamma_s + \lambda_t + \sum_{\tau =0}^{m}\delta_{-\tau} \cdot D_{s,t-\tau}+ \sum_{\tau = 1}^{q}\delta_{+\tau} \cdot D_{s,t+\tau}+X'_{ist}\beta + \varepsilon_{ist},$$ where $m$ denotes the lags or post-treatment effects, and $q$ indexes the leads or anticipatory effects.

Let me give an example. Suppose state $s$ was treated at $t=5,6,7$ and untreated in all other periods ($0-4$ and $8-12$). If $m=q=4$, then at time $t$, you have $$D_{s,t}, D_{s,t-1}, D_{s,t-2}, D_{s,t-3}, D_{s,t-4}$$ as well as $$D_{s,t+1}, D_{s,t+2}, D_{s,t+3}, D_{s,t+4},$$ which indicate if state $s$ was treated at time $t$, in each of the previous 4 periods (4 lags), and will be treated in the following four periods (4 leads).

This data should look something like this (dropping the $s$ subscript):

\begin{array}{c|c|c|c|c|c|c|c|c|c|c} t & D_{t-4} & D_{t-3} & D_{t-2} & D_{t-1} & D_t & D_{t+1} & D_{t+2} & D_{t+3} & D_{t+4} \\ \hline 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & \mathbf{1} \\ 2 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & \mathbf{1} & \mathbf{1} \\ 3 & 0 & 0 & 0 & 0 & 0 & 0 & \mathbf{1} & \mathbf{1} & \mathbf{1} \\ 4 & 0 & 0 & 0 & 0 & 0 & \mathbf{1} & \mathbf{1} & \mathbf{1} & 0 \\ \hline\hline % Thicker horizontal line before t=5 5 & 0 & 0 & 0 & 0 & \mathbf{1} & \mathbf{1} & \mathbf{1} & 0 & 0 \\ 6 & 0 & 0 & 0 & \mathbf{1} & \mathbf{1} & \mathbf{1} & 0 & 0 & 0 \\ 7 & 0 & 0 & \mathbf{1} & \mathbf{1} & \mathbf{1} & 0 & 0 & 0 & 0 \\ \hline\hline % Thicker horizontal line after t=7 8 & 0 & \mathbf{1} & \mathbf{1} & \mathbf{1} & 0 & 0 & 0 & 0 & 0 \\ 9 & \mathbf{1} & \mathbf{1} & \mathbf{1} & 0 & 0 & 0 & 0 & 0 & 0 \\ 10 & \mathbf{1} & \mathbf{1} & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 11 & \mathbf{1} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 12 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ \end{array}

Hopefully, that makes the leads and lags part clearer.

What makes the lag coefficients post-treatment effects? These coefficients tell you if the outcome today depends on being treated today or in previous periods.

Similarly, the coefficients on the leads tell you if the outcome today depends on being treated in the near future.

Note that these are relative to $t$, so you can think of applying the lead or lag operators to the "treated at time $t$" indicator $D_t$.

$\endgroup$
9
  • $\begingroup$ It does seem unnatural. I recently wanted to demonstrate a pre-specification test. I used a summation to parsimonious show the interaction of treatment, $T_{s}$, with the pre-period dummies. See the following, $y_{st} = \gamma T_{s} + \sum_{t=-k}^{0}{\beta_{t}} (T_{s} \times Pre_{t}) + \epsilon_{st}$. The $k$ in the lower limit is to show that it could generalize to any number of periods before treatment. Is there a better way to subscript $\beta$ without confusing anyone? Or, would you recommend using an indicator function? $\endgroup$ Commented Aug 29, 2019 at 23:29
  • $\begingroup$ This seems clear to me, though personally I like the policy dummy D notation (the policy dummy is simply defined to be unity for groups and time periods subject to the policy). I think you should also have a summation for the lambdas and a t subscript for them (each time dummy should have its own coefficient). $\endgroup$
    – dimitriy
    Commented Aug 29, 2019 at 23:35
  • $\begingroup$ I denoted the $\lambda's$ as follows: $y_{st} = \gamma T_{s} + \sum_{t=-k}^{0}{\lambda_{t}} Pre_{t} + \sum_{t=-k}^{0}{\beta_{t}} (T_{s} \times Pre_{t}) + \epsilon_{st}.$ And, if I understand you correctly, you mean $D$ as in the result of the interaction ($s$*$t$)? $\endgroup$ Commented Aug 29, 2019 at 23:52
  • $\begingroup$ Yes to both questions. $\endgroup$
    – dimitriy
    Commented Aug 29, 2019 at 23:54
  • $\begingroup$ Old question, but I am still wondering: If we defined the dynamic twfe dummies as $1(t=k+j)$ and j takes on one of the m negative values, then this observation would be before the treatment time. How is this then a lag (post-treatment effect)? $\endgroup$
    – n_arch
    Commented Oct 30 at 20:21

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.