The full academy launches January 2027. Join the waitlist for the $179 founding price.
Waldbauer Academy of Economics

Courses › Graduate Econometrics

Graduate school · Free crash course

Graduate Econometrics: crash course

Asymptotics, OLS and GMM, instrumental variables, panel data, and modern causal inference.

By Maximus S. Waldbauer

Graduate econometrics gives you the theory behind the tools: why estimators work, when they fail, and how to quantify uncertainty correctly. It also introduces the research designs that dominate modern applied work.

This crash course covers the core of a first-year sequence. It emphasizes intuition and the assumptions behind each method, because in applied work the assumptions are where the arguments happen.

What you will be able to do

Prerequisites

Statistics and Econometrics, linear algebra, and probability theory at an upper-undergraduate level.

Unit 1

Asymptotic Theory

Exact finite-sample distributions are rarely available, so econometrics relies on asymptotic approximations: how estimators behave as the sample size n grows.

The delta method

To get the standard error of a smooth function of an estimator, linearize it:

Var(g(θ̂)) ≈ [g′(θ)]2 Var(θ̂)

Worked example: Standard error of a squared estimate

θ̂ = 2.0 with standard error 0.1. We want the standard error of θ̂2.

g(θ) = θ2, g′(θ) = 2θ = 4.

SE(θ̂2) ≈ 4 × 0.1 = 0.4, so θ̂2 = 4.0 with standard error 0.4.

Key ideas

  • Consistency is about where an estimator ends up; asymptotic normality is about its spread along the way.
  • Most standard errors in practice are asymptotic approximations.
  • The delta method handles nonlinear functions such as elasticities and ratios.

Check your understanding

  1. 1.1Can an estimator be biased in finite samples yet consistent?
    Show answer

    Yes. The bias can shrink to zero as n grows; the sample variance with divisor n is an example.

  2. 1.2θ̂ = 5 with SE 0.2. Use the delta method to find the SE of ln θ̂.
    Show answer

    g′ = 1/θ = 0.2, so SE ≈ 0.2 × 0.2 = 0.04.

  3. 1.3What does the central limit theorem justify in regression analysis?
    Show answer

    Using normal-based confidence intervals and t-tests for coefficients in large samples, even if errors are not normal.

Unit 2

OLS, Robust Inference, and GMM

In matrix form, y = Xβ + u, and the OLS estimator is

β̂ = (X′X)−1X′y

OLS is consistent if E[X′u] = 0 (regressors uncorrelated with errors) and X′X/n converges to an invertible matrix. Under homoskedasticity, Var(β̂) = σ2(X′X)−1, and by the Gauss–Markov theorem OLS is the best linear unbiased estimator.

Robust and clustered standard errors

Without homoskedasticity, use the sandwich estimator (X′X)−1(Σ ûi2xixi′)(X′X)−1. When errors are correlated within groups (workers in the same firm, students in the same school), cluster standard errors at the group level. Too few clusters makes inference unreliable even with clustering.

GMM

Generalized method of moments unifies many estimators. Choose parameters to make sample analogues of population moment conditions E[g(w, θ)] = 0 as close to zero as possible. OLS uses E[x u] = 0; IV uses E[z u] = 0. With more moments than parameters, efficient GMM weights moments by the inverse of their variance, and Hansen’s J test checks overidentifying restrictions.

Worked example: Why clustering matters

A policy varies at the state level. You regress individual outcomes on the policy using 500,000 people in 20 states.

Default standard errors treat the 500,000 observations as independent, but people in the same state share shocks.

Clustered standard errors recognize that, for this question, you effectively have closer to 20 independent units. They can be several times larger.

Key ideas

  • OLS consistency needs exogeneity: E[X′u] = 0.
  • Use heteroskedasticity-robust standard errors by default and cluster at the level of treatment.
  • GMM is the general framework behind OLS, IV, and many structural estimators.

Check your understanding

  1. 2.1What assumption does Gauss–Markov need that consistency of OLS does not?
    Show answer

    Homoskedasticity (and no serial correlation) of the errors.

  2. 2.2At what level should standard errors be clustered when a treatment is assigned by school?
    Show answer

    At the school level, or higher if shocks are correlated across schools.

  3. 2.3What moment condition does IV exploit?
    Show answer

    That the instruments are uncorrelated with the error: E[z u] = 0.

Unit 3

Instrumental Variables

When a regressor is endogenous (correlated with the error due to omitted variables, simultaneity, or measurement error), OLS is inconsistent. An instrument z must satisfy two conditions:

Two-stage least squares regresses the endogenous variable on the instruments, then regresses the outcome on the fitted values. With one instrument and one regressor, IV is the ratio of the reduced-form effect to the first-stage effect (the Wald estimator).

βIV = Cov(z, y) / Cov(z, x)

Weak instruments and LATE

If the first stage is weak, IV is biased toward OLS and its standard errors are unreliable. A traditional rule of thumb is a first-stage F above 10; recent research recommends stricter thresholds or weak-IV-robust inference. With heterogeneous effects, IV identifies the local average treatment effect (LATE): the effect for compliers, those whose treatment status is changed by the instrument (Imbens and Angrist, 1994).

Worked example: A lottery for a training program

Winning a lottery (z) offers a place in a training program (x). Winners’ enrolment rate is 50 points higher than losers’.

Winners earn on average $2,000 more per year than losers (reduced form).

IV estimate = 2,000 / 0.5 = $4,000 per year for those who enrolled because they won: the compliers.

Key ideas

  • IV needs relevance (testable) and exclusion (argued).
  • Weak instruments produce misleading inference.
  • Under heterogeneous effects, IV estimates LATE for compliers, not the average effect for everyone.

Check your understanding

  1. 3.1A first stage shows the instrument raises x by 0.2, and the reduced form shows it raises y by 0.1. What is the IV estimate?
    Show answer

    0.1 / 0.2 = 0.5.

  2. 3.2Why can’t the exclusion restriction be tested with a single instrument?
    Show answer

    The model is exactly identified; there is no extra moment to check against, so any direct effect of z on y is absorbed into the estimate.

  3. 3.3Who are ‘compliers’?
    Show answer

    Units that take the treatment if and only if the instrument encourages them to.

Unit 4

Panel Data

Panel data follow the same units over time. The basic model includes an unobserved unit effect αi:

yit = xit′β + αi + uit

Fixed effects (FE) remove αi by demeaning each unit’s data over time (the within transformation), so it allows αi to be correlated with x. The cost is that time-invariant regressors cannot be estimated, and only within-unit variation is used.

Random effects (RE) assumes αi is uncorrelated with x and uses both within and between variation, which is more efficient if the assumption holds. The Hausman test compares FE and RE: a significant difference suggests the RE assumption fails. In applied microeconomics, FE is the usual default.

Dynamics

With a lagged dependent variable and short panels, FE is biased (the Nickell bias). Difference and system GMM estimators (Arellano–Bond, Blundell–Bond) use lagged values as instruments.

Worked example: Firm productivity and training

Firms that invest more in training have higher productivity in a cross-section.

But well-managed firms may both train more and be more productive (an unobserved firm effect).

Firm fixed effects compare each firm with itself over time: does productivity rise in years when that firm trains more?

If the FE estimate is much smaller than the pooled OLS estimate, management quality was driving much of the cross-sectional correlation.

Key ideas

  • Fixed effects remove all time-invariant unit characteristics, observed or not.
  • Random effects is efficient only if unit effects are uncorrelated with regressors.
  • Dynamic panels need special estimators.

Check your understanding

  1. 4.1Why can’t fixed effects estimate the effect of a worker’s gender on wages?
    Show answer

    Gender is time-invariant for the worker, so it is removed by the within transformation along with αi.

  2. 4.2The Hausman test rejects. Which estimator should you prefer?
    Show answer

    Fixed effects, since the random effects assumption appears to fail.

  3. 4.3What problem arises with a lagged dependent variable in a short fixed-effects panel?
    Show answer

    Nickell bias: the demeaned lagged outcome is correlated with the demeaned error.

Unit 5

Modern Causal Inference

The potential outcomes framework defines causal effects explicitly. Each unit has an outcome if treated, Y(1), and if untreated, Y(0); the effect is Y(1) − Y(0). We never observe both, so causal inference is a missing-data problem. Common targets are the average treatment effect (ATE) and the average effect on the treated (ATT).

Regression discontinuity

When treatment is assigned by a cutoff in a running variable (a test score, an age, a vote share), units just above and just below are comparable. Sharp RD compares outcomes on each side of the cutoff with local linear regression; fuzzy RD uses the cutoff as an instrument. Check for manipulation of the running variable and balance of covariates at the cutoff.

Difference-in-differences with staggered adoption

Recent work has shown that the standard two-way fixed effects regression can give misleading estimates when treatment starts at different times and effects vary over time, because already-treated units serve as controls with negative weights. New estimators (for example by Callaway and Sant’Anna, Sun and Abraham, and de Chaisemartin and D’Haultfœuille) compare each cohort only with valid not-yet-treated or never-treated units and report event-study style dynamic effects.

Worked example: A scholarship cutoff

Students scoring 80 or above on an exam receive a scholarship. You want its effect on graduation.

Fit local linear regressions of graduation on the score just below and just above 80.

The graduation rate jumps from 61% to 68% at the cutoff, suggesting a 7 percentage point effect for students near 80.

Check: if students can retake the exam to cross 80, the density of scores will bunch just above the cutoff, undermining the design.

Key ideas

  • Potential outcomes make the causal question and its assumptions explicit.
  • RD exploits cutoffs and identifies effects locally at the threshold.
  • With staggered adoption, use modern DiD estimators rather than naive two-way fixed effects.

Check your understanding

  1. 5.1Why is causal inference called a missing-data problem?
    Show answer

    For each unit we observe only one potential outcome, never both.

  2. 5.2What would bunching of the running variable just above an RD cutoff suggest?
    Show answer

    Manipulation: units sorting themselves across the cutoff, which breaks comparability.

  3. 5.3Why can two-way fixed effects mislead with staggered treatment?
    Show answer

    It implicitly uses already-treated units as controls; when effects change over time, some comparisons get negative weights and can even reverse the sign.

Key terms

Consistency
Convergence of an estimator to the true parameter as the sample grows.
Delta method
Approximation of the variance of a function of an estimator by linearization.
Sandwich estimator
A variance estimator robust to heteroskedasticity.
GMM
Estimation by matching sample moments to population moment conditions.
LATE
The average treatment effect for compliers identified by an instrument.
Fixed effects
Panel estimator that removes time-invariant unit characteristics.
Potential outcomes
The outcomes a unit would have under each treatment status.
Regression discontinuity
A design exploiting a cutoff in a running variable that determines treatment.

Where to go next

For deeper study, standard references include Wooldridge for cross-section and panel data, Hansen for econometric theory, and Angrist and Pischke for applied causal inference.

See the full Graduate Econometrics course