06.06.2013 Views

Theory of Statistics - George Mason University

Theory of Statistics - George Mason University

Theory of Statistics - George Mason University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

An Optimal Test in a Simple Situation<br />

7.2 Optimal Tests 511<br />

First, consider the problem <strong>of</strong> picking the optimal critical region C in a problem<br />

<strong>of</strong> testing the hypothesis that a discrete random variable has the probability<br />

mass function p0(x) versus the alternative that it has the probability<br />

mass function p1(x). We will develop an optimal test for any given significance<br />

level based on one observation.<br />

For x ∋ p0(x) > 0, let<br />

r(x) = p1(x)<br />

, (7.11)<br />

p0(x)<br />

and label the values <strong>of</strong> x for which r is defined so that<br />

r(xr1) ≥ r(xr2) ≥ · · · .<br />

Let N be the set <strong>of</strong> x for which p0(x) = 0 and p1(x) > 0. Assume that<br />

there exists a j such that<br />

j<br />

p0(xri) = α.<br />

i=1<br />

If S is the set <strong>of</strong> x for which we reject the test, we see that the significance<br />

level is <br />

p0(x).<br />

x∈S<br />

and the power over the region <strong>of</strong> the alternative hypothesis is<br />

<br />

p1(x).<br />

x∈S<br />

Then it is clear that if C = {xr1, . . ., xrj} ∪N, then <br />

x∈S p1(x) is maximized<br />

over all sets C subject to the restriction on the size <strong>of</strong> the test.<br />

If there does not exist a j such that j i=1 p0(xri) = α, the rule is to put<br />

xr1, . . ., xrj in C so long as<br />

j<br />

p0(xri) = α ∗ < α.<br />

i=1<br />

We then define a randomized auxiliary test R<br />

Pr(R = d1) = δR(xrj+1)<br />

= (α − α ∗ )/p0(xrj+1)<br />

It is clear in this way that <br />

x∈S p1(x) is maximized subject to the restriction<br />

on the size <strong>of</strong> the test.<br />

<strong>Theory</strong> <strong>of</strong> <strong>Statistics</strong> c○2000–2013 James E. Gentle

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!