Page 448 - Probability and Statistical Inference
P. 448

8. Tests of Hypotheses  425

                                           1/n
                           so that k = (1 – α) θ . One may also check directly that the Type I error
                                              0
                           probability for any other θ < θ  is smaller than α. !
                                                    0
                              Sample size determination is important in practice when we wish to
                               control both Type I and II error probabilities. See Exercise 8.4.25.


                           8.5     Simple Null Versus Two-Sided Alternative

                           8.5     Hypotheses

                           Consider testing a simple null hypothesis H  : θ = θ  versus a two-sided alter-
                                                                      0
                                                               0
                           native hypothesis H  : θ ≠ θ  where θ  is a fixed value in the parameter space
                                           1
                                                  0
                                                          0
                           Θ. Will there exist a UMP level α test? The answer is “yes” in some situations
                           and “no” in some others. We refrain from going into general discussions of
                           what may or may not happen when the alternative hypothesis is two-sided.
                                                   2
                              In the case of the N(µ, σ ) distribution with µ unknown but σ known, a
                           UMP level α test fails to exist for deciding between a simple null hypothesis
                           H  : µ = µ  and a two-sided alternative hypothesis H  : µ ≠ µ . On the other
                                                                        1
                                                                               0
                                    0
                            0
                           hand, for the Uniform(0, θ) distribution with θ unknown, a UMP level θ test
                           exists for deciding between a simple null hypothesis H  : θ = θ  and a two-
                                                                          0
                                                                                 0
                           sided alternative hypothesis H  : θ ≠ θ . In the next two subsections, we
                                                             0
                                                     1
                           provide the details.
                           8.5.1   An Example Where UMP Test Does Not Exist
                           Suppose that X , ..., X  are iid N(µ, σ ) with unknown µ ∈ ℜ but known σ ∈
                                                          2
                                             n
                                       1
                           ℜ . Consider the statistic          which is sufficient for µ. We wish
                            +
                           to test the simple null hypothesis H  : µ = µ  against the two-sided alternative
                                                        0
                                                               0
                           H  : µ ≠ µ  with level α where µ  is a fixed real number. We wish to show that
                                                     0
                                   0
                            1
                           there exists no UMP level α test in this situation.
                              Suppose that there is a UMP level α test and let its test function be denoted
                           by ψ* (X). Observe that ψ* (X) is then a UMP level α test for deciding
                           between H  : µ = µ  versus H  : µ > µ . In the Example 8.4.1, however, the
                                           0
                                                    1
                                    0
                                                            0
                           UMP level a for deciding between H  versus H’  was written as
                                                          0        1
                           where z  is the upper 100α% point of the standard normal distribution. See,
                                 α
                           for example, the Figure 8.3.1. The two test functions ψ* and ψ  must coin-
                                                                                 1
                           cide on the sets where ψ  is zero or one. One can similarly show that the
                                                 1
   443   444   445   446   447   448   449   450   451   452   453