Skip to content

Commit 6dfe7b7

Browse files
committed
add design notation docs page
1 parent 00dc744 commit 6dfe7b7

File tree

2 files changed

+93
-2
lines changed

2 files changed

+93
-2
lines changed

docs/source/design_notation.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Experimental design notation
2+
3+
This page provides a concise summary of the tabular notation used by Shadish Cook & Campbell (2002) and Reichardt (2009). This notation provides a compact description of various experimental designs. While it is possible to describe randomised designs using this notation, we focus purely on quasi-experimental designs here, with non-random allocation (abbreviated as `NR`). Observations are denoted by $O$. Time proceeds from left to right, so observations made through time are labelled as $O_1$, $O_2$, etc. The treatment is denoted by `X`. Rows represent different groups of units. Remember, a unit is a person, place, or thing that is the subject of the study.
4+
5+
## Pretest-posttest designs
6+
7+
One of the simplest designs is the pretest-posttest design. Here we have one row, denoting a single group of units. There is an `X` which means all are treated. The pretest is denoted by $O_1$ and the posttest by $O_2$. See p99 of Reichardt (2019).
8+
9+
| | | |
10+
|----|---|----|
11+
$O_1$ | X | $O_2$ |
12+
13+
Informally, if we think about drawing conclusions about the causal impact of the treatment based on the change from $O_1$ to $O_2$, we might say that the treatment caused the change. However, this is a tenuous conclusion because we have no way of knowing what would have happened in the absence of the treatment.
14+
15+
A variation of this design which may (slightly) improve this situation from the perspective of making causal claims, would be to take multiple pretest measures. This is shown below, see p107 of Reichardt (2019).
16+
17+
| | | | |
18+
|----|--|---|----|
19+
$O_1$ | $O_2$ | X | $O_3$ |
20+
21+
This would allow us to estimate how the group was changing over time before the treatment was introduced. This could be used to make a stronger causal claim about the impact of the treatment.
22+
23+
## Nonequivalent group designs
24+
25+
In randomized experiments, with large enough groups, the randomization process should ensure that the treatment and control groups are equivalent. However, in quasi-experimental designs, with non-random (`NR`) allocation, we could expect there to be differences between the treatment and control groups. This poses some challenges in making strong causal claims about the impact of the treatment.
26+
27+
For example, in the simplest nonequivalent group design, we have two groups, one treated and one not treated, and just one posttest. See p114 of Reichardt (2019).
28+
29+
| | | |
30+
|-----|---|----|
31+
| NR: | X | $O_1$ |
32+
| NR: | | $O_1$ |
33+
34+
The above design would be considered weak - the lack of a pre-test measure makes it hard to know whether differences between the groups at $O_1$ are due to the treatment or to pre-existing differences between the groups.
35+
36+
This limitation can be addressed by adding a pretest measure. See p115 of Reichardt (2019).
37+
38+
| | | | |
39+
|-----|----|---|----|
40+
| NR: | $O_1$ | X | $O_2$ |
41+
| NR: | $O_1$ | | $O_2$ |
42+
43+
Non-equivalent group designs like this, with a pretest and a posttest measure could be analysed in a number of ways:
44+
1. **ANCOVA:** Here, the group would be a categorical predictor, the pretest measure would be a covariate, and the posttest measure would be the outcome.
45+
2. **Difference-in-differences:** We can apply linear modeling approaches such as `y ~ group + time + group:time` to estimate the treatment effect. Here, `y` is the outcome measure, `group` is a binary variable indicating treatment or control group, and `time` is a binary variable indicating pretest or posttest.
46+
47+
A limitation of the nonequivalent group designs with single pre and posttest measures is that we don't know how the groups were changing over time before the treatment was introduced. This can be addressed by adding multiple pretest measures. See p154 of Reichardt (2019).
48+
49+
| | | | | |
50+
|-----|----|---|-|----|
51+
| NR: | $O_1$ | $O_2$ | X | $O_3$ |
52+
| NR: | $O_1$ | $O_2$ | | $O_3$ |
53+
54+
Again, this design could be analysed using the difference-in-differences approach.
55+
56+
## Interrupted time series designs
57+
58+
While there is no control group, the interrupted time series design is a powerful quasi-experimental design that can be used to estimate the causal impact of a treatment. The design involves multiple pretest and posttest measures. The treatment is introduced at a specific point in time, denoted by `X`. The design can be used to estimate the causal impact of the treatment by comparing the trajectory of the outcome variable before and after the treatment. See p203 of Reichardt (2019).
59+
60+
| | | | | | | | | |
61+
|-----|----|---|----|---|----|----|----|----|
62+
| $O_1$ | $O_2$ | $O_3$ | $O_4$ | X | $O_5$ | $O_6$ | $O_7$ | $O_8$ |
63+
64+
## Comparative interrupted time series designs
65+
66+
The comparative interrupted time series design incorporates aspects of **interrupted time series** (with only a treatment group), and **nonequivalent group designs** (with a treatment and control group). This design can be used to estimate the causal impact of a treatment by comparing the trajectory of the outcome variable before and after the treatment in the treatment group, and comparing this to the trajectory of the outcome variable in the control group. See p226 of Reichardt (2019).
67+
68+
| | | | | | | | | | |
69+
|-----|----|---|----|---|----|----|----|----|-|
70+
| NR: | $O_1$ | $O_2$ | $O_3$ | $O_4$ | X | $O_5$ | $O_6$ | $O_7$ | $O_8$ |
71+
| NR: | $O_1$ | $O_2$ | $O_3$ | $O_4$ | | $O_5$ | $O_6$ | $O_7$ | $O_8$ |
72+
73+
74+
Because this design is very similar to the nonequivalent group design, simply with multiple pre and ppost test measures, it is well-suited to analysis under the difference-in-differences approach.
75+
76+
However, if we have many untreated units and one treated unit, then this design could be analysed with the synthetic control approach.
77+
78+
## Regression discontinuity designs
79+
80+
The design notation for regression discontinuity designs are different from the others and take a bit of getting used to. We have two groups, but allocation to the groups are determined by a units' relation to a cutoff point `C` along a running variable. Also, $O_1$ now represents the value of the running variable, and $O_2$ represents the outcome variable. See p169 of Reichardt (2019). This will make more sense if you consider the design notation alongside one of the example notebooks.
81+
82+
| | | | |
83+
|-----|----|---|----|
84+
| C: | $O_1$ | X | $O_2$ |
85+
| C: | $O_1$ | | $O_2$ |
86+
87+
From an analysis perspective, regression discontinuity designs are very similar to interrupted time series designs. The key difference is that treatment is determined by a cutoff point along a running variable, rather than by time.
88+
89+
## Summary
90+
This page has offered a brief overview of the tabular notation used to describe quasi-experimental designs. The notation is a useful tool for summarizing the design of a study, and can be used to help identify the strengths and limitations of a study design. But readers are strongly encouraged to consult the original sources when assessing the relative strengths and limitations of making causal claims under different quasi-experimental designs.

docs/source/index.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,10 @@ Documentation outline
138138
=====================
139139

140140
.. toctree::
141-
:titlesonly:
141+
:caption: Knowledge Base
142142

143-
glossary
143+
design_notation.md
144+
glossary.rst
144145

145146
.. toctree::
146147
:caption: Examples

0 commit comments

Comments
 (0)