1
$\begingroup$

In generalized DID (the DID apply for multiple groups and time periods), the author mentioned the group-fixed effect and I cannot understand it

In this paper, regarding generalized DID, the author has the model for control group is

$Y(0)_{gt}$ = $a_g$ + $b_t$ + $\epsilon_{gt}$

while $g$ $=$ $1...G$ to index cross-sectional units, from my understanding, it is about firm level. And $t$ $=$ $1...T$ to index time period.

I am wondering why $a_g$ is not firm-fixed effect but group-fixed effect, and what is the difference between firm-fixed effects and country-fixed effects?.

$\endgroup$
5
  • 1
    $\begingroup$ I did mean to say "firm" in my example. I adjusted the comment accordingly. But please note it doesn't matter. Typically, treatments occur at some aggregate level and we use fixed effects at that higher level. The level of aggregation could be at the individual, firm, state, or country level. $\endgroup$ Commented Jun 2, 2021 at 6:38
  • $\begingroup$ @Thomas Bilach, thank you for your clarification, I updated the question accordingly. $\endgroup$ Commented Jun 2, 2021 at 9:42
  • $\begingroup$ I don't get it. You're using "group" so many different ways. For one, what you call $Y(0)_{gt}$ is a model for the control group. So is there a "treatment" "group" as well? But then the variable $g$ from 1 to $G$ is "cross-sectional units". Meaning firms? (One would expect $g$ to mean group). $\endgroup$
    – AdamO
    Commented Jun 2, 2021 at 20:52
  • $\begingroup$ @AdamO Yes, there is a treatment group as well, and your last statement is true based on the description in this paper as well $\endgroup$ Commented Jun 2, 2021 at 23:11
  • 1
    $\begingroup$ Well, for my own knowledge, why did you write the potential outcomes notation for the control group? I thought the question was narrowly related to what $a_g$ represents? $\endgroup$ Commented Jun 3, 2021 at 2:36

1 Answer 1

3
$\begingroup$

The term "group" is a bit of a misnomer. The authors specify a model on page 457 to show how to estimate the "generalized" difference-in-differences equation in practice. Whether to use fixed effects at the country, state, county, zip code, school, or individual level is completely context-dependent.

For example, if a law is passed at the state level and we're interested in learning about its effects on state level outcomes over time, then I may specify $a_g$ as $a_s$, which denotes state fixed effects. Likewise, suppose a school lunch program was administered at the school level in one major U.S. county. Some schools within the county received the school lunch program and others did not. In this setting, $a_s$ denotes school fixed effects. And finally, suppose a police crackdown was instituted in one metropolitan city but it was administered at the district level. Some districts cracked-down harder on gun violence, but due to budgetary concerns the intervention could not be extended to all districts citywide. Some of the "other" unaffected jurisdictions may serve as controls. In this case, $a_d$ would denote district fixed effects.

The notation isn't as important as you actually describing to your audience what the parameters actually mean. The "group" fixed effects is technically referring to the panel unit. If the panel unit is firms observed over time and the policy impacts some firms and not others, then it is customary to estimate firm fixed effects. Suppose we observe 200 firms over many years. Only half receive some intervention midway through the panel. Technically, we only have two groups (i.e., treated/untreated), yet we wouldn't instantiate a simple treatment/control dummy. Instead, we estimate a full series of $N - 1$ effects. This results in 199 firm effects.

This is often confusing to read for the first time because we actually don't care much about the "group" in this more general setting. All we have is units $i$ (i.e., customers, universities, firms, precincts, counties, states, countries, etc.) equaling 1 if treated at time $t$, 0 otherwise.

I want to conclude with a quote from page 457 of the paper you referenced above:

In practice, researchers estimate the treatment effect parameter, $\delta$, using fixed effects regression models; they simply regress the observed outcome on the treatment variable and a full set of group- and time-fixed effects

The term "group" is used generically in the same way "time" is used. What are time fixed effects? What does time represent? Again, it's context-dependent! If we observe state level outcomes over 10 years and a state level policy, then we often say we're estimating state and year fixed effects. Similarly, if we acquired weekly gun fatalities in districts pre- and post-intervention, then we'd use district and week fixed effects. The purpose of replacing "group" with "district" and "time" with "year" is for clarity.

$\endgroup$
3
  • $\begingroup$ Thank you for your comprehensive answer with heaps of example, Thomas Bilach. I only have one curiosity about your statement: "Suppose we observe 200 firms over many years. Only half receive some intervention midway through the panel. Technically, we only have two groups (i.e., treated/untreated), yet we wouldn't instantiate a simple treatment/control dummy. Instead, we estimate a full series of $N - 1$ effects. This results in 199 firm effects." From my point of view, this setting can be done in a standard DID, why it leads to 199 firm effect then ? $\endgroup$ Commented Jun 2, 2021 at 23:40
  • 1
    $\begingroup$ You're correct. Given my hypothetical example, if all firms adopted a treatment midway through the panel at the same time, then you could estimate the "classical" difference-in-differences equation. The example I used was for explication purposes. I was simply trying to demonstrate how many firm effects you should estimate, not necessarily which estimator to use. $\endgroup$ Commented Jun 3, 2021 at 18:54
  • $\begingroup$ That's great, now I understand your point here. $\endgroup$ Commented Jun 4, 2021 at 3:20

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.