

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!


STAT610 - HWK Solution 10
4.1.5 Let FT,θ 0 be the CDF of T under H : θ = θ 0. By Proposition 4.1.2, the p-value is given by
p = α(t) = Pθ 0 (T > t) = 1 − FT,θ 0 (t).
Since FT,θ 0 (t) ∼ Unif(0, 1), p ∼ Unif(0, 1).
4.1.6 By 4.1.5, α(T 1 ), · · · , α(Tr) ∼ i.i.d.Unif(0, 1) iid,
⇒ − log α(T 1 ) · · · − log α(Tr) ∼ Exp(1) ∼ Γ(1, 1) iid
∑^ r
j=
(−2 log α(Tj )) = − 2
∑^ r
j=
log α(Tj ) ∼ Γ(n, 1 /2) ∼ χ^22 r
4.2.5 It is equivalent to do a hypothesis test
H : (X, Y ) ∼ P 0 = N (0, 0 , 1 , 1 , 0 .6) versus K : (X, Y ) ∼ P 1 = N (1, 1 , 1 , 1 , 0 .6).
Suppose T (X, Y ) and c minimize max{P 0 (T ≥ c), P 1 (T < c)}. Let α = P 0 (T ≥ c). By the definition of MP test, any size α MP test also minimizes max{P 0 (T ≥ c), P 1 (T < c)}.
L = f (x, y; P 1 )/f (x, y; P 0 ) = exp
x + y − 1
1 + ρ
By N-P Lemma, ϕk = I(L ≥ k) = I(X + Y ≥ c) with appropriate k and c is an MP size α
test.
T ∼ N (0, 3 .2) under P 0 and T ∼ N (2, 3 .2) under P 1 ,
P 0 (T ≥ c) = P 0
c √
c √
c √
P 1 (T < c) = P 1
c − 2 √
c − 2 √
max{P 0 (T ≥ c), P 1 (T < c)} is minimized when Φ
c √
c − 2 √
⇒ c = 1.
Therefore, we obtained the optimal rule with statistic T (X, Y ) = X + Y and critical value c = 1.
4.2.7 Assume ϕ is an MP level α test, 0 < α < 1.
Pθ[δ(X) 6 = ϕk(X), L(X, θ 0 , θ 1 ) 6 = k] = 0 (1)
where ϕk(X) is a size α likelihood ratio test. Since δ(X) = α 6 = 0 or 1,
Pθ[δ(X) = ϕk(X), L(X, θ 0 , θ 1 ) 6 = k] = 0. (2)
Combine (1) and (2),
Pθ[L(X, θ 0 , θ 1 ) 6 = k] = 0
Therefore, p(X, θ 1 ) = kp(X, θ 0 ) with probability 1. By
p(x, θ 1 )dx =
p(x, θ 0 )dx = 1,
k =
kp(x, θ 0 )dx =
p(x, θ 1 )dx = 1.
4.3.1 (a) X 1 , · · · , Xn ∼ Poisson(θ), p(x; θ) =
enθθ
P xi ∏ xi!
. For θ 1 < θ 2 ,
p(x, θ 2 )
p(x, θ 1 )
= e−n(θ^2 −θ^1 )
θ 2
θ 1
)P^ xi
then p(x, θ 2 )/p(x, θ 1 ) is increasing in T =
Xi. This is a MLR family in T. By theorem 4.3.1, A UMP test is of the form T ≥ c.
(b) Since T =
Xi ∼ Poisson(nθ 0 ) under θ = θ 0 , α = Pθ 0 (T > c). Therefore, α only takes values from {Pθ 0 (T ≥ n) : n = 0, 1 , 2 , · · · }.
(c) Need the table of Poisson distribution.