The econometrics hub
Explanations, methods and worked evidence in one place: 18 explainers, 28 method references with runnable Python, 80 labs with data and a 40-term glossary.
Which method fits your question?
Answer three questions. The method references that fit stay below; each explains the estimator, its assumptions, a runnable example and its limits.
28 method references
-
ARIMA: ARIMA, seasonal ARIMA and ARMAX models
Models and forecasts one series from its own past.
-
Difference-in-differences: didregress and parallel trends
Compares the change for treated units with the change for others.
-
Fixed effects and random effects regression (xtreg)
Fixed effects remove differences between units that never change.
-
Hausman test: fixed or random effects?
Compares fixed with random effects, or OLS with IV.
-
Logit and probit regression with marginal effects
Models the probability of a yes-or-no outcome.
-
OLS regression with robust and clustered standard errors
Linear regression with robust, clustered or HAC standard errors.
-
Instrumental variables: 2SLS, LIML and GMM
Uses an instrument when a regressor is correlated with the error.
-
Ordered logit, ordered probit and multinomial logit
Ordered ratings or unordered choices among several categories.
-
reghdfe: regression with high-dimensional fixed effects
Absorbs several large sets of fixed effects at once.
-
Staggered difference-in-differences: Callaway–Sant'Anna csdid
Treatment starts at different times for different units.
-
VAR and vector error correction models (VECM)
Several series that move together, with impulse responses.
-
Wild cluster bootstrap: a boottest workflow for few clusters
Reliable tests when there are only a few clusters.
-
Arellano–Bond and system GMM: xtabond and xtabond2
Panels with a lagged outcome, by difference or system GMM.
-
Event study regression: leads, lags and pre-trend tests
Effects period by period around the treatment date.
-
GARCH models: ARCH, GARCH, GJR and EGARCH
Volatility that rises and falls over time.
-
Multiple testing correction: Holm, BH and Romano–Wolf
Adjusts p-values when you test many hypotheses.
-
Poisson regression, negative binomial and PPML gravity models
Counts and positive amounts, including gravity models with fixed effects.
-
Quantile regression: qreg, bootstrap and simultaneous quantiles
Effects on the median or other quantiles, not only the mean.
-
Mixed effects and multilevel models: random intercepts and slopes
Multilevel models with random intercepts and slopes.
-
Regression discontinuity: rdrobust with robust bias correction
Compares units just above and just below a threshold.
-
SUR regression and three-stage least squares
Several equations whose errors are correlated.
-
Tobit model and truncated regression
Outcomes piled up at a limit or cut off by the sampling.
-
Unit root tests: ADF, KPSS, Phillips–Perron and DF-GLS
Tests whether a series is stationary before you model it.
-
Cointegration: ARDL bounds test, Engle–Granger and Johansen
Long-run relationships between trending series.
-
Heckman selection model: ML and two-step estimation
Outcomes observed only for a selected group, such as wages of workers.
-
Treatment effects: propensity score matching, IPW and AIPW
Average treatment effects when selection depends on observed variables.
-
Survival analysis: Cox proportional hazards, stcox and streg
Time until an event, with censored spells.
-
Synthetic control: donor weights, placebos and synthetic DiD
One treated unit against a weighted mix of untreated units.
No reference matches all three answers yet. Change one answer, or start with OLS and robust standard errors.
Learning paths
Each path runs from first explanations to method references and worked labs.
-
Econometrics
Start with the question you want to answer. Learn how economic reasoning, data and statistical methods fit together before choosing an estimator.
-
Data analysis
Know what each row measures, explore the data and separate what your sample shows from what you can infer about a wider population.
-
Regression & inference
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.
-
Causal inference
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.
-
Panel & time series
Repeated observations add information and dependence. Choose the route that matches your data: many units followed over time, or a series whose ordering matters.
Explainers
Plain-language articles, each with its sources and, where numbers appear, the code that produced them. All of them are on the blog.
-
Basics
What is data analysis? A practical introduction with examples
Data analysis turns observations into answers. Learn the steps, common types of analysis and how to turn a question into a defensible conclusion.
-
Statistical inference
Descriptive vs inferential statistics: the difference with examples
Descriptive statistics summarise observed data; inference makes claims beyond them. Compare examples, confidence intervals and the assumptions behind each.
-
Basics
Econometrics vs statistics: how they differ and overlap
Econometrics and statistics share methods. Compare their questions, assumptions and uses, with an example that separates prediction from a causal effect.
-
Basics
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.
-
Basics
Exploratory data analysis: what to check before fitting a model
Exploratory data analysis checks a dataset's structure, missing values and unusual observations. Follow a practical checklist before choosing a model.
-
Basics
What is time series analysis? Patterns, models and forecasting
Time series analysis studies observations recorded over time. Learn about trends, seasonality, stationarity and how to evaluate forecasts without leakage.
-
Statistical inference
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.
-
Causal inference
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.
-
Causal inference
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.
Practical guides
Workflows, inference choices and how to validate results. See all guides, or every method reference.
-
Reproducibility
How to validate econometric software results, starting with NIST Longley
Check estimator results against certified reference data, measure accuracy in correct digits, and know what a passing test does and does not prove.
-
Workflows
Open-source econometrics in Python for Stata, EViews and SPSS users
What an open-source Python workflow for econometrics looks like, which familiar tasks OpenEconometrics covers today and where its limits are.
-
Reproducibility
Reproducible econometrics: from raw data to a table you can rerun
A practical workflow for econometric analyses that others can rerun, with pinned versions, recorded samples, seeds and tables generated from saved results.
-
Methods
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.
From the labs
80 labs in four courses pair an economic question with synthetic data, a complete Python analysis and a figure like these.
Econometrics · Lab 04Does Class Size Predict Test Scores?
Statistics · Lab 19Resampling the Observed Baskets
Microeconomics · Lab 13Monopoly Output, Markup and Welfare
Advanced Econometrics · Lab 07Clustered Errors and the Sampling Unit
Econometrics · Lab 16What Happens Around an Eligibility Cutoff?
Statistics · Lab 15Do Study Hours and Scores Move Together?
Microeconomics · Lab 15A Unit Tax: Incidence and Deadweight Loss
Advanced Econometrics · Lab 19Local Projections over Several Horizons
Reference
Definitions and answers to come back to.
Econometrics glossary
Short, plain-language definitions of common econometrics terms, from autocorrelation to weak instruments, with links to longer explanations.
Frequently asked questions
Answers to common questions about OpenEconometrics: what it costs, which methods and platforms it supports, how accurate it is and where your data goes.
How we prepare this content
How explainers, method references and labs are written, sourced, checked and corrected.
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.
pip install openecon