472 D Full solutions to selected exercises
26.8 a Test statistic T =
¯
X
n
takesvaluesin(0, ∞). Recall that the Exp (λ) distri-
bution has expectation 1/λ, and that according to the law of large numbers
¯
X
n
will
be close to 1/λ.Hence,valuesof
¯
X
n
closeto1areinfavorofH
0
: λ =1,andonly
values of
¯
X
n
close to zero are in favor H
1
: λ>1. Large values of
¯
X
n
also provide
evidence against H
0
: λ = 1, but even stronger evidence against H
1
: λ>1. We
conclude that T =
¯
X
n
has critical region K =(0,c
l
]. This is an example in which
the alternative hypothesis and the test statistic deviate from the null hypothesis in
opposite directions.
Test statistic T
=e
−
¯
X
n
takes values in (0, 1). Values of
¯
X
n
close to zero correspond
to values of T
close to 1, and large values of
¯
X
n
correspond to values of T
close
to 0. Hence, only values of T
closeto1areinfavorH
1
: λ>1. We conclude that T
has critical region K
=[c
u
, 1). Here the alternative hypothesis and the test statistic
deviate from the null hypothesis in the same direction.
26.8 b Again, values of
¯
X
n
close to 1 are in favor of H
0
: λ =1.Valuesof
¯
X
n
close
to zero suggest λ>1, whereas large values of
¯
X
n
suggest λ<1. Hence, both small
and large values of
¯
X
n
are in favor of H
1
: λ = 1. We conclude that T =
¯
X
n
has
critical region K =(0,c
l
] ∪ [c
u
, ∞).
Small and large values of
¯
X
n
correspond to values of T
close to 1 and 0. Hence,
values of T
both close to 0 and close 1 are in favor of H
1
: λ = 1. We conclude that
T
has critical region K
=(0,c
l
] ∪[c
u
, 1). Both test statistics deviate from the null
hypothesis in the same directions as the alternative hypothesis.
26.9 a Test statistic T =(
¯
X
n
)
2
takesvaluesin[0, ∞). Since µ is the expectation
of the N (µ, 1) distribution, according to the law of large numbers,
¯
X
n
is close to µ.
Hence, values of
¯
X
n
closetozeroareinfavorofH
0
: µ = 0. Large negative values
of
¯
X
n
suggest µ<0, and large positive values of
¯
X
n
suggest µ>0. Therefore, both
large negative and large positive values of
¯
X
n
are in favor of H
1
: µ =0.These
values correspond to large positive values of T ,soT has critical region K =[c
u
, ∞).
This is an example in which the test statistic deviates from the null hypothesis in
one direction, whereas the alternative hypothesis deviates in two directions.
Test statistic T
takesvaluesin(−∞, 0) ∪ (0, ∞). Large negative values and large
positive values of
¯
X
n
correspond to values of T
close to zero. Therefore, T
has
critical region K
=[c
l
, 0) ∪ (0,c
u
]. This is an example in which the test statistic
deviates from the null hypothesis for small values, whereas the alternative hypothesis
deviates for large values.
26.9 b Only large positive values of
¯
X
n
are in favor of µ>0, which correspond to
large values of T .Hence,T has critical region K =[c
u
, ∞). This is an example where
the test statistic has the same type of critical region with a one-sided or two-sided
alternative. Of course, the critical value c
u
in part b is different from the one in
part a.
Large positive values of
¯
X
n
correspond to small positive values of T
.Hence,T
has
critical region K
=(0,c
u
]. This is another example where the test statistic deviates
from the null hypothesis for small values, whereas the alternative hypothesis deviates
for large values.
27.5 a The interest is whether the inbreeding coefficient exceeds 0. Let µ represent
this coefficient for the species of wasps. The value 0 is the a priori specified value
of the parameter, so test null hypothesis H
0
: µ = 0. The alternative hypothesis
should express the belief that the inbreeding coefficient exceeds 0. Hence, we take
alternative hypothesis H
1
: µ>0. The value of the test statistic is