Skip to content
Tutorials Center
My learning

Topics

Econometrics Tutorial

Learn Econometrics step by step: 49 lessons in 9 chapters with examples, quizzes, diagrams and practice.

Start learning →

of lessons completed

Getting Started

  1. 1 Course map: how this econometrics course works See the whole econometrics course at a glance: who it is for, what you need first, how the nine chapters fit together and how to study them with runnable Python.
  2. 2 What is econometrics? Learn what econometrics is, how economic theory, data and statistics combine, the difference between prediction and causation, and the workflow of an analysis.
  3. 3 Data types and variables Learn the four data structures of econometrics (cross-section, time series, pooled cross sections, panel) and the main kinds of variables, with examples and runnable code.
  4. 4 A first look at data in Python Learn the exploratory routine every econometric analysis starts with: inspect, summarize, plot and check correlations, using runnable numpy, pandas and matplotlib code.
  5. 5 Chapter 1 review: getting started Review the first chapter of econometrics: the three ingredients, models, data structures, variable types and exploration routine, with a recap table and a ten-question quiz.

Data and the Regression Idea

  1. 6 Chapter 2 overview: data and the regression idea Preview chapter 2 of econometrics: random variables, expectation and variance, the conditional expectation function and estimators with sampling distributions, and why regression builds on them.
  2. 7 Probability and expectation review Review the probability tools behind regression: random variables, expectation, variance, covariance, correlation and the normal distribution, with worked examples and simulations.
  3. 8 The conditional expectation function Understand the conditional expectation function, the law of iterated expectations, why E[y|x] is the best predictor and how linear regression approximates it, with runnable examples.
  4. 9 Estimators and sampling distributions Learn what an estimator is, why estimates vary from sample to sample, how to judge estimators by bias, variance and consistency, and what a standard error measures.
  5. 10 Chapter 2 review: data and the regression idea Review chapter 2 of econometrics: expectation, variance, covariance, the conditional expectation function and estimators, with a recap table and a ten-question quiz.

Simple and Multiple Regression

  1. 11 Chapter 3 overview: simple and multiple regression Preview chapter 3: fitting a line by least squares, measuring fit with R-squared, controlling for other variables and using logs, dummies and quadratics, with an interactive line fitter.
  2. 12 Simple linear regression and OLS Derive the ordinary least squares slope and intercept, work a five-point example by hand, interpret coefficients and units, and learn the properties residuals must satisfy.
  3. 13 Goodness of fit and R-squared Learn how the variation in y splits into explained and unexplained parts, how to compute and interpret R-squared and the standard error of regression, and why a high R-squared can mislead.
  4. 14 Multiple regression Learn multiple linear regression: the model, how to interpret coefficients holding other variables fixed, the partialling-out idea, matrix OLS, adjusted R-squared and why simple and multiple slopes differ.
  5. 15 Functional forms, logs and dummies Learn how to model percentage effects with logs, curves with quadratics and group differences with dummies and interactions, and how to interpret each correctly in OLS.
  6. 16 Chapter 3 review: simple and multiple regression Review chapter 3 of econometrics: OLS formulas, residual properties, R-squared, multiple regression, logs, quadratics and dummies, with a recap table and a ten-question quiz.

Inference and Specification

  1. 17 Chapter 4 overview: inference and specification Preview chapter 4: when OLS is unbiased and efficient, how t and F tests and confidence intervals work, and how omitted variables and multicollinearity affect estimates, with a simulation.
  2. 18 Gauss-Markov and the classical assumptions Learn the classical linear model assumptions MLR.1 to MLR.6, why OLS is unbiased and BLUE, how to derive the variance and standard error of a slope, and what each assumption buys you.
  3. 19 t tests and confidence intervals Learn how to test a single hypothesis about a regression coefficient with the t statistic, read p-values correctly, build confidence intervals and avoid the common misreadings of significance.
  4. 20 F tests and joint hypotheses Learn how to test several restrictions at once with the F statistic, compute it from sums of squares or R-squared, test overall significance and equality of coefficients, with worked examples.
  5. 21 Specification, omitted variables and multicollinearity Understand omitted variable bias and its direction, irrelevant variables, multicollinearity and the variance inflation factor, bad controls and measurement error, with runnable simulations.
  6. 22 Chapter 4 review: inference and specification Review chapter 4 of econometrics: classical assumptions, standard errors, t and F tests, confidence intervals, omitted variable bias and multicollinearity, with a recap table and a ten-question quiz.

Violations: Heteroskedasticity and Autocorrelation

  1. 23 Chapter 5 overview: when the error assumptions break A map of chapter 5: why uneven error variance and serial correlation break standard errors, and how to detect, repair and report them.
  2. 24 What heteroskedasticity is Learn what heteroskedasticity means, where it comes from in economic data, why OLS slopes survive it, and exactly which results it ruins.
  3. 25 Testing for heteroskedasticity Learn the Breusch-Pagan and White tests step by step, compute them by hand in Python, and see what a rejection does and does not mean.
  4. 26 Robust errors and weighted least squares Repair inference under heteroskedasticity: the sandwich formula, the HC0 to HC3 family, weighted least squares and feasible GLS, with Python code.
  5. 27 Serial correlation and HAC standard errors Understand AR(1) errors, test for serial correlation with Durbin-Watson and Breusch-Godfrey, and repair inference with Newey-West HAC standard errors.
  6. 28 Chapter 5 review: violations of the error assumptions Review chapter 5: a one-picture summary, a recap table of detect, repair and report, a diagnostics toolkit in Python, and a ten-question quiz.

Instrumental Variables and Endogeneity

  1. 29 Chapter 6 overview: instruments and endogeneity A map of chapter 6: why endogenous regressors bias OLS, how an instrument isolates clean variation, and how to test whether an instrument is any good.
  2. 30 Three roads to endogeneity Learn the three classic sources of endogeneity, derive the direction of the bias in each, and verify every formula with a simulation in Python.
  3. 31 Two-stage least squares Learn instrumental variables and 2SLS: the two instrument conditions, the Wald ratio, both stages, correct standard errors and what the estimate means.
  4. 32 Testing instruments: weak, invalid and unnecessary Learn how to check an instrument: the first-stage F rule, why weak instruments bias IV, the Sargan and Hansen J tests, and the Hausman endogeneity test.
  5. 33 Chapter 6 review: instruments and endogeneity Review chapter 6 with a one-picture summary, a recap table, a reusable 2SLS function and a ten-question quiz on endogeneity, 2SLS and instrument tests.

Panel Data and Time Series

  1. 34 Chapter 7 overview: panel data and time series A map of chapter 7: what panel data are, why following the same units over time helps, and why trending time series need special care.
  2. 35 Fixed and random effects Understand pooled OLS, the within (fixed effects) estimator, first differences and random effects, and choose between them with the Hausman test.
  3. 36 Stationarity and unit roots Learn what stationarity means, how a random walk differs from a stationary AR(1), and how to run and read the augmented Dickey-Fuller test in Python.
  4. 37 Cointegration, error correction and forecasting Avoid spurious regression with cointegration: the Engle-Granger two-step test, the error correction model, and a first look at forecasting with AR models.
  5. 38 Chapter 7 review: panel data and time series Review chapter 7: a one-picture summary, a recap table, working Python tools for clustered fixed effects and unit-root decisions, and a ten-question quiz.

Causal Methods and Practice

  1. 39 Chapter 8 overview: a ladder of causal designs A map of chapter 8: potential outcomes, randomized trials, difference-in-differences and regression discontinuity, and how design choices drive credibility.
  2. 40 Potential outcomes and randomized trials Learn the potential-outcomes framework, ATE, ATT and ITT, why randomization works, how to analyse a trial in Python, and how noncompliance leads to LATE.
  3. 41 Difference-in-differences Learn difference-in-differences from the 2x2 table to the regression, test parallel trends with an event study, and see why staggered adoption is tricky.
  4. 42 Regression discontinuity Learn sharp and fuzzy regression discontinuity: the continuity assumption, local linear estimation, bandwidth choice and the validity checks that matter.
  5. 43 Chapter 8 review: causal designs Review chapter 8: potential outcomes, randomized trials, difference-in-differences and regression discontinuity in one picture, a table, two checks and a quiz.

Projects and Practice

  1. 44 Project: diagnosing a wage regression A hands-on project: fit a wage equation, plot residuals, run Breusch-Pagan and White tests, compare standard errors and write a short, honest results table.
  2. 45 Project: returns to schooling with an instrument A hands-on IV project with simulated data: compare OLS and 2SLS, check strength and validity, test endogeneity and quantify how far a flawed instrument can mislead.
  3. 46 Advanced practice problems Fourteen problems covering heteroskedasticity, autocorrelation, instruments, panels, time series and causal designs, with worked answers and a Python checker.
  4. 47 Glossary: heteroskedasticity to causal designs A plain-language glossary of the terms from the second half of the course: robust errors, instruments, panels, unit roots, cointegration and causal designs.
  5. 48 Cheat sheet: tests, fixes and designs A one-page recap of chapters 5 to 8: formulas, tests, repairs and identifying assumptions, plus a Python calculator for the most common quantities.
  6. 49 Further study: where to go from here A roadmap beyond this course: modern causal inference, time-series models, panel methods, machine learning for prediction and the tools and tracks to learn next.