Professional Documents
Culture Documents
Lec_8
Reject H0 Reject H0
Reject H0 Fail to Reject H0 Reject H0 Fail to Reject H0
Fail to Reject H0
(Acceptance) Region (Acceptance) Region
(Acceptance) Region
Type 1 and 2 Errors in Hypothesis Testing
• Type 1 error; occurs when you reject the null hypothesis when it is
true
• The probability of committing type 1 error is represented by alpha (α)
• Type 1 error is also called random error
• Type 2 error; occurs when you fail to reject the null hypothesis when
it is false
• The probability of committing type 2 error is represented by beta (β)
• Type 2 error is also called systematic or error of measurement
• The probability of rejecting a false null hypothesis is given by (1-β)
and is called the power of the test or precision
Type 1 and 2 Errors in Hypothesis Testing
Decision (Null Hypothesis) H0
H0 True H0 False
Reject H0 Type 1 Error Correct Decision
Fail to reject H0 Correct Decision Type 2 Error
• Here, we have the null hypothesis (true or false), which we can’t control because it is the true state of nature.
• But we can control our decisions, either to reject the null hypothesis or fail to reject it.
• Let us say the null hypothesis is true, and we reject it when it is true, then that’s an error, (type 1 error)
• If the null hypothesis is false, and we reject it, then we have made a good decision and not an error.
• If the null hypothesis is true, and we fail to reject it, it’s also a good decision, and not an error.
• But, if the null hypothesis is false and we fail to reject it, then that’s bad (we don’t want to accept a false null
hypothesis) and it’s an error (type 2 error).
Example;
• let's say that the null hypothesis (H0 ): John’s car is safe to drive.
a) Which statement represent type 1 error?
b) Which statement represents a type 2 error?
c) Which type of error has greater consequence?
A. John thinks that his car may be safe when in fact, it is not safe.
B. John thinks that his car may be safe when in fact it is safe.
C. John thinks that his car may not be safe when in fact it is not safe.
D. John thinks that his car may not be safe when in fact it is safe.
Example;
A. John thinks that his car may be safe when, in fact, it is not safe. (type 2
error)
B. John thinks that his car may be safe when, in fact it, is safe. (correct
decision)
C. John thinks that his car may not be safe when, in fact, it is not safe
(correct decision)
D. John thinks that his car may not be safe when, in fact, it is safe (type 1
error)
• (type 2 error (systematic/error of measurement) as given above, has a
greater consequence, because john may actually drive the car which is not
safe and cause an accident).
• (type 1 error (random error) as given above, has lesser consequence,
because by the fact that john believes the car is not safe, will not drive it,
and perhaps stay indoors, and no chances of causing an accident).