SP Q4 Module 1
SP Q4 Module 1
SP Q4 Module 1
MEDICINE
EDUCATION
At the end of this lesson, you should be able to:
● illustrate:
(a) null hypothesis,
(b) alternative hypothesis,
(c) level of significance,
(d) rejection region; and
(e) types of errors in hypothesis testing
Hypothesis Testing
a statistical method of using sample data to determine the probability that a given
hypothesis about the population is true
Null Hypothesis
the hypothesis that is assumed to be true. It uses a relation symbol with a
statement of equality, such as ≥, ≤, and =, and is denoted by 𝐻0.
Alternative Hypothesis
the hypothesis that is contrary to the null hypothesis. It uses a relation symbol with
no statement of equality, such as >, <, and ≠, and is denoted by 𝐻𝐴.
a. The daily average time spent by Filipinos on social media is 4 hours a day.
b. The daily average time spent by Filipinos on social media is more or less
than 4 hours a day.
Ha: The daily average time spent by Filipinos on social media is not
equal to 4 hours a day. (Ha: 𝜇 ≠ 4)
Types of Hypothesis Testing
Right-tailed Test
a type of directional test of hypothesis or one-tailed test that is used when an
assertion is made that the parameter falls within the positive end of the
distribution. In a right-tailed test, the alternative hypothesis uses comparatives
such as greater than, higher than, better than, superior to, exceeds, above, increased,
etc.
Left-tailed Test
a type of directional test of hypothesis or one-tailed test that is used when an
assertion is made that the parameter falls within the negative end of the
distribution. In a left-tailed test, the alternative hypothesis uses comparatives such
as less than, smaller than, inferior to, lower than, below, decreased, etc.
H a : The daily average time spent by Filipinos on social media is more than 4 hours a day.
(Ha: 𝜇 > 4)
2. left-tailed test
H o : The daily average time spent by Filipinos on social media is at least 4 hours a day.
(Ho: 𝜇 ≥ 4)
H a : The daily average time spent by Filipinos on social media is less than 4 hours a day.
(Ha : 𝜇 < 4)
3. two-tailed test
H o : The daily average time spent by Filipinos on social media is 4 hours a day.
(Ho : 𝜇 = 4)
H a : The daily average time spent by Filipinos on social media is not equal to 4 hours a day.
(Ha: 𝜇 ≠ 4)
Level of Significance
the probability of rejecting the null hypothesis in favor of the alternative
hypothesis when it is really true, denoted by 𝛼
Example:
Type II Error
an error in hypothesis testing that occurs when a false null hypothesis is not
rejected
Example 1:
Consider the following hypotheses.
𝐻𝑂 : 𝜇 = 10
𝐻𝐴 : 𝜇 ≠ 10
Formula:
𝑥−𝜇
𝑧= 𝜎 ,
𝑛 𝜎
𝑥=𝜇+𝑧
where; 𝑛
𝜇 – population mean
𝜎 – population standard deviation
𝑛 – sample size
Example 1: A school administrator wants to test if the
average score for the final exam is higher than 70 with a
standard deviation of 10 compared to the claim that it is at
most 70. A random sample of 35 students was taken from
the examinees and it was found that their mean score is
greater than 73. What is the probability of committing a type
I error? What is the probability that the sample scored higher
than the rest of the students?
1. State the hypotheses. 3. Find the area of the
rejection region
𝐻𝑜 : 𝜇 ≤ 70
𝐻𝑎 : 𝜇 > 70 𝛼 = 𝑃(𝑧 > 1.77)
= 1 – 0.9616
= 0.0384
2. Solve for the z-score.
Example 2: The new product engineer of a manufacturing
company is interested in the box height of their product.
The height of the container is normally distributed and has
a standard deviation of 3 cm. He wishes to test if the mean
height is greater than 12 cm against the claim that it is at
most 12 cm using the results of 32 samples. The mean
height of the samples is found to be 11 cm. What is the
probability of committing a type II error?
1. State the hypotheses. 3. Find the area of the
non-rejection region.
𝐻𝑜 : 𝜇 ≤ 12
𝐻𝑎 : 𝜇 > 12 𝛽 = 𝑃 (𝑍 < −1.89)
= 0.0294
2. Solve for the z-score.
Solving Problems Involving
Parameters to Be Tested
Parameter
characteristic or measure of a population
Example 1:
Example 3:
3 Null Hypothesis
the hypothesis that is assumed to be true. It uses a relation symbol with a
statement of equality, such as ≥, ≤, and =, and is denoted by 𝐻0 .
4 Alternative Hypothesis
the hypothesis that is contrary to the null hypothesis. It uses a relation symbol with
no statement of equality, such as >, <, and ≠, and is denoted by 𝐻𝐴.
7 Left-tailed Test
a type of directional test of hypothesis or one-tailed test that is used when an
assertion is made that the parameter falls within the negative end of the
distribution. In a left-tailed test, the alternative hypothesis uses comparatives such
as less than, smaller than, inferior to, lower than, below, decreased, etc.
8 Non-directional Test of Hypothesis
or Two-tailed Test
a type of hypothesis test that makes use of two opposite sides or tails of the
distribution. It is used when no assertion is made on whether the parameter falls
within the positive or negative end of the distribution. In a two-tailed test, the
alternative hypothesis uses comparatives such as not equal to, different from, not
the same as, etc.
9 Level of Significance
the probability of rejecting the null hypothesis in favor of the alternative
hypothesis when it is really true, denoted by 𝛼
10 Rejection Region
the set of values in which the null hypothesis is rejected
Type I Error
11 an error in hypothesis testing that occurs when a true null hypothesis is rejected
12 Type II Error
an error in hypothesis testing that occurs when a false null hypothesis is not
rejected
13 𝒛-score
shows the position of a sample mean in the sampling distribution
Probability of Committing a Type I Error
14 The probability of committing a type I error is denoted by
Parameter
16 characteristic or measure of a population
E
X
E
R
C
I
S
E
S
C. Explain when a type I and a type II error will occur.
a. (Ho: 𝜇 ≤ 25)
(Ha: 𝜇 > 25)