Type II Error
Study guide: Exam MAS-I
A Type II Error is the failure to reject the null hypothesis H_0 of a hypothesis test when the alternative hypothesis H_1 is true. If the test rejects H_0 when the sample \mathbf{X} falls in the critical region C, the probability of a Type II error at a parameter value \theta under H_1 is
\beta(\theta) = P(\mathbf{X} \notin C \mid \theta)
The probability 1 - \beta(\theta) is the power of the test at \theta. When H_1 is simple, \beta is a single number.
A single claim
Xis exponential with mean\theta. A test ofH_0: \theta = 100againstH_1: \theta = 200rejectsH_0whenX > 300. What is the probability of a Type II error?
- A Type II error is a failure to reject when
H_1is true, so the probability is computed with\theta = 200.- The test does not reject when
X \le 300.- The probability of a Type II error is
\beta = P(X \le 300 \mid \theta = 200) = 1 - e^{-300/200} = 0.7769.
Type II error 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 probability of a Type II error is
\beta = \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.
A test of
H_0: \mu = 100againstH_1: \mu = 110uses a normal sample of 25 with\sigma = 20and rejects for large\barat significance level 0.05. What is the probability of a Type II error?
- The standard deviation of
\bar{X}is20 / \sqrt{25} = 4.- The test rejects when
\bar{X} > 100 + 1.645 \times 4 = 106.58.- When
\mu = 110, the probability that\bar{X} \le 106.58is\Phi\left(\frac{106.58 - 110}{4}\right) = \Phi(-0.855).- The probability of a Type II error is
\beta = 0.196.
Factors that affect the probability of a Type II error
For a fixed sample size, lowering \alpha raises the critical value and increases \beta, so the probabilities of a Type I error and a Type II error trade off against each other. The probability \beta decreases as the sample size n grows, as \sigma shrinks, or as \mu_1 moves further from \mu_0.
In the test of
H_0: \mu = 100againstH_1: \mu = 110withn = 25and\sigma = 20, the significance level is lowered from 0.05 to 0.01. What is the probability of a Type II error now?
- The test now rejects when
\bar{X} > 100 + 2.326 \times 4 = 109.31.- The probability of a Type II error is
\beta = \Phi\left(\frac{109.31 - 110}{4}\right) = \Phi(-0.174) = 0.431.- Lowering
\alphafrom 0.05 to 0.01 raised\betafrom 0.196 to 0.431.