Type I Error
Study guides: VEE-MS, Exam MAS-I
A Type I Error is the rejection of the null hypothesis H_0 of a hypothesis test when H_0 is true. If the test rejects H_0 when the sample \mathbf{X} falls in the critical region C, the probability of a Type I error is
\alpha = P(\mathbf{X} \in C \mid H_0)
\alphais the significance level of the test.
The significance level is chosen before the data are seen, commonly 0.05 or 0.01, and it determines the critical value of the test.
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 I error?
- A Type I error is a rejection when
H_0is true, so the probability is computed with\theta = 100.- The probability of a Type I error is
\alpha = P(X > 300 \mid \theta = 100) = e^{-300/100} = 0.0498.
Size of a test with a composite null hypothesis
When H_0 is composite, the probability of a Type I error depends on which parameter value in H_0 is true. The size of the test is the largest of these probabilities:
\alpha = \max_{\theta \in \omega_0} P(\mathbf{X} \in C \mid \theta)
\omega_0is the set of parameter values underH_0.
A single claim
Xis exponential with mean\theta. A test ofH_0: \theta \le 100againstH_1: \theta > 100rejectsH_0whenX > 300. What is the size of the test?
- For each
\thetainH_0, the probability of rejection isP(X > 300 \mid \theta) = e^{-300/\theta}.- This probability increases with
\theta, so its largest value on\theta \le 100is at\theta = 100.- The size of the test is
e^{-3} = 0.0498.
Probability of a Type I error by the normal approximation
When a test of H_0: \mu = \mu_0 rejects for a large sample mean, \bar{X} > c, the central limit theorem gives the probability of a Type I error approximately as
\alpha \approx 1 - \Phi\left(\frac{c - \mu_0}{\sigma_0 / \sqrt{n}}\right)
\Phiis the cdf of the standard normal distribution.\mu_0and\sigma_0are the mean and the standard deviation of one observation underH_0.
Claim sizes are exponential with mean
\theta. A test ofH_0: \theta = 1000againstH_1: \theta > 1000uses 100 claims and rejectsH_0when\bar > 1200. What is the probability of a Type I error, by the normal approximation?
- Under
H_0, one claim has mean\mu_0 = 1{,}000and standard deviation\sigma_0 = 1{,}000.- The standard deviation of
\bar{X}is1{,}000 / \sqrt{100} = 100.- The probability of a Type I error is
1 - \Phi\left(\frac{1{,}200 - 1{,}000}{100}\right) = 1 - \Phi(2) = 0.0228.