Professional Documents
Culture Documents
H0 : = 0
H1 : > 0
We would like to devise a UMP test for the above set of hypotheses. To do this, let us …rst
devise a test for the following set of simple hypotheses where 1 > 0 .
H0 : = 0
H1 : = 1
or
X
n X
n
1
2 2 2
(xi 0) (xi 1) > 2 ln .
i=1 i=1
k
1
or that
2 1 2
2nxn ( 1 0) > 2 ln n 0 + n 21 .
k
Therefore,
2 2 2
2 ln(1=k) n 0 +n 1
xn > =k .
2n( 1 0)
Thus, the critical region has the form xn > k . If we choose that ( ) = 0,
= ( ; 0)
0
= P (X n > k j = 0 )
Xn k
= P p 0 > p 0
= n = n
k
= P Z> p 0 .
= n
Therefore,
k
p 0 =z 0
= n
or, equivalently,
k = 0 +z .0
p
n
Therefore, we have derived the form of the decision rule.
Decision Rule
:
Reject H0 if X n > 0 +z 0
p
n
(or equivalently, z > z 0 )
Note that the decision rule does not depend on 1 . Therefore, any 1 > 0 would result in
the exactly the same critical region. Therefore, above decision rule constitutes an UMP test
for the mean.
The power of the test can be easily calculated. At = 1 > 0 , the power is calculated
by
Xn
( ; 1) = P Xn > 0 +z 0
p j = 1 =P p 1 > 0
p 1 +z 0
n = n = n
0 1
= P Z> p +z 0
= n
0 1
= 1 p +z 0 .
= n
Therefore, ( ) = 0p1
= n
+z 0 . Notice that when 1 = 0, the power is
0
1 p 1 +z 0 =1 (z 0 ) = 1 (1 0) = 0 = ( )
= n
as expected of course.