Professional Documents
Culture Documents
EXAMPLE 3
In Noble, Manalo & Uy accounting firm, a sample of 25
clients serviced by Noble are found to have an average of 4) 𝐻𝑜: µ = 0. 42 𝐻𝑎: µ ≠ 0. 40
P1.2 million transactions last year, with a standard
deviation of P150,000. A sample of 30 clients serviced by
Manalo averaged P1.28 million, with a standard deviation 5) 𝐻𝑜: µ ≥ 73 𝐻𝑎: µ < 73
of P210,000. Assuming that the population variances are
the same, test whether the average transactions are
equal for these two populations serviced by the two
account executives. 6) 𝐻𝑜: µ ≤ 1200 𝐻𝑎: µ ≠ 1200
QUESTION 1
A manufacturer of bed mattresses wants to test the SEATWORK 1
performance of one of its foam machines. Machine x is Using the statement and relation form, formulate
designed to produce a mean quantity of 500 grams per the null and alternative hypotheses for each of the
minute. They let the machine operate for 25 minutes and following:
produce 1200 grams of foam.
1. Brown Sugar House restaurant is attempting to
#4 Statement form Quantitative form determine whether their weekday lunch
There is no significant business has changed with their new menu.
Ho difference in the mean μ1 = 500 Previously, the average revenue per weekday
quantity. lunch was Php 107,400. A random sample of
There is a significant
25 weekdays after the menu change resulted in
Ha difference in the mean μ1 ≠ 500 a mean revenue of Php 109,850. Has the
quantity. revenue changed significantly if the sample
standard deviation is Php 12,210?
Lesson 2
#1 Statement form
The revenue did not
Quantitative form
HYPOTHESIS TESTING PT. 2
Ho
change significantly.
μ1 = 107, 400
TEST STATISTIC, Z-CRITICAL & T-CRITICAL
The revenue changed
Ha
significantly.
μ1 ≠ 107, 400 TEN STEPS OF HYPOTHESIS TESTING
2. One of the leading companies in the Philippines 3) Determine the type of test.
is concerned that the quality of graduates they 4) Determine the level of significance/degrees
interview for permanent jobs may be of freedom
decreasing. Last year, the average grade point 5) Determine the appropriate test statistic.
average (GPA) of overall applicants interviewed 6) Select the appropriate formula.
was 3.32. This year, the first 145 applicants
interviewed had an average GPA of 3.25. If 7) Calculate the test statistic value.
these 145 students are considered at random 8) Determine the tabular or critical value.
sample, is the company‘s concern justified? 9) State the decision.
Assume that the population standard deviation 10) Make the statistical conclusion.
is 0.19.
For example:
a) Ha: µ > 50 → 𝑜𝑛𝑒 − 𝑡𝑎𝑖𝑙𝑒𝑑 𝑡𝑒𝑠𝑡 (right)
b) Ha: µ < 50 → 𝑜𝑛𝑒 − 𝑡𝑎𝑖𝑙𝑒𝑑 𝑡𝑒𝑠𝑡 (left)
For example:
Ha: µ ≠ 50 → 𝑡𝑤𝑜 − 𝑡𝑎𝑖𝑙𝑒𝑑 𝑡𝑒𝑠𝑡
EXAMPLE 1 EXAMPLE 6
The quality control department of Kamayan Industries, Local government officials, whether pro or
maker of shampoo, wants to test the performance of one anti-administration, were asked about the government’s
of its filling machines. The machine is expected to policy to issue a preventive suspension order. Is it fair?
discharge an average amount of 10 mg per sachet. The
study calls for a sampling of 100 sachets and aims to Answer: Chi-square Test
detect any departure from the setting. Reasons: Test of homogeneity, frequency data
Answer: F-test
Reasons: Test of difference among 4 means
EXAMPLE 4
It is often believed that gender and occupation are
related. Is this statement supported by the following
information? Test the hypothesis at 0.05 level of
significance.
α 0.010
EXAMPLE 2 2
= 2
= 0. 005
Given: (a) precision level at 90%; (b) one-tailed test. 𝑑𝑓 = 25 − 1 = 24
What is the critical value of z?
𝑡0.005,24 = ± 2. 797
Since, precision level is 90%, then level of significance is
0.10. EXAMPLE 2
The director of the Human Resource Department
Thus, 𝑍1 = + 1. 28 𝑜𝑟 − 1. 28 believes that its rank and file employees have a mean
daily rate of Php 225.00. A sample of 16 employees
showed a mean daily rate of Php 415.00. Is this sufficient
evidence for the director to conclude that the average
daily rate is decreasing ? Test the hypothesis at 0.05
level of significance. Find the tabular value of t.
𝑑𝑓 = 16 − 1 = 15
Therefore, 𝑡 = − 1. 753
0.05,15
EXAMPLE 3 Lesson 3
Program A 𝑥𝐴 = 87. 2 𝑠1 = 8. 7 𝑛1 = 16
1. Level of significance;
Program B 𝑥𝐵 = 90. 0 𝑠2 = 9. 1 𝑛2 = 16 2. Degrees of Freedom; and
3. F distribution table
𝑡0.05,30 = ± 1. 697
● The F distribution table is given in the list of
tables (which for convenience is limited to a
level of significance of 0.05).
● Associated with the table of values of F are two
degrees of freedom:
a. one for the MSC or the numerator and
b. one for the MSE or the denominator.
● The tabular or critical value of F is determined by
a pair of degrees of freedom.
EXAMPLE 2
The Noble records’ highest selling musical CD categories 1. Level of significance;
for five days are rap, jazz, and rock. The following sales 2. Degrees of Freedom; and
are in terms of the number of CDs sold. 3. X2 distribution table
Therefore,
Therefore, 2
𝐹0.05,3,26 = 2. 98 𝑋 0.010,1
= 6. 6349
EXAMPLE 3
A plant manager wants to know if there is a difference in
STEP 9. DECISION MAKING
the number of machine breakdowns during the plant’s Hypothesis Testing Methodology
shifts. The following sample information is randomly ■ The decision dilemma on whether to accept or
collected on four machines. At 0.025 level of significance, to reject certain hypotheses basically depends
2
find the tabular value of 𝑋 if he tests whether on two values, the tabular value and the
breakdowns are independent of shifts. computed value.
■ As mentioned, the computed value is
Time of Shift M1 M2 M3 M4 determined by calculations using the
appropriate statistical test formula, while the
6AM - 12NN 5 10 9 12
tabular value is taken from the table.
12NN - 6PM 15 14 11 8
6PM - 12PM 10 7 13 10 Critical Value Method in Decision Making
■ The critical value method is one of the methods
Since, 𝑟 = 3; 𝑐 = 4, then 𝑑𝑓 = (3 − 1)(4 − 1) = 6; and
that leads to a decision about rejection or
α = 0. 025 non-rejection of the null hypothesis.
■ The idea is to determine the critical value,
Therefore, which is the tabular value of the test statistic
2 that divides the rejection and the non-rejection
𝑋 = 14. 4494
0.025,6 region of the distribution and serves as the
boundary between them.
■ The critical value method determines the critical
mean value for the computed value of z to be
in the rejection region.
EXAMPLE 1
Given: (a) 𝑧𝑐 = 2. 19 (b) 𝑧𝑡 = ± 1. 65. What is the
decision?
EXAMPLE 2
A scientific journal on corn farming published that with the
use of new technology, the average yield of corn per
hectare is 1500 cavans. A sample of 115 corn producers
in Cagayan showed an average yield of 1450 cavans with
a standard deviation of 105 cavans. Can we assume that
the yield of corn in Cagayan is significantly different from
the research finding? Use 0.01 significance level.
Ho: µ = 1. 4
На: µ ≠ 1. 4
Type of test: two-tailed test
Level of Significance / Degrees of freedom:
α = 0. 1; 𝑑𝑓 = 15
Test Statistic: t-test
Critical Value: ± 1. 753
Ho: µ = 15
На: µ ≠ 15
Type of test: two-tailed test
Level of Significance / Degrees of freedom:
EXAMPLE 1 α = 0. 05; 𝑑𝑓 = 12
Given: (a) type of test is two tailed test (b) level of Test Statistic: t-test
significance (𝛼) is 0.05 (c) P-value is 0.006 Critical Value: ± 2. 179
What is the decision?
If it is two tailed test, then α = 0. 05.
STEP 10. MAKING THE STATISTICAL CONCLUSION FORMULA FOR COMPUTING THE VALUE OF Z FOR
The prime objective of the hypothesis testing TWO INDEPENDENT SAMPLES
process is to find enough evidence to reach a
decision whether to reject or not to reject the “null (𝑥1−𝑥2)−(µ1−µ2)
hypothesis”. Consequently, the decision leads us 𝑧= 2 2
to form a conclusion. The conclusion is drawn σ1 σ2
with the intention of summarizing the results of 𝑛1
+ 𝑛2
the statistical analysis. Hence, the following may
Where,
be a helpful guideline in drawing conclusions:
µ1 − µ2 = 0 (𝑠𝑖𝑛𝑐𝑒 𝐻𝑜: µ1 = µ2)
1. Read and understand the situation in the given 𝑥1 = 𝑠𝑎𝑚𝑝𝑙𝑒 𝑚𝑒𝑎𝑛 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐴; 𝑥2 = 𝑠𝑎𝑚𝑝𝑙𝑒 𝑚𝑒𝑎𝑛 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐵
study. µ1 = 𝑝𝑜𝑝𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑚𝑒𝑎𝑛 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐴;
2. Identify what is being asked to resolve in the
µ2 = 𝑝𝑜𝑝𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑚𝑒𝑎𝑛 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐵;
study.
3. State the conclusion related and in terms or in 2 2
σ1 = 𝑣𝑎𝑟𝑖𝑎𝑛𝑐𝑒 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐴; σ2 = 𝑣𝑎𝑟𝑖𝑎𝑛𝑐𝑒 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐵
the language of the original problem or
𝑛1 = 𝑠𝑎𝑚𝑝𝑙𝑒 𝑠𝑖𝑧𝑒 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐴; 𝑛2 = 𝑠𝑎𝑚𝑝𝑙𝑒 𝑠𝑖𝑧𝑒 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐵
question.
𝑛1 = 80 𝑛2 = 80
EXAMPLE 1
Given: 𝑥 = 28. 1; 𝑛 = 49; σ = 8. 46; 𝐻𝑜: µ = 25. σ1 = 120 σ1 = 120
Calculate the computed value (𝑧𝑐).
(𝑥−µ) 𝑛 (28.1−25) 49 (12 500 − 11 275) 1225 1225
𝑧= σ
= 8.46 𝑧= =
2
(120) (120)
2
180 + 180 18.9737
𝑧 = 2. 57 80
+ 80
EXAMPLE 2 𝑧 = 64. 56
A survey published in the journal of Marketing
Management attempted to determine why customer EXAMPLE 2
service is important to managers in Malaysia. The Two samples of cultured prawns are drawn, one from the
researchers surveyed managers of selected hotels in Bicol area and the other from Palawan. The 102 prawns
Kuala Lumpur. One of the reasons proposed was that from Bicol showed a mean weight of 8.3 oz with a
customer service is a means of retaining customers. On a standard deviation of 1.12 oz, while the 87 prawns from
scale of 1-4, with 1 being the lowest and 4 being the Palawan showed a mean weight of 7.6 oz with a standard
highest, the survey respondents rated this reason more deviation of 0.8 oz. Test the hypothesis that there is no
highly than any of the other reasons with a mean significant difference in the mean weights of the cultured
response of 3.96. Suppose researchers believe that a prawns from Bicol and Palawan. Assuming all
sample of 20 hotel managers would not rate this reason assumptions are satisfied, what is the computed value of
as highly and conduct a hypothesis test to prove their z?
theory. Data are gathered from 132 respondents and (8.3 − 7.6) 0.7
showed a mean rating of 3.256 with a standard deviation 𝑧= =
(1.12)
2
(0.8)
2
0.0123 + 0.0074
of 0.574. What is the computed value of z? +
102 87
0.7
(𝑥−µ) 𝑛 (3.256−3.96) 132 =
𝑧= σ
= 0.574
0.14036
𝑧 = 4. 987
𝑧 = − 14. 091
TEN STEPS OF HYPOTHESIS TESTING USING THE Z-TEST ACTIVITY 1
The manager of a department store claims that the
average cost of a pair of rubber shoes for teens is
EXAMPLE 1 Php 4,500.00. A random sample of 50 pairs of
A manufacturer of Christmas light bulbs claims that shoes has an average cost of Php 4,200.00 with
the average life of its product will exceed 40 hours. an assumed population standard deviation of Php
A company is willing to buy large quantities of 150.00. At 0.05 level of significance, is there
bulbs if the claim is true. A random sample of 56 enough evidence to reject the manager’s claim?
light bulbs is tested and is found that the sample
mean is 45 hours. If the population has a standard
deviation of 5 hours, is it likely that bulbs will be
bought? (use a = 10%)
1. 𝐻𝑜: µ = 40
2. 𝐻𝑎: µ > 40
3. One tailed test
4. α = 0. 10
5. Z-test
(𝑥−µ) 𝑛
6. 𝑧= σ
7. 𝑧𝑐 = 7. 48
8. 𝑧𝑡 = + 1. 28
9. Reject null hypothesis.
10. The bulbs will be bought.
EXAMPLE 2
A study was made to determine if there is a
significant difference in the salaries of professors in
the private and state colleges in Cebu. The results,
taken from 80 professors on both groups, are as
follows:
Private State
Mean 12 500 11 275
Std. Dev. 120 120
7. 𝑧 = 64. 56
𝑐
8. 𝑧 = ± 1. 96
𝑡
9. Reject null hypothesis.
10. There is a significant difference in the average
salaries between the professors in private and
state colleges.
Lesson 4 EXAMPLE 1
EXAMPLE 1
TEN STEPS OF HYPOTHESIS TESTING USING THE T-TEST
If in a normal population, a sample of 25 is randomly
selected and revealed that it has a mean of 50 with a EXAMPLE 1
standard deviation of 12. What is the computed value of The National Steel Company is manufacturing
the test statistics? (𝐻𝑜: µ = 60) steel wire with an average strength of 50 kilos. The
laboratory tests a random sample of 18 pieces of
Since 𝑛 = 25, 𝑥 = 50, and 𝑠 = 12 then, wires and finds that the mean strength is 48 kilos,
and the standard deviation is 10 kilos. Are the
(50−60) results in accordance with the hypothesis that the
𝑡𝑐 = 12
* 25
company produces steel wire with an average
𝑡𝑐 = − 4. 17 strength of 50 kilos? (Use 10% level of
significance)
EXAMPLE 2
The average number of applicants for a trainee in a call 1. 𝐻𝑜: µ = 50
center for the past 3 years has been 44.5. Recent study 2. 𝐻𝑎: µ ≠ 50
from 10 call centers showed an average of 46 applicants 3. Two tailed test
with a standard deviation of 1.5. What is the computed
4. α = 0. 05, 𝑑𝑓 = 17
value if the hypothesis will be tested?
5. T-test
Since 𝑛 = 10, 𝑥 = 46, 𝑠 = 1. 5 and 𝐻𝑜: µ = 44. 5, then, (𝑥−µ) 𝑛
6. 𝑡= 𝑠
(46−44.5) 7. 𝑡𝑐 = − 0. 85
𝑡𝑐 = 1.5
* 10
𝑡𝑐 = + 3. 16 8. 𝑡𝑡 = ± 1. 74
9. Do not reject Ho.
10. There is no significant difference in the
FORMULA FOR INFERENCE BASED ON TWO SAMPLES average strength.
(POOLED-VARIANCE T-TEST FOR THE DIFFERENCE IN TWO
MEANS) EXAMPLE 2
Use the following data to test if there is a
[(𝑥1−𝑥2)−(µ1−µ2)] 𝑛1+ 𝑛2−2 significant difference between the population
𝑡= means at 10% level of significance. Assume the X
2 2
[(𝑛1−1) 𝑠1 + (𝑛2−1) 𝑠2 ] [ 𝑛 + 𝑛 ]
1 1 is normally distributed in the population and
1 2 variances are approximately equal.
Where,
µ1 − µ2 = 0 (𝑠𝑖𝑛𝑐𝑒 𝐻𝑜: µ1 = µ2) 𝑥1 = 118 𝑛1 = 10 𝑠1 = 23. 9
𝑥1 = 𝑠𝑎𝑚𝑝𝑙𝑒 𝑚𝑒𝑎𝑛 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐴; 𝑥2 = 𝑠𝑎𝑚𝑝𝑙𝑒 𝑚𝑒𝑎𝑛 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐵
𝑥2 = 113 𝑛2 = 10 𝑠2 = 22. 6
µ1 = 𝑝𝑜𝑝𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑚𝑒𝑎𝑛 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐴;
µ2 = 𝑝𝑜𝑝𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑚𝑒𝑎𝑛 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐵;
2 2
𝑠1 = 𝑣𝑎𝑟𝑖𝑎𝑛𝑐𝑒 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐴; 𝑠2 = 𝑣𝑎𝑟𝑖𝑎𝑛𝑐𝑒 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐵 1. 𝐻𝑜: µ1 = µ2
𝑛1 = 𝑠𝑎𝑚𝑝𝑙𝑒 𝑠𝑖𝑧𝑒 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐴; 𝑛2 = 𝑠𝑎𝑚𝑝𝑙𝑒 𝑠𝑖𝑧𝑒 𝑜𝑓 𝑔𝑟𝑜𝑢𝑝 𝐵 2. 𝐻𝑎: µ1 ≠ µ2
3. Two tailed test
4. α = 0. 05, 𝑑𝑓 = 18 FORMULA TO DETERMINE THE VALUE OF F-RATIO
5. T-test
[(𝑥1−𝑥2)−(µ1−µ2)] 𝑛1+ 𝑛2−2 𝑀𝑆𝐶
6. 𝑡= 𝐹𝐶 = 𝑀𝑆𝐸
2 2 1 1
[(𝑛1−1) 𝑠1 + (𝑛2−1) 𝑠2 ] [ 𝑛 + 𝑛 ]
1 2
Where,
7. 𝑡𝑐 = + 0. 48 𝑆𝑆𝐶 𝑆𝑆𝐸
𝑀𝑆𝐶 = and 𝑀𝑆𝐸 =
8. 𝑡𝑡 = ± 1. 73 𝐽−1 𝑁−𝐽
9. Do not reject Ho.
10. There is no significant difference between the 1. Mean Square Column (MSC) also called the
population mean. Mean Square Between, measures the
amount of variability between the columns or
EXAMPLE 3 the explained variability.
R.M. Thai Restaurant is attempting to determine if
their average daily revenue for the new menu
Sum of Squares Column (SSC)
exceeds the old menu. A 15 randomly selected
yields the sum of squares between treatments.
days for the old menu showed mean revenue of
Php 3,600 with standard deviation of Php 250, 2
while the data for the new menu in 15 days 𝑆𝑆𝐶 = ∑ 𝑛 (𝑥𝑗 − 𝑥𝑔)
revealed a mean revenue of Php 3,750 with a
standard deviation of Php 230. What can be
concluded at 1% level of significance? 2. Mean Square Error (MSE) also called the
Mean Square Within, measures the amount
1. Ho: of variability within the columns or the
2. Ha: unexplained variability.
3. Type of Test:
4. Level of Significance/ Degrees of Freedom: Sum of Squares Error (SSE)
5. Test Statistics: yields the variation within columns.
6. Formula:
7. Computed Value: 2
8. Tabular Value: 𝑆𝑆𝐸 = ∑∑ (𝑥𝑖𝑗 − 𝑥𝑗)
9. Decision:
10. Conclusion:
NOTE: Sum of Squares Total = SSC + SSE
ONE-WAY ANOVA (F-RATIO TEST) EXAMPLE 1
The retailing manager of a large magazine stores
Group Treatment wishes to determine whether magazine location
has any effect on its sales. Four different locations
𝐽1 𝐽2 𝐽3 are considered: front, middle, left wing and right
wing. A random sample of 12 stores is selected
𝑖1 with 3 stores randomly assigned to each location.
1 4 7
𝐽 =3 At the end of the trial period, sales volume (in
𝑖2 𝑁 = 9 thousands of pesos) of the magazine in each store
2 5 8
was as follows:
𝑖3 3 6 9
Front Middle Right Wing Left Wing
𝑥𝐽 𝑥𝐽 𝑥𝐽 17.9 24.1 10.9 38.6
1 2 3
1. 𝐻𝑜: 𝑂𝐹 = 𝐸𝐹
2. 𝐻𝑎: 𝑂𝐹 ≠ 𝐸𝐹
3. One tailed test
4. α = 0. 05, 𝑑𝑓 = 1
𝑑𝑓 = (𝑟 − 1)(𝑐 − 1) = (2 − 1)(2 − 1) = 1
𝑟 = 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑟𝑜𝑤𝑠; 𝑐 = 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑐𝑜𝑙𝑢𝑚𝑛𝑠
5. Chi-square test Job
Fila Nike
2 (𝑂−𝐸)
2 Description
6. 𝑋 =∑ 𝐸 (75)(45) (80)(45)
Manager 155
= 21. 7 155
= 23. 3
7. 1. 2 (75)(50) (80)(50)
2 2 Supervisor = 24. 2 = 25. 8
(12−15) (18−15) 155 155
= 15
+ 15
= 1. 2 (75)(60) (80)(60)
Clerk = 29. 1 = 30. 9
8. 3. 84 155 155
9. Do not reject Ho.
10. The coin is fair. (40−21.7)
2
(30−24.2)
2
(5−29.1)
2
21.7
+ 24.2
+ 29.1
2) TO TEST INDEPENDENCE (5−23.3)
2
(20−25.8)
2
(55−30.9)
2
4. α = 0. 05, 𝑑𝑓 = 4
𝑑𝑓 = (𝑟 − 1)(𝑐 − 1) = (3 − 1)(3 − 1) = 4
5. Chi-square test
2 i. Lottery Method
2 (𝑂−𝐸) - In this method, lots of numbers
6. 𝑋 =∑ 𝐸 representing members of the
population are drawn at random.
7. 180. 5
ii. Using the table of random
(𝐶𝑜𝑙𝑢𝑚𝑛 𝑡𝑜𝑡𝑎𝑙)(𝑅𝑜𝑤 𝑡𝑜𝑡𝑎𝑙) numbers
𝐸𝐹 = 𝐺𝑟𝑎𝑛𝑑 𝑡𝑜𝑡𝑎𝑙 - In this method, numbers
representing members of the
population are selected based on
the table of random numbers.
- A table of random numbers is a
series of numbers randomly
generated either manually or
electronically, and listed in the
order in which the numbers were
generated.
7. 3.69
8. 4.61
9. Do not reject the null hypothesis
10. There is no significant difference in the sales
pattern between before and during the promo.
𝑋𝑐𝑜𝑚𝑝𝑢𝑡𝑒𝑑 𝑣𝑎𝑙𝑢𝑒 = 0. 32