Professional Documents
Culture Documents
Lesson Proper (2STAT-Module 12)
Lesson Proper (2STAT-Module 12)
The null hypothesis (Ho) is the commonly accepted fact; it is the opposite of the alternative
hypothesis (Ha). Researchers work to reject, nullify or disprove the null hypothesis. Researchers
come up with an alternative hypothesis, one that they think explains a phenomenon and then
work to reject the null hypothesis.
The alternative hypothesis is just an opposite to the null. For example, if your null is I’m
going to win 1 million then your alternative is I’m going to win more than 1 million. Basically, you
are looking at whether there’s enough change (with the alternative hypothesis) to be able to reject
the null hypothesis.
Formulate the null and alternative hypothesis of the following and express in terms of the
equality symbols used for Ho and Ha.
Example 1
1. A Barangay Captain from a certain barangay in Manila claims that the average monthly
income of families with five members from his vicinity is P 12,000.
Solution:
So the given the problem above, Ho: The average monthly income of families with five members
from his vicinity is P12000. (Ho: μ = 12000)
And to oppose Ho, we have Ha: The average monthly income of families with five members from
his vicinity is not P12000. (Ha: μ ≠ 12000)
Example 2
1.1. A Barangay Captain from a certain barangay in Manila claims that the average monthly
income of families with five members from his vicinity is greater than P 12,000.
Solution:
Given the problem above, since equal sign is only allowed in Null Hypothesis then the statement
above should be placed on Alternative Hypothesis.
Ha: The average monthly income of families with five members from his vicinity is greater than
P12, 000. (Ha: μ > 12000)
And to oppose that therefore, the null hypothesis is H o: The average monthly income of families
with five members from his vicinity is not greater than P12000. (H o: μ ≤ 12000)
Example 3
1.2. A Barangay Captain from a certain barangay in Manila claims that the average monthly
income of families with five members from his vicinity is lower than P 12,000.
SHS009
Statistics and Probability
Hypothesis Testing (Part 2)
Solution:
Given the problem above, since equal sign is only allowed in Null Hypothesis then the statement
above should be placed on Alternative Hypothesis.
Ha: The average monthly income of families with five members from his vicinity is lower than
P12000. (Ha: μ < 12000)
And to oppose that therefore, the null hypothesis is H o: The average monthly income of families
with five members from his vicinity is not lower than P12000. (H o: μ ≥12000)
Example 4
The teacher claims that there is no significant difference the mean scores of morning and
afternoon classes in their Math Exam.
Solution:
Let μ1 = mean score of students in morning class in a Math Exam
Let μ2 = mean score of students in afternoon class in a Math Exam
No significant difference means that they are just the same so null hypothesis would be:
Ho: There is no significant difference between the mean scores of morning and afternoon classes.
(Ho: μ1 = μ2)
And to oppose that, therefore alternative hypothesis would be:
Ha: There is a significant difference between the mean scores of morning and afternoon classes.
(Ha: μ1 ≠ μ2)
Example 5
The teacher claims that the mean score of morning class is higher than the mean score of
afternoon class in their Math Exam.
Solution:
Let μ1 = mean score of students in morning class in a Math Exam
Let μ2 = mean score of students in afternoon class in a Math Exam
Given the problem above, since equal sign is only allowed in Null Hypothesis then the statement
above should be placed on Alternative Hypothesis.
Ha: The mean score of morning class is higher than the mean score of afternoon class in their
Math Exam. (Ha: μ1>μ2)
So its null hypothesis will be
Ho: The mean score of morning class is not higher than the mean score of afternoon class in their
Math Exam. (Ho: μ1 ≤ μ2)
Test Statistic
𝑥̅ − 𝜇
𝑧=
𝜎/√𝑛
SHS009
Statistics and Probability
Hypothesis Testing (Part 2)
Large Sample Size or Known Variance is also known as Z-test. Z-test is a test statistic whose
population variance is equal to 𝜎 2 .
Usually in conducting Z-test, n is > 30.
𝑥̅ −𝜇
Then the formula given above is 𝑧 = where 𝑥̅ is sample mean, µ is population mean, σ is the
𝜎/√𝑛
population standard deviation, and n is the number of observations collected.
𝜇1 −𝜇2
The formula given above is 𝑧 = where µ1 and µ2 are population means, σ12 and σ22 are
𝜎2 𝜎2
√ 1+ 2
𝑛1 𝑛2
𝑥1 and ̅̅̅are
̅̅̅ 𝑥2 sample means while 𝑛1 and 𝑛2 are number of data observed. Sp is Spooled Variance
(𝑛1 −1)𝑠12 +(𝑛2 −1)𝑠22
is given by 𝑆𝑝 2 = where s12 and s22 are sample variance.
𝑛1 +𝑛2 −2
The degrees of freedom is 𝑛1 + 𝑛2 - 2.