Learn / Library / Statistics
Best rejection region
A coin is tossed times, independently. You test against . The rejection region may be any set of the possible head-tail sequences, but the probability of rejecting under must be at most . What is the largest possible probability of rejecting under ?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Rank the sequences by how much more likely they are under the alternative.
Solution
- Under each sequence has probability , so the region holds at most sequences.
- Under a sequence with heads has probability , so sequences with more heads are the best ones to include.
- Take the sequence with heads and any of the sequences with heads.
- Their total probability is , which reduces to .
Answer: