Professional Documents
Culture Documents
Objective:
At the end of this lesson, you should
be able to
❑calculate the probabilities of
committing Type I and Type
II error. [M11/12SP-IVa-2]
In previous lessons, you learned
the two types of error in
hypothesis testing. A Type I error
occurs if the null hypothesis is true
and it is rejected. A Type II error
occurs if the null hypothesis is not
true but not rejected.
2
Remember that no hypothesis test is
100% true because it is based on the
sample rather than the .
There is always a probability of
drawing an incorrect decision.
In this lesson, you will learn how to
compute the probabilities of
committing Type I and Type II error.
3
A mobile company is innovating a
new mobile phone and is interested how long it
will take for a battery to charge fully. The
standard deviation is known to be 15 minutes.
The company wishes to test if the mean
charging time is at most 30 minutes compared to
the claim that it is more than 30 minutes.
A random sample of 35 mobile phones was
selected and the mean charging time is more
than 35 minutes.
Can it be concluded that the mean charging time
is not at most 30 minutes if the critical region is
greater than 35 minutes? 4
The null hypothesis is that the mean
charging time of the mobile phone to
be fully charged is at most 30 minutes,
and the alternative hypothesis is that
the mean charging time to full charge
is more than 30 minutes.
H0: μ ≤ 30 minutes
HA: μ > 30 minutes
5
➢ Suppose if 𝒙ഥ ≤ 35 minutes,
the mobile company will not
reject the null hypothesis,
ഥ > 35 minutes, the
and if 𝒙
company will reject the null
hypothesis in favor of the
alternative hypothesis.
6
➢ 𝒙ഥ > 35 minutes is the region where the null
hypothesis is rejected while 𝒙ഥ ≤ 35 minutes is
the region where the null hypothesis is not
rejected.
7
Probability of Committing Type I
and Type II Errors
① The probability of committing a
Type I error, denoted by α, will
occur if the null hypothesis is
rejected when it is true.
In symbols,
α = P (reject H0 when H0 is true).
8
Suppose that the true mean
charging time is more than 35
minutes (when μ ≤ 30 minutes is
false) and the calculated sample
mean is not in the critical
region.
This is the case that the null
hypothesis is not rejected when
it is false. 9
② This type of error is called
Type II error.
➢ The probability of Type II error is
β = P (fail to reject H0 when H0 is
not true).
➢ To compute β, a specific value
for μ is set for the alternative
hypothesis.
10
In the example, suppose it is important
to reject the null hypothesis when the mean
charging time is more than 35 minutes.
𝒙 ≤ 35 when μ = 40 minutes)
β = P (ഥ
The diagram below shows the relationship
between the null and alternative hypotheses.
11
Lesson 11: Mean and Variance Sampling Distribution
The formula for z-value is used to
get the corresponding tail area of the
probability of committing Type I and
Type II errors.
The is used when the
population is normally distributed and
population standard deviation is known
while the second formula is used for
any population given that the sample
size is at least 30.
12
𝒙−𝝁 ഥ −𝛍
𝒙
z= z= 𝝈
𝝈 𝒏
where:
z = standard normal distribution value
x = normal variable
ഥ = sample mean
𝒙
μ = mean of the normal distribution
σ = standard deviation of the normal
distribution
n = sample size 13
A mobile company is innovating a new
mobile phone and is interested how long it will
take for a battery to charge fully. The standard
deviation is known to be 15 minutes. The company
wishes to test if the mean charging time is
compared to the claim that it is
more than 30 minutes. A random sample of 35
mobile phones was selected and the mean
charging time is more than 35 minutes.
Can it be concluded that the mean charging time is
not at most 30 minutes if the critical region is
greater than 35 minutes?
14
Step 1: List the known facts of the problem.
μ = 30
σ = 15
ഥ = 35
𝒙
n = 35
ഥ−𝛍
𝒙 𝟑𝟓 − 𝟑𝟎
z= 𝝈 z= 𝟏𝟓 z = 1.97
𝒏 𝟑𝟓
16
Step 5: Find the probability of the tail area,
which is the rejection area.
α = P(z > 1.97)
α = 0.5 − 0.4756
α = 0.0244
The probability of committing Type I error
is 0.0244. This means that 2.44% of all
random samples would lead to the
rejection of the null hypothesis μ ≤ 30
minutes. 17
The product engineer in a
manufacturing company is designing a new
plastic container for their new product and is
interested in the box height. The height of the
container (in cm) is normally distributed and has
a standard deviation of 3 cm. The company
wishes to test if the mean is less than or equal to
10 cm against the claim that it is greater than 10
cm using the results of 32 samples. The critical
region is defined as 𝒙ഥ > 11. What is the
probability of committing Type II error if the
true mean height is 12 cm?
18
Step 1: List the known facts of
the problem. μ = 12
σ=3
ഥ = 11
𝒙
n = 32
ഥ−𝛍
𝒙 𝟏𝟏 −𝟏𝟐
z= 𝝈 z= 𝟑 z = −𝟏. 𝟖𝟗
𝒏 𝟑𝟐
19
Step 3: Identify if the test is one-tailed or
two-tailed.
This is a one-tailed test since the rejection
area are values below 11.
Step 4: Draw the normal curve and label the
z-score/s over the given variable.
20
Step 5: Find the probability of the tail
area, which is the rejection area.
β = P(z <−1.89)
β = 0.0294
The probability of committing Type II
error is 0.0294. This means that 2.94% of
all random samples would lead to the
rejection of the null hypothesis μ ≤ 12
minutes.
21
Is it possible to have
the same probability
of committing Type I
and Type II errors?
22
When the population is normally or
approximately distributed, population
standard deviation σ is unknown, and
n < 30, use the t-test formula. That is,
ഥ−𝝁
𝒙
t = 𝒔 where t is the t distribution
√𝒏
ഥ is the sample mean, μ is the
value, 𝒙
population mean, s is the sample
standard deviation, and n is the sample
size.
23
Table 5.1: of z only
t = −𝟏. 𝟕𝟒
t = 𝟔. 𝟏𝟖
STEP 5: Conclusion:
between the
sample mean and population mean. Thus,
the treasurer of the firm can conclude that
the manager is incorrect in his estimate that
the mean age of the employee is 22.8 years
33
❑ The probability of committing
type I error is the risk of rejecting
the null hypothesis when it is
true.
❑ The probability of committing
type II error is the risk of not
rejecting the null hypothesis
when it is false.34