Power of a Test
Study guides: VEE-MS, Exam MAS-I
The Power of a Test is the probability that a hypothesis test rejects the null hypothesis H_0, as a function of the true value \theta of the parameter. If the test rejects H_0 when the sample \mathbf{X} falls in the critical region C, its power at \theta is
1 - \beta(\theta) = P(\mathbf{X} \in C \mid \theta)
\beta(\theta)is the probability of a Type II error at a value\thetaunder the alternative hypothesisH_1.
At the null value \theta_0, the power equals the significance level \alpha, the probability of a Type I error.
In 10 independent trials with success probability
q, a test ofH_0: q = 0.5againstH_1: q > 0.5rejectsH_0when there are at least 9 successes. What are the significance level and the power atq = 0.8?
- The number of successes
Sis binomial with 10 trials.- The significance level is
P(S \ge 9 \mid q = 0.5) = \frac{10 + 1}{1{,}024} = 0.0107.- The power at
q = 0.8isP(S \ge 9 \mid q = 0.8) = 10(0.8)^9(0.2) + (0.8)^{10} = 0.3758.
Power of a test for a mean
An upper-tailed test of H_0: \mu = \mu_0 at significance level \alpha, for a normal sample with known standard deviation \sigma, rejects H_0 when \bar{X} > \mu_0 + z_\alpha \sigma / \sqrt{n}. If the true mean is \mu_1 > \mu_0, the power of the test is
1 - \beta = 1 - \Phi\left(z_\alpha - \frac{\mu_1 - \mu_0}{\sigma / \sqrt{n}}\right)
\Phiis the cdf of the standard normal distribution.z_\alphais the upper\alphapoint of the standard normal distribution.
The power increases as the sample size n grows, as \sigma shrinks, as \mu_1 moves further from \mu_0, and as \alpha is raised.
Claim sizes are normal with standard deviation 800. A test of
H_0: \mu = 5000againstH_1: \mu > 5000uses 100 claims at significance level 0.05. What is the power of the test when the true mean is 5,200?
- The standard deviation of
\bar{X}is800 / \sqrt{100} = 80.- The test rejects when
\bar{X} > 5{,}000 + 1.645 \times 80 = 5{,}131.6.- When
\mu = 5{,}200, the standardized critical value is\frac{5{,}131.6 - 5{,}200}{80} = -0.855.- The power of the test is
P(\bar{X} > 5{,}131.6) = 1 - \Phi(-0.855) = 0.804.
Sample size for a required power
For the upper-tailed test of a mean to have significance level \alpha and a probability of a Type II error of at most \beta at \mu_1 > \mu_0, the sample size n must satisfy
\sqrt{n} \ge \frac{(z_\alpha + z_\beta)\,\sigma}{\mu_1 - \mu_0}
z_\betais the upper\betapoint of the standard normal distribution.
The smallest sample size is the value from this inequality rounded up to the next whole number, so that the requirement is still met.
Claim sizes are normal with standard deviation 800. How many claims does a test of
H_0: \mu = 5000againstH_1: \mu > 5000at significance level 0.05 need to have power 0.90 when the true mean is 5,200?
- Power 0.90 means
\beta = 0.10, soz_\beta = 1.282, andz_\alpha = 1.645.- The sample size must satisfy
\sqrt{n} \ge \frac{(1.645 + 1.282)(800)}{200} = 11.708.- So
n \ge 11.708^2 = 137.08.- The test needs 138 claims.