Skip to content

Commit 245982d

Browse files
committed
add admonition box about the parallel trends assumption + add glossary term
1 parent 2b31999 commit 245982d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docs/source/glossary.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ Glossary
5353
One-group posttest-only design
5454
A design where a single group is exposed to a treatment and assessed on an outcome measure. There is no pretest measure or comparison group.
5555

56+
Parallel trends assumption
57+
An assumption made in difference in differences designs that the trends (over time) in the outcome variable would have been the same between the treatment and control groups in the absence of the treatment.
58+
5659
Panel data
5760
Time series data collected on multiple units where the same units are observed at each time point.
5861

docs/source/quasi_dags.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,11 @@
331331
"\n",
332332
"The causal effect of the treatment upon the outcome is typically estimated by fitting a regression model of the form `y ~ time + group + time:group`. The interaction term `time:group` captures the causal effect of $Z \\rightarrow Y$. \n",
333333
"\n",
334-
"We can note that this interaction term $\\text{time} \\times \\text{group}$ encodes the values of $Z$, which as we said above, is equal to 1 for only the treatment group at time 1. So another way to think about the inclusion of an interaction effect is that we are simply conditioning on all the observed data ($Z$, $\\text{time}$, $\\text{group}$, $Y$) to estimate the causal effect of $Z \\rightarrow Y$."
334+
"We can note that this interaction term $\\text{time} \\times \\text{group}$ encodes the values of $Z$, which as we said above, is equal to 1 for only the treatment group at time 1. So another way to think about the inclusion of an interaction effect is that we are simply conditioning on all the observed data ($Z$, $\\text{time}$, $\\text{group}$, $Y$) to estimate the causal effect of $Z \\rightarrow Y$.\n",
335+
"\n",
336+
":::{warning}\n",
337+
"Achieving an unbiased estimate is strongly dependent upon the {term}`parallel trends assumption`. That is, we assume that the treatment and control groups would have followed the same trajectory (over time) in the absence of treatment. This is a strong assumption and should be carefully considered when interpreting the results of a difference-in-differences study. In the case of the classic 2$\\times$2 design we cannot assess the validity of this assumption empirically, so it is important to consider the plausibility of this assumption in the context of the particular example. \n",
338+
":::"
335339
]
336340
},
337341
{

0 commit comments

Comments
 (0)