Math152F09Assign13Solutions PDF
Math152F09Assign13Solutions PDF
Math152F09Assign13Solutions PDF
Rumbos
Fall 2009
versus H1 : = 1
( ) 0.01
(1 ) 0.06
2
0.01
0.05
3
0.01
0.04
4
0.01
0.03
5
0.01
0.02
6
0.01
0.01
7
0.94
0.79
Use the NeymanPearson Lemma to nd the most powerful test for H versus
H1 with signicance level = 0.04. Compute the probability of Type II error
for this test.
Solution: Table 1 shows the values of the likelihood ratio statistic
in the third row. Observe that if we let = 1/3 and the region
dened by , then
= P( 1/3 = ) = 0.04.
Thus, by the NeymanPearson Lemma, the test that rejects H if
1
( )
0.01
0.06
(1 )
( )/(1 ) 1/6
2
0.01
0.05
1/5
3
0.01
0.04
1/4
4
0.01
0.03
1/3
5
0.01
0.02
1/2
6
7
0.01 0.94
0.01 0.79
1
1.19
(1 )
3
is the most powerful test at signicance level = 0.04.
The power of the test is
(1 ) = P( 1/3 = 1 ) = 0.18.
Thus, the probability of a Type II error is 1 (1 ) = 82%.
Fall 2009
versus H1 : = 1 ,
for 1 > .
Solution: According to the NeymanPearson Lemma, the most
powerful test is the LRT. To nd the LRT rejection region, we
rst compute the likelihood ratio statistic
(1 , 2 , . . . , ) =
where
for =
( 1 , 2 , . . . , )
,
(1 1 , 2 , . . . , )
( 1 , 2 , . . . , ) =
,
1 !2 ! !
(1)
=1
= ,
(1 , 2 , . . . , ) ,
where =
.
=1
ln ln
> 0.
ln
Fall 2009
(3)
=1
(b) Show that the test found in part (a) is uniformly most powerful for testing
H : =
versus H1 : > .
Fall 2009
(1 , 2 , . . . , ) =
and
=
1
,
1 !2 ! !
.
=1
=1
that =
1
is also a sucient statistic for .
(, )
,
(, 1 )
which is a function of .
(, ) (, 1 );
that is, if the value of given by the sample falls in the region ,
the null hypothesis is rejected.
Fall 2009
H : 2 = 2
(
,
1 , 2 , . . . , )
(4)
where
and
2 are the MLEs for and 2 , respectively; That is,
1
,
==
=1
and
=
( )2 .
=1
2
(
, 1 , 2 , . . . , )
,
(
,
1 , 2 , . . . , )
(5)
where
(, 1 , 2 , . . . , ) =
1
(2)/2
=1 ( )
2 /2 2
=1
(1 , 2 , . . . , ) =
2
2
=1 ( ) /2
(
=
= /2 /2 /2 ,
where we have set =
2
.
2
/2
/2
Fall 2009
1
( )2 ,
=
2 =1
(6)
0.0
0.2
0.4
g(t)
0.6
0.8
1.0
and () = /2 /2 /2 . Observe that has a 2 ( 1) distribution when the null hypothesis is true. Observe also that () has a
graph like the one sketched in Figure 1. It then follows that for any
Fall 2009
(, 2 , . . . , ) ,
1 or 2 .
The LRT rejection region can also be expressed in terms of the sample
variance, 2 , as follows
2
1 2
1 2
1 or 2
2 ,
2 2 1 or 2 2 + 2 ,