You test against with a one-sided z-test at , where is known and . Use and . If the true mean is , what is the power? How large must be for 80% power?
Probability and statistics, Hypothesis testing
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can compute power from the distribution of the test statistic under the alternative, and invert it for sample size.
Key idea
Reject when . Power . Setting this to gives .
Steps
- The standard error is .
- The rejection threshold is . We reject when .
- If , then . Power .
- That is , so the power is about 80%.
- For 80% power: . Round up to .
- So is just enough for 80% power at an effect size of 0.5.
Common mistakes
- Computing the probability under instead of under .
- Rounding down. Always round up.
- Using a two-sided critical value () for a one-sided test.
How long your answer should be
Half a page, 4–5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probability and statistics: For i.i.d. data, consider . Which gives the smallest mean squared error, and how do the unbiased choice and the MLE compare for ?
Next in Probability and statistics: For the sample , what is the exact bootstrap variance and standard error of the sample mean, and how does it compare with the usual ? How would you get a 95% percentile bootstrap interval in practice?