Let be densities or probability mass functions relative to a common measure, describing two simple hypotheses. A randomized hypothesis test is a measurable function , whose value is the conditional rejection probability. Fix . The Neyman-Pearson lemma states that a test with is most powerful among tests with size at most if it rejects where , accepts where , and randomizes as necessary on equality, for a threshold . Sets where are included in rejection. A likelihood-ratio quantile and boundary randomization supply such a test.
To prove optimality, let be any competitor with . Pointwise, the threshold rule makes
Integrating and rearranging gives
Thus no competitor of the permitted size has larger statistical power, proving the lemma. Randomization permits exact size when discrete observations cannot supply it with a deterministic rejection region.
The likelihood ratio for the two binomial probabilities is
strictly increasing in . By the Neyman-Pearson lemma, reject in the highest upper tail. Under the null,
Hence reject exactly when , with no randomization required. Its statistical power at the stated alternative is
For any fixed below 1, the ratio to the null is
It increases with . Its ordering is therefore the same for every such alternative, while the size is determined only by the null. The very same rule, reject when , is most powerful against each alternative and hence is a uniformly most powerful test. At its power is 1, also optimal.
More generally, for , the binomial likelihood ratio against any increases with . Choose an integer cutoff so that
and reject for , randomize with probability
when , and accept below. This gives exact size and is a uniformly most powerful test for every positive integer . Exact prescribed size may require this boundary randomization; a deterministic cutoff alone need not attain it. For , reject all and reject at with probability , which is likewise optimal. At the stated one-sided alternative is empty. The cutoff generally depends on ; there is no claim that one fixed cutoff serves every null parameter.

Articles by others on the same topic (0)

There are currently no matching articles.