Type II Error and Power Calculations
Type II Error and Power Calculations
Recall that in hypothesis testing you can make two types of errors
• Type I Error – rejecting the null when it is true.
• Type II Error – failing to reject the null when it is false.
The power of a hypothesis test is nothing more than 1 minus the probability of a Type II
error. Basically the power of a test is the probability that we make the right decision
when the null is not correct (i.e. we correctly reject it).
H 0 : µ ≥ 30
H a : µ < 30
[email protected]
A5JSZX32V0 Assume you have prior information σ 2 = 10,0000 so that in a sample of 100
σ2 10,000 σ
σ X2 = = = 100 ⇒ σ X = = 10
n 100 n
What we would like to now is calculate the probability of a Type II error conditional on a
particular value of µ . Lets assume that µ = 26 , but we could choose any value such that
the null is not correct. Lets also assume that the significance level for the test is 0.05.
We know
1. This is a left tailed test
2. We will fail to reject the null (commit a Type II error) if we get a Z statistic
greater than -1.64.
3. This -1.64 Z-critical value corresponds to some X critical value X critical , such ( )
that
⎛ µ = 30 ⎞
P ( z − stat ≥ −1.64) = P ⎜ X ≥ X critical | ⎟ = 0.95
⎝ σ X
= 10 ⎠
Proprietary content.
This©Great Learning.
file is meant forAll Rights Reserved.
personal Unauthorized use or distribution
use by [email protected] only. prohibited
Sharing or publishing the contents in part or full is liable for legal action.
X critical − µ0
−1.64 = Z critical = ⇒
σX
X critical − 30
−1.64 = ⇒ X critical = 13.6
10
So I will incorrectly fail to reject the null as long as a draw a sample mean that greater
than 13.6. To complete the problem what I now need to do is compute the probability of
drawing a sample mean greater than 13.6 given µ = 26 and σ X = 10 . Thus, the
probability of a Type II error is given by
⎛ µ = 26 ⎞ ⎛ 13.6 − 26 ⎞
P ⎜ X > 13.6
⎜ σ =
⎟
⎟
= P⎜Z > ⎟ = P ( Z > −1.24 ) = 0.8925
⎝ X
10 ⎠ ⎝ 10 ⎠
[email protected]
A5JSZX32V0
Proprietary content.
This©Great Learning.
file is meant forAll Rights Reserved.
personal Unauthorized use or distribution
use by [email protected] only. prohibited
Sharing or publishing the contents in part or full is liable for legal action.