Linear Algebra & Optimization
Vectors and matrices, rank, projections, eigenvalues, calculus and optimisation, and OLS derived in matrix form.
- 16Vectors, Matrices & the Dot Product
Data as vectors, and the dot product as the engine behind means, covariances and correlations.
Vector Playground - 17Matrix Multiplication, Transpose & the Design Matrix
Multiplying matrices, transposing products, and the cross-product matrices X′X and X′y that every regression is built from.
A Matrix as a Transformation - 18Linear Independence, Span & Rank
When columns carry the same information, coefficients are not identified. Rank is how you tell.
Collinearity & Rank - 19Inverses, Determinants & Systems of Equations
Solving Ax = b, what the determinant measures, and why nearly singular systems are fragile.
Solving Ax = b - 20Projections, Orthogonality & the Geometry of Least Squares
Least squares is an orthogonal projection. Fitted values, residuals, R² and degrees of freedom all follow from that picture.
Least Squares: Residuals & Orthogonality - 21Eigenvalues, Eigenvectors & Quadratic Forms
The directions a matrix only stretches, and what they reveal about variances, collinearity and stability.
Eigenvectors & Quadratic Forms - 22Positive-Definite Matrices & Variance–Covariance Matrices
Random vectors, their covariance matrices, and the rules for the variance of any linear combination.
Covariance Ellipses & a′Σa - 23Derivatives, Partial Derivatives & Taylor Series
Rates of change, marginal effects and elasticities, and local polynomial approximations of any smooth function.
Taylor Approximations - 24Matrix Calculus & Gradients
Differentiating with respect to a whole vector at once, and deriving the OLS, ridge, WLS and logit first-order conditions.
The Gradient of the Sum of Squares - 25Unconstrained Optimisation & Convexity
First- and second-order conditions, why convexity makes optimisation easy, and the two algorithms behind every estimator.
Gradient Descent vs Newton - 26Constrained Optimisation & Lagrange Multipliers
Optimising subject to budgets and adding-up constraints, the shadow price, and the experimental-design and weighting problems that use it.
Constrained Optimum: Budget & Indifference - 27OLS in Matrix Form
The linear model, the OLS estimator, its mean and variance, s², standard errors and the Gauss–Markov theorem, all in a few lines of matrix algebra.
OLS by Matrices - 28Frisch–Waugh–Lovell & Partialling Out
What "controlling for" really does. Every multiple-regression coefficient is a simple regression on residualised data.
Partialling Out (FWL) - 29OLS Asymptotics & Robust (Sandwich) Variance
Large-sample theory for OLS without normality or homoskedasticity, and the heteroskedasticity- and cluster-robust standard errors applied work relies on.
Heteroskedasticity & Robust Standard Errors - 30Phase 2 Capstone: GMM & Numerical Optimisation
One framework for OLS, IV, 2SLS and MLE: choose moment conditions, minimise a quadratic form, and solve it numerically.
GMM with Two Moments