OpenEconometrics

A guided reading path

Regression and inference: fit, read and question a model

A regression table is the beginning of an argument. Learn what its estimates mean, where the uncertainty comes from and which conclusions the design can support.

01 · Understand the question

Build the foundations

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

  1. What is regression analysis? A worked example in Python

    Regression analysis describes how the average of one variable changes with others. Learn to fit, read and question a linear regression, step by step.

  2. How to read regression results: coefficients, uncertainty and fit

    Read a regression table in context: check the sample and units, interpret coefficients and confidence intervals, compare models and separate fit from causality.

  3. Logit and probit explained: modelling yes-or-no outcomes

    Why a straight line struggles with yes-or-no outcomes, how logit and probit fix it, and how to report average marginal effects and odds ratios.

  4. P-values in economics: what they mean and what they do not

    A p-value measures how surprising the data would be under a null hypothesis. Learn to read it correctly, avoid common mistakes and report uncertainty well.

  5. What is heteroskedasticity? How to spot it and what to do

    Heteroskedasticity means the error variance changes across observations. Learn to spot it with plots and tests, and how to fix your inference.

  6. The bootstrap explained: standard errors by resampling

    How the bootstrap turns one sample into a standard error and a confidence interval, with pairs and cluster versions, failure cases and seeds.

  7. Robust and clustered standard errors in Python, from HC0 to the wild bootstrap

    How HC0–HC3, cluster-robust and HAC standard errors work, when each is appropriate, and why a handful of clusters calls for the wild cluster bootstrap.

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