Professional Documents
Culture Documents
𝑥1 − 𝑥2 𝑥1 − 𝑥2
𝑧= 𝑜𝑟 𝑧 =
𝑠12 𝑠22 𝑠12 + 𝑠22
+ 𝑛
𝑛1 𝑛2
𝜇1 − 𝜇2
𝑧=
𝜎12 + 𝜎22
𝑛
Two sample means with 𝑛1 ≠ 𝑛2 :
𝑥1 − 𝑥2
𝑧=
(𝑛1 − 1)𝑠12 +(𝑛2 − 1)𝑠22 1 1
∙ +
𝑛1 + 𝑛2 − 2 𝑛1 𝑛2
𝜇1 − 𝜇2
𝑧=
(𝑛1 − 1)𝜎12 +(𝑛2 − 1)𝜎22 1 1
∙ +
𝑛1 + 𝑛2 − 2 𝑛1 𝑛2
FOR TWO-SAMPLE T-TEST:
Two sample means with
𝑛1 = 𝑛2 𝑜𝑟 𝑛1 ≠ 𝑛2 𝑤𝑖𝑡ℎ 𝑢𝑛𝑒𝑞𝑢𝑎𝑙 𝑣𝑎𝑟𝑖𝑎𝑛𝑐𝑒:
𝑥1 − 𝑥2
𝑡= , 𝑤ℎ𝑒𝑟𝑒 𝑑𝑓 = 𝑛1 + 𝑛2 − 2
𝑠12 𝑠22
+
𝑛1 𝑛2
Two sample means with
𝑛1 = 𝑛2 = 𝑛 𝑤𝑖𝑡ℎ 𝑒𝑞𝑢𝑎𝑙 𝑣𝑎𝑟𝑖𝑎𝑛𝑐𝑒:
𝑥1 − 𝑥2
𝑡= , 𝑤ℎ𝑒𝑟𝑒 𝑑𝑓 = 2𝑛 − 2
𝑠12 + 𝑠22
𝑛
Two population means with 𝑛1 = 𝑛2 :
𝜇1 − 𝜇2
𝑡 == , 𝑤ℎ𝑒𝑟𝑒 𝑑𝑓 = 𝑛1 + 𝑛2 − 2
𝜎12 + 𝜎22
𝑛1
𝜇1 − 𝜇2
𝑡= ,
(𝑛1 − 1)𝜎12 +(𝑛2 − 1)𝜎22 1 1
∙ +
𝑛1 + 𝑛2 − 2 𝑛1 𝑛2
𝑑𝑓 = 𝑛1 + 𝑛2 − 2
EXAMPLE 1
The data were gathered from the result of testing the effectiveness
of two different strategies in increasing the mean sales of a product.
Can we conclude that there is a significant difference between the
two strategies based from the mean sales? Test the hypothesis using
a two-tailed test at α = 10% with the given data in each strategy.
z
-3 -2 -1 0 1 2 3
Conclusion: There is a significant difference between the
mean sales of the two strategies.
EXAMPLE 2
A teacher wishes to find out if the E-learning teaching method is more
effective than the traditional lecture method. For the E-learning
teaching method, 15 students of approximately equal intelligence were
selected to be part of the study while for the traditional lecture method,
14 students were chosen. After two months of conducting the two
methods to the students, a 30-item test was given to them to assess
their performance. The scores of the students are shown in the table
below.
Students 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Proposed 30 28 29 20 18 19 16 27 22 24 26 28 30 29 18
Existing 25 27 20 30 16 21 15 25 28 21 19 17 18 13
Test the hypothesis if there is no significant difference between the mean scores of
students in the two methods of teaching at α = 0.01.
Method n 𝑥 s
Proposed 𝑛1 = 15 𝑥1 = 24.27 𝑠1 = 4.98
Existing 𝑛2 = 14 𝑥2 = 21.07 𝑠2 = 5.21
SOLUTION:
Since 𝑛1 = 15 and 𝑛2 = 14 and there are two
independent samples, we have the following test statistics:
Step 1:
z
-3 -2 -1 0 1 2 3
Conclusion:
𝑇ℎ𝑒𝑟𝑒 𝑖𝑠 𝑛𝑜 𝑠𝑖𝑔𝑛𝑖𝑓𝑖𝑐𝑎𝑛𝑡 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑐𝑒 𝑏𝑒𝑡𝑤𝑒𝑒𝑛 𝑡ℎ𝑒 𝑚𝑒𝑎𝑛 𝑠𝑐𝑜𝑟𝑒𝑠 𝑜𝑓
𝑡ℎ𝑒 𝑡𝑤𝑜 𝑔𝑟𝑜𝑢𝑝𝑠 𝑜𝑓 𝑠𝑡𝑢𝑑𝑒𝑛𝑡𝑠 𝑖𝑛 𝑡ℎ𝑒 𝑠𝑡𝑢𝑑𝑦; 𝑜𝑟 𝜇1 = 𝜇2