Type I & Type II Errors (Edexcel A-Level Further Mathematics): Revision Notes
21.3.1 Type I & Type II Errors
Introduction
In hypothesis testing, we make decisions about whether to reject or fail to reject the null hypothesis () based on sample data. However, there is always a risk of making an error. These errors are classified as:
- Type I Error: Rejecting when it is true.
- Type II Error: Failing to reject when it is false. The probabilities of these errors help assess the effectiveness of a statistical test, often summarised using the power function.
Type I and Type II Errors
Type I Error:
- Occurs when is true, but we reject it.
- Probability of a Type I error is the significance level ():
Type II Error:
- Occurs when is false, but we fail to reject it.
- Probability of a Type II error is denoted by :
Power of a Test:
- The power of a test is the probability of correctly rejecting when is true:
Critical Region and Errors
- The critical region determines when is rejected. Its size directly affects and :
- A larger critical region increases but decreases
- A smaller critical region decreases but increases
Power Function
The power function of a test, , gives the probability of rejecting for a specific value of the parameter under .
For a test statistic :
The power function helps visualise how effective the test is across different possible values of .
Worked Examples
Example 1: Calculating Type I Error
Problem
A machine produces items with a mean weight
We test vs at a significance level of 5%.
A sample mean of is used, and the critical region is (assuming standard normal distribution).
Calculate the probability of a Type error.
Step 1: Define Type I Error
A Type error occurs when is rejected even though (i.e., is true)
Step 2: Use the Critical Region
Under follows a standard normal distribution:
The critical region is:
Step 3: Find the Probability
For a standard normal distribution:
Using symmetry:
Thus:
Final Answer:
The probability of a Type error () is 0.05 or 5%
Example 2: Calculating Type II Error and Power
Problem
Using the same test as in Example , calculate the probability of a Type error () if under .
Assume and
Step 1: Define Type Error
A Type error occurs when is not rejected even though is true.
This happens when does not fall in the critical region:
Step 2: Find the Distribution Under
If
For
Step 3: Find
Standardise under :
where
Simplify:
From standard normal tables:
Using normal tables:
Thus:
Step 4: Calculate Power
The power is:
Final Answer:
- Probability of Type error (): 0.2946
- Power of the test: 0.7054
Note Summary
Common Mistakes
- Confusing Type I and Type II errors:
- Type I: Reject when true.
- Type II: Fail to reject when false.
- Incorrect critical region: Ensure the critical region corresponds to the significance level.
- Mixing distributions: Use the correct distribution under or
- Forgetting to calculate power: Power is the complement of
Key Formulas
- Type Error:
- Type Error:
- Power:
- Critical Region:
- One-tailed:
- Two-tailed: Split equally between tails.