





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Statistics 582, Problem Set 1 Solutions Wellner; 1/14/
σ 2 στ ρ στ ρ τ 2
where σ 2 > 0, τ 2 > 0, and ρ ∈ (− 1 , 1). (a) If we assume that μ 1 = μ 2 ≡ θ and Σ is known, what is the MLE of θ? (b) If we assume that μ is known and σ 2 = τ 2 ≡ θ, what is the MLE of θ? (c) What is the asymptotic distribution of the estimator you found in (b)? (d) Under the same assumption as in (b), what is the MLE of ρ? (e) What is the asymptotic distribution of the estimator you found in (d)?
Solution: (a) When μ 1 = μ 2 = θ and Σ is known, then the log-likelihood for one observation is (relabelling μ 1 = μ, μ 2 = ν),
log p(x; θ) = −
2(1 − ρ^2 )
(x − θ) 2 σ 2
− 2 ρ
(x − θ) σ
(y − θ) τ
(y − θ) 2 τ 2
Hence the score for θ for one observation is
l˙θ (x, y) = 1 1 − ρ^2
(x − θ) σ 2
(y − θ) τ 2
ρ τ
(x − θ) σ
ρ σ
(y − θ) τ
1 − ρ^2
(x − θ) σ
σ
ρ τ
(y − θ) τ
τ
ρ σ
Thus the score equation for θ is
0 = l˙nθ (θ) =
n 1 − ρ^2
(X (^) n − θ) σ
σ
ρ τ
(Y (^) n − θ) τ
τ
ρ σ
and hence
θ̂n = X^ n
σ 2 −^
ρ στ
τ 2 −^
ρ στ
1 σ 2 −^
2 ρ στ +^
1 τ 2 = aX (^) n + (1 − a)Y (^) n
where a =
1 σ 2 −^
ρ στ 1 σ 2 −^
2 ρ στ +^
1 τ 2
Note that this yields
V ar( θ̂) =
n
a^2 σ 2 + 2a(1 − a)ρστ + (1 − a) 2 τ 2
(b) and (d) If σ 2 = τ 2 = θ and μ is known, then the log-likelihood for one observation is (again relabelling μ 1 = μ, μ 2 = ν),
log p(x; θ, ρ) = − log θ −
log(1 − ρ^2 )
−
2(1 − ρ^2 )θ
(x − μ) 2 − 2 ρ(x − μ)(y − ν) + (y − ν) 2
Thus the scores for θ and ρ are given by
l˙θ (x, y) = −^1 θ
2(1 − ρ^2 )θ 2
(x − μ) 2 − 2 ρ(x − μ)(y − ν) + (y − ν) 2
l^ ˙ρ (x, y) = ρ (1 − ρ^2 )
ρ (1 − ρ^2 ) 2 θ
(x − μ) 2 − 2 ρ(x − μ)(y − ν) + (y − ν) 2
θ(1 − ρ^2 )
(x − μ)(y − ν).
Hence the score equations for estimation of θ and ρ are given by
0 = l˙nθ (θ) =
∑^ n
i=
l^ ˙θ (X (^) i , Y (^) i ) = −n θ
n θ 2 2(1 − ρ^2 )
{S (^) XX − 2 ρS (^) XY + S (^) Y Y } ,
and
0 = l˙nρ (ρ) =
∑^ n
i=
l^ ˙ρ (X (^) i , Y (^) i ) = nρ 1 − ρ^2
nρ θ(1 − ρ^2 ) 2
{S (^) XX − 2 ρS (^) XY + S (^) Y Y }+
n θ(1 − ρ^2 )
where
S (^) XX ≡ n−^1
∑^ n
i=
(X (^) i − μ) 2 , S (^) XY ≡ n−^1
∑^ n
i=
(X (^) i − μ)(Y (^) i − ν), S (^) Y Y ≡ n−^1
∑^ n
i=
(Y (^) i − ν) 2.
Solving the first of these for θ̂ yields
θ̂ = 1 2(1 − ρ̂^2 )
{S (^) XX − 2 ρ̂S (^) XY + S (^) Y Y } ;
Rewriting the score equation for ρ with a common denominator of θ(1 − ρ^2 ) 2 yields
θρ(1 − ρ^2 ) − ρ {S (^) XX − 2 ρS (^) XY + S (^) Y Y } + (1 − ρ^2 )S (^) XY = 0 ;
and then plugging in the estimator θ̂ of θ yields the equation
(1 − ρ̂^2 )S (^) XY =
ρ {S (^) XX − 2 ρ̂S (^) XY + S (^) Y Y }.
This has the solution
̂ ρ =
Hence it follows from theorem 4.1.5 that √ n( θ̂n − θ) → (^) d N(0, I (^) θθ−^1 ·ρ ) = N(0, θ 2 (1 + ρ^2 ))
while (^) √ n( ρ̂n − ρ) → (^) d N(0, I (^) ρρ−^1 ·θ ) = N(0, (1 − ρ^2 ) 2 ).
Solution: (i) Ferguson’s problem: here is a verification of the five conditions (a)-(e) when Θ = [1, 2]: (a) Θ = [1, 2] is closed and bounded, hence compact. (b) For fixed x ≤ 1, p(x, θ) = 1/θ is continuous; for 1 < x ≤ 2, p(x, θ) = θ −^1 1 {θ ≥ x, which is upper semi-continuous. For x > 2, p(x, θ) = 0 which is a continuous function of θ. Since log is a continuous function on (0, ∞), these (semi-)continuities carry over to f (x, θ) = log p(x, θ) − log p(x, θ 0 ). (c) Fix θ 0 ∈ Θ. Then
p(x, θ) p(x, θ 0 )
θ 0 θ
(^1) [0,θ] (x) (^1) [0,θ 0 ] (x)
(θ 0 /θ), x ≤ 1 (θ 0 /θ)1 (^) [x,∞) (θ), 1 < x ≤ θ 0 ∞, x > θ 0 , so
sup θ∈Θ
p(x, θ) p(x, θ 0 )
≡ K(x) = θ 0 1 {x ≤ 1 } +
θ 0 x
(^1) (1,θ 0 ] (x) + ∞ (^1) (θ 0 ,∞) (x),
and
sup θ∈Θ
log
p(x, θ) p(x, θ 0 )
≡ F (x) = (log θ 0 )1{x ≤ 1 } + log(θ 0 /x)1 (^) (1,θ 0 ] (x) + ∞ (^1) (θ 0 ,∞) (x),
satisfies Eθ 0 F (X) < ∞. (d) The function ϕ(x, θ, ρ) is given by
ϕ(x, θ, ρ) = sup θ ′^ :|θ ′^ −θ|<ρ
θ ′^
(^1) [0,θ ′ (^) ] (x) =
1 /(θ − ρ), x < θ − ρ 1 /x, |x − θ| ≤ ρ 0 , x > θ + ρ,
which is clearly measurable. (e) If p(x, θ ′^ ) = p(x, θ) a.e. Lebesgue, then
|p(x, θ) − p(x, θ ′^ )|dx = d (^) T V (P (^) θ , P (^) θ ′ ) = 1 − η(P (^) θ , P (^) θ ′ ) = 1 −
θ ′^ ∧ θ θ ′^ ∨ θ
where the last equality follows by a computation as in the final exam for stat 581, Fall ’05. This yields θ ′^ ∨ θ = θ ′^ ∧ θ, which implies θ = θ ′^. (ii) When Θ = [1, ∞) or Θ = (0, ∞), then Θ is no longer compact, and Wald’s theorem does not apply directly. One way to remedy the problem is to compactify the set Θ by some appropriate identification of points in Θ with points on the unit half-circle (as shown in class on 1/9/06). Another way to proceed is to show that the MLE is in a compact set eventually with probability 1; see e.g. van der Vaart’s
re-working of Wald’s theorem. In this case the MLE is ̂θn = max (^1) ≤i≤n X (^) i = X (^) (n) , and it follows that for any θ 0 > δ > 0
P (^) θ 0 (θ 0 − δ > ̂θn ) =
θ 0 − δ θ 0
)n ,
which has a finite sum on n, and hence by the Borel-Cantelli lemma
P (^) θ 0 ( θ̂n < θ 0 − δ infinitely often) = 0,
or, equivalently,
P (^) θ 0 (θ 0 ≥ θ̂n ≥ θ 0 − δ almost always) = 1.
Note that this argument already yields almost sure consistency of the MLE in this case since δ can be chosen to be arbitrarily small.
Solution: We proceed to verify the conditions (a) - (e) of Theorem 4.3 of the course notes. First (a) holds since [0, 1] is compact. (b) holds since for 0 < x < 1 the function θ +→ p(x, θ) is continuous (and hence upper-semicontinuous), while for x = 0 the function θ +→ p(0, θ) = 1 (^) { 0 } (θ) is upper-semicontinuous, and similarly for x = 1 the function θ +→ p(1, θ) = 1 (^) { 1 } (θ) is also upper-semicontinuous. To see that (c) holds, consider the two cases θ > θ 0 and θ ≤ θ 0. When θ > θ 0 ,
f (x, θ) = log p(x, θ) − log p(x, θ 0 )
log(θ 0 /θ) 0 ≤ x ≤ θ 0 < θ log(x/(1 − x)) − log(θ/(1 − θ 0 )) θ 0 < x ≤ θ log((1 − θ 0 )/(1 − θ)) θ < x ≤ 1
log(θ 0 /x) 0 ≤ x ≤ θ 0 < θ log((1 − θ 0 )/(1 − x)) θ 0 < x ≤ θ log((1 − θ 0 )/(1 − x)) θ < x ≤ 1 = (^1) [0,θ 0 ] (x) log(θ 0 /x) + 1 (^) (θ 0 ,1] (x) log((1 − θ 0 )/(1 − x)) ≡ F (x).
Here for the middle term we used
log x − log(1 − x) + log(1 − θ 0 ) + log(1/θ) ≤ log x − log(1 − x) + log(1 − θ 0 ) + log(1/x) = log((1 − θ 0 )/(1 − x))
since 1/θ ≤ 1 /x on the set θ 0 < x ≤ θ. Note that
Eθ 0 F (X) = 2
∫ (^) θ (^0)
0
x θ 0
log
θ 0 x
dx + 2
θ (^0)
1 − x 1 − θ 0
log
1 − θ 0 1 − x
dx < ∞.
Solution: Fix δ > 0 (small). The family of functions F = {f (x, β) = xβ^ : β ∈ [β 0 − δ, β 0 + δ]} are indexed by the compact set [β 0 − δ, β 0 + δ], are continuous in β for every x ≥ 0, and are bounded by
sup β∈[β 0 −δ,β 0 +δ]
|f (x, β)| = xβ^0 +δ^ ∨ xβ^0 −δ^ ≤ xβ^0 +δ^ + xβ^0 −δ^ ≡ F (x)
which satisfies E 0 F (X) < ∞ if δ < 2 β 0. Thus by theorem 4.4.1 (of the section 4 revision) the uniform strong law of large numbers holds for F :
sup β:|β−β 0 |≤δ
|P (^) n f (·, β) − P 0 f (·, β)| → (^) a.s. 0.
If β (^) n → (^) a.s. β 0 , β (^) n ∈ [β 0 − δ, β 0 + δ], with probability 1 for n sufficiently large, and it follows from the uniform strong law law of large numbers (Theorem 1, section 4. revision) together with continuity of μ(β) ≡ E 0 f (X, β) that
αβ n^ n =
n
∑^ n
i=
X iβ^ n
→ (^) a.s. E 0 f (X, β 0 ) = α β 0 0.
(If instead β (^) n → (^) p β 0 , then for and given + > 0 and n ≥ N',δ large, P (^) θ 0 (β (^) n ∈ [β 0 − δ, β 0 + δ]) > 1 − + and we can simply argue on this set.) But now
α (^) n = {αβ n^ n } 1 /β^ n^ = g(αβ^ n^ , βn )
where g(u, v) ≡ u 1 /v^ is continuous and (αβ^ n^ , βn ) → (^) a.s. (α β 0 0 , β 0 ). Hence by the continuous mapping theorem
α (^) n = g(αβ n^ n , βn ) → (^) a.s. g(α β 0 0 , β 0 ) = α 0.
B. The log-likelihood is
ln (α, β) = n log(β/α) + (β − 1)
∑^ n
i=
log(X (^) i /α) −
∑^ n
i=
X (^) i α
)β ,
and hence
ln (α, β (^) n ) = n log(β (^) n /α) + (β (^) n − 1)
∑^ n
i=
log(X (^) i /α) −
∑^ n
i=
X (^) i α
)β (^) n
= −nβ (^) n log α −
X iβ^ n αβ^ n
= −n log η −
X iβ^ n η
where η ≡ αβ^ n^. This is easily seen to be maximized by
η ≡
n
∑^ n
i=
β (^) n i
and hence
α (^) n =
n
∑^ n
i=
X iβ^ n
} 1 /β (^) n
as claimed. Thus α (^) n is a pseudo-MLE of α.
V (^) n (r) ≡
n
∑^ n
i=
|X (^) i − X (^) n | r^.
If E|X| r^ < ∞, show that V (^) n (r) → (^) a.s. v(r) where v(r) ≡ E|X 1 − μ| r^. (b) Now suppose we generalize the problem considered in (a) by considering X 1 ,... , Xn i.i.d. P on R d^. Let ‖ · ‖ be the usual Euclidean metric in R d^ , and consider V (^) n (r) ≡
n
∑^ n
i=
‖X (^) i − X (^) n ‖ r
for 1 ≤ r ≤ 2 where X (^) n is the (multivariate) sample mean of the X (^) i ’s. Can the same method be used to show that V (^) n (r) → (^) a.s. v(r) where v(r) ≡ E‖X 1 − μ‖ r^ (assuming that E‖X 1 ‖ r^ < ∞)?
Solution: (a) Since X (^) n → (^) a.s. μ under the assumption that E|X| r^ < ∞ for some 1 ≤ r ≤ 2, we can consider the class of functions
F ≡ {ft (x) : t ∈ [μ − δ, μ + δ]}
for some δ > 0 where ft (x) = |x − t| r^. These functions are continuous in t for all x, [μ − δ, μ + δ] is compact, and for each fixed x ∈ R we have
|ft (x)| = |x − t| r^ ≤ 2 r−^1 {|x| r^ + |t| r^ } ≤ 2 r−^1 {|x| r^ + (|μ + δ| ∧ |μ − δ|) r^ ≡ F (x)
for all t ∈ [μ − δ, μ + δ] where EF (X) = 2 r−^1 E|X| r^ + 2 r−^1 (|μ + δ| ∧ |μ − δ|) r^ < ∞. Furthermore, the function H(t) ≡ P |X − t| r^ =
|x − t| r^ dP (x) is continuous at μ by the dominated convergence theorem and continuity of the functions t +→ |x−t| r^ : note that 2r−^1 {|x| r^ + |t| r^ } ≤ 2 r−^1 {|x| r^ + (|μ + δ| r^ ∧ |μ − δ| r^ )} is an integrable dominating function. Thus, much as in the handout, for n so large that X (^) n ∈ [μ − δ, μ + δ],
|V (^) n (r) − v(r)| ≤ |P (^) n fX (^) n − P fμ | ≤ |P (^) n fX (^) n − P fX (^) n | + |PX (^) n − P fμ | ≤ sup t:|t−μ|≤δ
|P (^) n ft − P ft | + |H(X (^) n ) − H(μ)|
→ a.s.0 + 0 = 0
by using the Glivenko-Cantelli theorem 4.1 for F to handle the first term, and by the continuous mapping theorem and a.s. consistency of X (^) n for the second term.