Skip to content

Commit 1b6f9be

Browse files
committed
update README
1 parent f1a522d commit 1b6f9be

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,6 @@
1717

1818
A Python package focussing on causal inference in quasi-experimental settings. The package allows for sophisticated Bayesian model fitting methods to be used in addition to traditional OLS.
1919

20-
## Comparison to related packages
21-
22-
Rather than focussing on one particular quasi-experimental setting, this package aims to have broad applicability.
23-
24-
Another distinctive feature of this package is the ability to use different models. Currently, users can fit with `scikit-learn` models or Bayesian models with `PyMC`.
25-
26-
| | [CausalImpact](https://google.github.io/CausalImpact/) from Google | [GeoLift](https://github.com/facebookincubator/GeoLift/) from Meta | CausalPy from [PyMC Labs](https://www.pymc-labs.io) |
27-
|---------------------------|--------------------------------|---------|----------------------------------------|
28-
| Synthetic control ||||
29-
| Regression discontinuity ||||
30-
| Difference in differences ||||
31-
| Language | R (but see [tfcausalimpact](https://github.com/WillianFuks/tfcausalimpact)) | R | Python |
32-
| Models | Bayesian structural timeseries | Augmented synthetic control | Flexible: Traditional OLS and Bayesian models |
33-
3420
## Installation
3521

3622
To get the latest release:
@@ -177,6 +163,12 @@ Interrupted time series analysis is appropriate when you have a time series of o
177163

178164
> The data, pre-treatment model fit, and counterfactual are plotted (top). The causal impact is shown as a blue shaded region. The Bayesian analysis shows shaded Bayesian credible regions of the model fit and counterfactual. Also shown is the causal impact (middle) and cumulative causal impact (bottom).
179165
166+
### Instrumental Variable Regression
167+
168+
Instrumental Variable regression is an appropriate technique when you wish to estimate the treatment effect of some variable on another, but are concerned that the treatment variable is endogenous in the system of interest i.e. correlated with the errors. In this case an “instrument” variable can be used in a regression context to disentangle treatment effect due to the threat of confounding due to endogeneity.
169+
170+
![](docs/source/_static/iv_reg1.png)
171+
180172
## Learning resources
181173

182174
Here are some general resources about causal inference:

0 commit comments

Comments
 (0)