Econometrics
The Essence of Econometrics
Ordinary Least Squares (OLS)
Linear Algebra | Enter the Matrix |
---|---|
y=Xb | Linear Regression |
(X′y)=X′Xb | Pre-multiply both sides of the equation by X’ in order to solve for b |
(X′X)−1X′y=(X′X)−1(X′X)b | Multiply (X’X)-1 by this inverse |
(X′X)−1X′y=Ib | A matrix multiplied by its inverse is the identity matrix (I) |
(X′X)−1X′y=b | OLS |
b=(X′X)−1X′y | OLS |
8 Classical OLS Assumptions
- Linearity Yt=α+βXt+εt
- Expected value of error term is zero E(ε∣X)=0
- X is non-stochastic and fixed in repeated samples Cov(Xs,εt)=0
- Serial Independence Cov(εs,εt)=0
- Homoskedasticity Var(εt)=σ2=constant
- No Multicollinearity ∑Tt=1(δiXit+δjXjt)≠0 and i≠j
- Normality of error term
εt∼N(μ,σ2)