Professional Documents
Culture Documents
0
Let’s Learn
This module was designed and written to help you understand the basic
concepts of hypothesis testing. Each step for hypothesis testing was given emphasis
by providing a separate lesson for each. Only one set of examples was used all
throughout the lessons to clearly show the process of hypothesis testing.
Let’s Try
Directions: Read each question carefully. Encircle the letter of the correct answer.
1. Of the 250 surveyed, 98 students owned a laptop. What is the sample proportion
of the students who owned laptop?
A. 0.39 C. 0.98
B. 0.61 D. 2.50
1
For no. 5-10
A. 0.40 C. 0.10
B. 0.04 D. 0.01
8. What is the value of 𝑞?
A. 0.60 C. 0.82
B. 0.90 D. 0.99
2
Lesson Hypothesis Testing
1 (Population Proportion I)
Let’s Recall
1.
2.
3.
4.
5.
Let’s Explore
Activity 1
There are 358 Senior High School students at Signal Village National High
School. Fifty-four are STEM students, 100 are GAS students, and 78 are ABM
students. The remaining are Caregiving and Tech Voc students. Find the
population proportion of the following:
a. STEM students
b. GAS students
c. ABM students
3
Let’s Elaborate
p = 235/2000.
In the previous modules, we discussed how to perform hypothesis testing for
population mean. In this module, we will perform hypothesis testing for population
proportion using the same steps as we used in hypothesis testing for population
mean.
4. Compute the value of the test statistic from the sample data.
In Metro Manila, 300 housewives were randomly selected and asked whether
they prefer purchasing clothes from department stores or boutiques. If 150 of the
housewives preferred malls, is there sufficient evidence at the 5% level of significance
to suggest that the proportion of housewives throughout Metro Manila who prefer
department stores exceeds 40%?
Solution
H1: The proportion of housewives throughout metro manila who prefer Department
Stores is greater than 40%. In symbol, 𝑝 > 0.40
4
Let us see if 𝑧-test is applicable for the sample problem.
𝑛 = 300
𝑝 = 0.4
𝑞 = 1 − 0.4 → 0.6
𝑛𝑝 = (300)(0.4) → 120
𝑛𝑞 = (300)(0.6) → 180
Since both conditions were satisfied, then we could use z-test for population
proportion which is:
𝑝̂ − 𝑝
𝑧=
𝑝𝑞
√
𝑛
𝑥
where: 𝑝̂ = 𝑜𝑟 𝑠𝑎𝑚𝑝𝑙𝑒 𝑝𝑟𝑜𝑝𝑜𝑟𝑡𝑖𝑜𝑛
𝑛
𝑝 = 𝑝𝑜𝑝𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑝𝑟𝑜𝑝𝑜𝑟𝑡𝑖𝑜𝑛
𝑞 =1−𝑝
𝑛 = 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑠𝑎𝑚𝑝𝑙𝑒𝑠
Note
z-test formula for population proportion is quite different from the z-test
statistic formula for population mean.
c. Choose the level of significance (𝛼) and establish the rejection region.
(ii) Remember that to identify the rejection region, we need to know first if the
problem is a case of a one-tailed test or a two-tailed test. Since the alternative
hypothesis is 𝑝 > .40, it is a one-tailed test. Referring on the table below, we can
identify that the rejection region is 𝑧 > 1.645.
One-tailed Two-tailed
𝛼 = 0.05 𝑧 > 1.645 (𝑜𝑟 𝑧 < −1.645) 𝑧 < −1.96 𝑜𝑟 𝑧 > 1.96
𝛼 = 0.01 𝑧 > 2.33 (𝑜𝑟 𝑧 < −2.33) 𝑧 < −2.575 𝑜𝑟 𝑧 > 2.575
Example 2
A manufacturer of detergent powder claims that 25% of the customers prefer
brand Y. To test the claim, a random of 28 customers are selected and asked what
brand they prefer. If 8 out of 28 customers prefer brand Y, what conclusion can we
draw? Use 𝛼 = 0.01 level of significance.
Solution
a. Formulate the null and alternative hypotheses.
H0: The proportion of customers who prefer brand Y is 25%. In symbol, 𝑝 = 0.25
5
H1: The proportion of customers who prefer brand Y is less than 25%. In symbol 𝑝 ≠
0.25
b. Select an appropriate test statistic and procedure.
We need to test the conditions: 𝑛𝑝 > 5 𝑎𝑛𝑑 𝑛𝑞 > 5.
𝑛 = 28
𝑝 = 0.25
𝑞 = 1 − 0.25 = 0.75
𝑛𝑝 = (28)(0.25) = 7
𝑛𝑞 = (28)(0.75) = 21
𝑧 −test is applicable in this problem.
c. Choose the level of significance (𝛼) and establish the interval of the rejection.
(i) 𝛼 = 0.01
(ii) Since the alternative hypothesis for the situation is 𝑝 ≠ 0.25, it is a two-tailed
test. Referring on the table, the rejection region is 𝑧 > 2.575 𝑜𝑟 𝑧 < −2.575.
Example 3
Mrs. Cruz asserts that fewer than 6% of the bulbs that she sells are defective.
Supposed 250 bulbs are randomly selected, each is tested, and 12 defective bulbs
are found. Does this provide sufficient evidence for Mrs. Cruz to conclude that the
fraction of defective bulbs is less than 0.06? Use 𝛼 = 0.01.
Solution
H1: The fraction of defective bulbs less than 6%. In symbol, 𝑝 < 0.06
𝑛 = 250
𝑝 = 0.06
𝑞 = 1 − 0.06 = 0.94
𝑛𝑝 = (250)(0.06) = 15
𝑛𝑞 = (250)(0.94) = 235
𝑧-test is applicable in this problem.
c. Choose the level of significance (𝛼) and establish the interval of the rejection.
(ii) Since the alternative hypothesis for the situation is 𝑝 < 0.06, it is a one-tailed
test. Referring on the table, the rejection region is 𝑧 < −2.33.
6
Let’s Dig In
A. Directions: Which of the following statements is/are true about the use of z-test
for population proportion.
1. 𝑛𝑝 and 𝑛𝑞 are both greater than 5.
Let’s Remember
1. For population proportion, z-test will be applicable only if 𝑛𝑝 > 5 𝑎𝑛𝑑 𝑛𝑞 > 5, where:
𝑛 is the number of samples, 𝑝 is the population proportion, and 𝑞 is 1- 𝑝.
𝑝̂ − 𝑝
𝑧=
𝑝𝑞
√
𝑛
7
Let’s Apply
Directions: Read each problem. Write the null and alternative hypotheses and
identify the rejection region.
1. A telephone company claims that 80% of young adults in Manila are using their
cellphones to connect to the internet. In a random sample of 130 young adults, 110
say that they use their phones to access the internet. Is there enough evidence to
support the said claim? Use α = 0.01.
2. A Tutorial Center claims that more than 75% of their customers are very satisfied
with their services. One hundred were surveyed using random sampling and it was
found out that 83 are very satisfied. Based on these results, should we accept or
reject the company’s claim? Use a 0.05 level of significance.
Let’s Evaluate
Directions: Read each question carefully. Encircle the letter of the correct answer.
1. Of the 250 surveyed, 98 students owned a laptop. What is the sample proportion
of the students who do not owned laptop?
A. 0.39 C. 0.98
B. 0.61 D. 2.50
8
proportion of ships arriving in the port with contaminated cargoes has increased
this year? Use α=.05.
5. Which of the following is a correct null hypothesis?
A. 0.40 C. 0.10
B. 0.25 D. 0.05
A. 0.60 C. 0.82
B. 0.90 D. 0.99
9. Is z-test applicable for this problem?
10. Which of the following rejection region is applicable for this problem?
References
9
Development Team of the Module
Illustrators:
Layout Artist:
Management Team: DR. MARGARITO B. MATERUM, SDS
DR. GEORGE P. TIZON, SGOD-Chief
DR. ELLERY G. QUINTIA, CID Chief
MRS. MIRASOL I. RONGAVILLA, EPS - MATH
DR. DAISY L. MATAAC, EPS – LRMS/ ALS
Schools Division of Taguig city and Pateros Upper Bicutan Taguig City
Telefax: 8384251
10