Professional Documents
Culture Documents
E300 Lecture 25
E300 Lecture 25
Lecture 25:
Generalized Method of Moments
Julius Vainora
University of Cambridge
θ1 , θ 2 , . . . , θ k .
• One way to estimate the parameters is to link them to the j-th moments of the
E Yij = fj (θ1 , θ2 , . . . , θk ) .
Pn
• The estimation replaces E[Yij ] with the sample moments 1
n i=1
Yij and solves the
above equations to obtain the method of moments estimators θ̂1MM , . . . , θ̂kMM .
1 Xn
µ̂MM = Yi = Ȳ .
n i=1
µ̂2 µ̂
α̂ = and β̂ = ,
σ2
b σb2
where
n n n
1X 1X 1X 2
µ̂ = yi and σb2 = (yi − µ̂)2 = yi − µ̂2 .
n n n
i=1 i=1 i=1
N θ, n−1 θ ,
Ȳ ≈
S2 N θ, n−1 2θ2 .
≈
N λθ, n−1 λ2 θ ,
λȲ ≈
N λθ + (1 − λ) θ, n−1 λ2 θ + 2 (1 − λ)2 θ2
θ̂ (λ) ≈ ,
√ d
N 0, λ2 θ + 2 (1 − λ)2 θ 2
n θ̂ (λ) − θ −→ .
yi = xi0 β + εi , i = 1, . . . , n.
unknowns β1 , . . . , βk .
yi = xi0 β + εi , i = 1, . . . , n,
E xi yi − xi0 β
= 0,
E xij2 yi − xi0 β
= 0.
• Using GMM we are utilizing more information and can improve on OLS in case of
use.
• Such a choice of the weighting matrix is asymptotically optimal in the sense that
the asymptotic variance of the estimator is minimized with this choice of the
matrix.
• Problems: which condition to add? GMM is consistent but not unbiased. May
have problems in small samples. Efficiency gains may be small in large samples.
E300 Econometric methods Lecture 25: Generalized Method of Moments 9 / 23
GMM defined formally
• Suppose that data w1 , . . . , wn are i.i.d. and we have moment conditions
E [g (wi , θ 0 )] = 0.
p
• W b n −→
b n is a weighting matrix s.t W W for some W > 0.
yi = xi0 β + εi .
E xi yi − xi0 β
6= 0.
E zi yi − xi0 β
= 0.
E [g (wi , β)] = 0.
• Assuming E ε2i |zi = σε2 (homoskedasticity), we obtain
Ω = σε2 E zi z0i .
normally distributed.
• These results hold under very general conditions, and we do not need to assume
normality.
• Almost all other common estimators (including OLS, 2SLS and even ML
theory.
(b) [4 points] Write down a minimisation problem that a sub-optimal GMM estimator
based on (1) solves.
Note that since f (·) is known we did not need a two-step procedure where we
would first estimate Ŵn .
E300 Econometric methods Lecture 25: Generalized Method of Moments 18 / 23
Example: Mid-course Exam 2021/2022 B2 (4/4)
Pn
(d) [7 points] Solve the minimisation problem from (c). Hint: i=1
zi (yi − xi0 β)/f (zi )
can be written as Z0 Σ−1 (Y − Xβ), where Σ = diag(f (z1 ), . . . , f (zn )).
∗
Solution. Using the hint we get that β̂ GMM is the minimiser of
−1 −1
(Y − Xβ)0 Σ−1 Z Z0 Σ−1 Z Z0 Σ−1 (Y − Xβ) = (Ỹ − X̃β)0 Z̃ Z̃0 Z̃ Z̃0 (Ỹ − X̃β)
0
= PZ̃ Ỹ − PZ̃ X̃β PZ̃ Ỹ − PZ̃ X̃β ,
−1
where PZ̃ = Z̃ Z̃0 Z̃ Z̃0 , Ỹ = Σ−1/2 Y, X̃ = Σ−1/2 X, Z̃ = Σ−1/2 Z, and
Σ−1/2 = diag f (z1 )−1/2 , . . . , f (zn )−1/2 . But the minimiser of this expression is
∗ −1
β̂ GMM = X̃0 PZ̃ X̃ X̃0 PZ̃ Ỹ.
Solution. The autoregressive lag polynomial is Φ(z) = 1 − 0.3z + 0.4z 2 and has
p
roots 3/8 ± 1511/2 /8i with modulus (3/8)2 + 151/82 = 101/2 /2 > 1. Thus, the
process is stable.
Hence, γ(h) = E[yt yt−h ]. Premultiply both sides of the model by yt−1 to get
2
yt yt−1 = φ1 yt−1 + φ2 yt−2 yt−1
γ(1) = φ1 γ(0) + φ2 γ(1).
(c) [5 points] Based on the results in (b), find method of moments estimators of φ1
and φ2 .