


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!



Undergraduates may solve the “Graduate only” problem(s) for possible extra credit. Some of the problems ask for plots; you’re welcome (actually encouraged) to use a com- puter to produce these plots.
(a) Find c such that the size is 0.05. (b) Find the power function pow(θ) of the test. (c) Sketch your power function when θ 0 = 1 and n = 10.
(a) Find a test with size 0.05 based on the Central Limit Theorem approximation of the sampling distribution of X (b) Find the power function pow 0 (θ) for this new test. (c) Compare the power function pow 0 (θ) to pow(θ) from Problem 2(b) by sketching a graph of the two, overlaid on the same plot, with θ 0 = 1 and n = 10.
(^1) This problem explains why it is typical to consider tests like H 0 : θ = θ 0 versus H 1 : θ > θ 0 rather than H 0 : θ ≤ θ 0 versus H 1 : θ > θ 0. The point is that the power function is monotone and, therefore, achieves its maximum over the null parameter space at the boundary point θ 0.
pow(μ) = Φ
−zα −
n(μ 0 − μ) σ
where zα satisfies Φ(−zα) = α, and both μ 0 and σ are fixed and known constants. To show that the same test has size α for the different null hypothesis H 0 ′ : μ ≤ μ 0 , we need to show that maxμ≤μ 0 pow(μ) = α. By the property of zα, it is clear that pow(μ 0 ) = α; moreover, pow(μ) → 0 as μ → −∞. So if we can show that pow(μ) is increasing for μ ∈ (−∞, μ 0 ], then we’re done. To accomplish this, show that the derivative of pow(μ) is positive: dpow(μ) dμ
= ϕ
−zα −
n(μ 0 − μ) σ
n σ
where ϕ is the standard normal PDF, the derivative of Φ. Since the PDF ϕ is positive and so are n and σ, the derivative must be positive. Therefore, the power function is strictly increasing, hence, the size of the test for H 0 ′ : μ ≤ μ 0 is size α.
size = Pθ 0 (X(n) > c) = 1 − Pθ 0 (X(n) ≤ c) = 1 − (c/θ 0 )n,
where we have used the fact that the CDF of X(n), the maximum of the Xi’s, is the CDF of X 1 to power n. Therefore, if we want the size to be equal to 0.05, take c = 0. 951 /nθ 0. (b) The power function is given by
pow(θ) = Pθ(X(n) > 0. 951 /nθ 0 ) = 1 − 0 .95(θ 0 /θ)n.
(c) Picture below plots pow(θ) when n = 10 and θ 0 = 1.
1.0 1.5 2.0 2.
θ
pow
(θ
)
this is obtained by plugging in the value θ 0 = 0.49 and simplifying. Then the power function is given by pow(0.51) = P 0. 51 (Y > 0. 49 n + 2. 326 · 0. 4999
n)
= P 0. 51
(Y − 0. 51 n
n
− 0. 02 n
n
n + 2.326). The latter quantity is equal to 0.99 iff − 0. 04
n + 2.326 = − 2 .326 or, equivalently, iff n = d(4. 625 / 0 .04)^2 e = 13370.
(a) Since√ Eθ(X 1 ) = θ/2 and Vθ(X 1 ) = θ^2 /12, it follows from the CLT that 3 n(2X − θ)/θ is approximately N(0, 1) when n is large. Therefore, an ap- proximate size α = 0.05 test of H 0 : θ = θ 0 versus H 1 : θ > θ 0 is
reject H 0 iff
3 n(2X − θ 0 ) θ 0
where 1.645 is the 95th percentile of standard normal. (b) The power function is given by
pow 0 (θ) = Pθ
(√ 3 n(2X − θ 0 ) θ 0
= Pθ
= Pθ
(√ 3 n(2X − θ) θ
3 n(θ 0 − θ) θ
( 1. 645 θ 0 θ
3 n(θ 0 − θ) θ
(c) Plots of pow(θ) from Problem 2(b) and and the new pow 0 (θ) with n = 10 and θ 0 = 1 are shown below.
1.0 1.5 2.0 2.
θ
pow
(θ
)
pow pow