Skip to content

Commit 732707f

Browse files
committed
add regression kink design to README.md and index.rst
1 parent 0b70c9e commit 732707f

File tree

4 files changed

+2091
-4
lines changed

4 files changed

+2091
-4
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,25 @@ Regression discontinuity designs are used when treatment is applied to units acc
144144

145145
> The data, model fit, and counterfactual are plotted (top). Frequentist analysis shows the causal impact with the blue shaded region, but this is not shown in the Bayesian analysis to avoid a cluttered chart. Instead, the Bayesian analysis shows shaded Bayesian credible regions of the model fits. The Frequentist analysis visualises the point estimate of the causal impact, but the Bayesian analysis also plots the posterior distribution of the regression discontinuity effect (bottom).
146146
147+
### Regression kink designs
148+
149+
Regression discontinuity designs are used when treatment is applied to units according to a cutoff on a running variable, which is typically not time. By looking for the presence of a discontinuity at the precise point of the treatment cutoff then we can make causal claims about the potential impact of the treatment.
150+
151+
| Running variable | Outcome |
152+
|-----------|-----------|
153+
| $x_0$ | $y_0$ |
154+
| $x_1$ | $y_0$ |
155+
| $\ldots$ | $\ldots$ |
156+
| $x_{N-1}$ | $y_{N-1}$ |
157+
| $x_N$ | $y_N$ |
158+
159+
160+
| Frequentist | Bayesian |
161+
|--|--|
162+
| coming soon | ![](docs/source/_static/regression_kink_pymc.svg) |
163+
164+
> The data and model fit. The Bayesian analysis shows the posterior mean with credible intervals (shaded regions). We also report the Bayesian $R^2$ on the data along with the posterior mean and credible intervals of the change in gradient at the kink point.
165+
147166
### Interrupted time series
148167

149168
Interrupted time series analysis is appropriate when you have a time series of observations which undergo treatment at a particular point in time. This kind of analysis has no control group and looks for the presence of a change in the outcome measure at or soon after the treatment time. Multiple predictors can be included.

0 commit comments

Comments
 (0)