Power of a one-sided z test
A statistics problem from Statisticsdrill. Solve it with one answer box, with a fresh sample on every attempt and the worked steps and spreadsheet function in the answer, and it is checked the moment you submit.
The task
A bottling line is supposed to fill bottles to a mean of 488 ml, and the process standard deviation is known to be σ = 7. A sample of n = 49 will be used to test H0: μ = 488 against H1: μ < 488 with a z test at α = 0.1. If the true mean is actually 485.5 ml, what is the power of the test? Answers within 0.004 count, so z values rounded to 2 decimals work. Round to 4 decimal places.
What this problem teaches
The formula: Power = Φ( |μ1 - μ0| √n / σ - z_α ). Power rises with a bigger sample, a bigger true shift, a smaller σ, or a larger α. It is 1 - β, where β is the chance of missing a real effect.
A hint if you get stuck
Power = P(reject H0 | true mean). Reject when z = (x̄ - μ0) / (σ/√n) is beyond z_α. Shift the cutoff to the true mean: power = Φ(|μ1 - μ0| √n / σ - z_α).
Try it now, free, no account needed
The first 15 tasks on Statisticsdrill are free. Open it on the practice page, solve it, and get instant feedback with a hint. A free account adds the worked solution; Pro unlocks every task, timed mode and the certificate.
Open this problemMore problems in Inference
- Critical t value for an interval
- Margin of error for a mean (t)
- Confidence interval for a proportion
- Sample size for a mean
- Sample size for a proportion
- One-sample t statistic
- Two-sided t test: p-value and decision
- One-sided t test: p-value and decision
- Two-proportion z test
- Paired t test
- Chi-square test of independence (2 x 3)
- Chi-square 2 x 2: p-value and decision
- Two-sample t test (pooled)
- Welch t test: degrees of freedom and decision
- Confidence interval for a difference of means
- Chi-square goodness of fit
- One-way ANOVA F statistic
- Bonferroni: how many tests survive
- Benjamini-Hochberg: how many discoveries
- Margin of error for a mean (z, σ known)
- One-sample z test (σ known)
- One-proportion z test
- A/B test: sample size per group
- Effect size: Cohen's d
- Chi-square: expected count of a cell