OpenEconometrics

A guided reading path

Causal inference: from association to a credible comparison

To ask what a policy changed, you need a credible account of what would have happened without it. Start with that comparison, then examine the assumptions of each design.

01 · Understand the question

Build the foundations

Read in this order, or open the question you are working on.

  1. Correlation vs causation in economics: from confounding to natural experiments

    Why a regression coefficient is not automatically a causal effect, and how economists use experiments, instruments and natural experiments to find one.

  2. Instrumental variables explained: relevance, exclusion and weak instruments

    What instrumental variables need to work, how two-stage least squares uses them, and what a simulation shows weak instruments do to 2SLS.

  3. Difference-in-differences explained: parallel trends in pictures

    How difference-in-differences turns four averages into a causal estimate, what parallel trends means and why the standard errors must be clustered.

  4. Regression discontinuity explained: estimating effects at a cutoff

    How regression discontinuity turns a cutoff rule into a causal estimate, with a simulated example, bandwidth choice and a manipulation check.

  5. What is econometric analysis? From question to evidence

    Econometric analysis connects an economic question to data, a model and defensible conclusions. Follow a practical workflow with a policy-evaluation example.

02 · Examine the assumptions

Explore methods when you need them

A clear description may already answer your question. If modelling is useful, these references explain the estimator, supported options, a runnable example and limitations. Choose one for your question and assumptions.

03 · Work through the evidence

Try a worked lab

These exercises use synthetic teaching data. The full handout, Python analysis and available resources are linked on each lab page.

Try it on your own data

OpenEconometrics is free and open source under Apache 2.0. Install the Python library or download the desktop alpha.

Download Desktop App pip install openecon