Module 4A Two Sample Z-Test For Independent Groups - Updated
Module 4A Two Sample Z-Test For Independent Groups - Updated
SOFTWARE APPLICATIONS
Learning Objective:
At the end of the lesson, the student should be
able to test the differences between two population
means using the z-test.
Two sample tests for the Mean: Independent
populations
Tests of difference between
population means
𝑛 50 50 = 7.45
Step 3
Find the critical values.
Using the area under the normal curve, the critical values are ±1.96.
Zz = -1.96 Zz =1.96
computed z = 7.45
Step 4
The computed z value is 7.45. The interval between the
critical values defines the non-rejection region. Since the
computed value falls in the rejection region, the appropriate
decision is to reject the null hypothesis.
Zz = -1.96 Zz =1.96
computed z = 7.45
Step 5 Since the null hypothesis is
rejected, we conclude that there is
sufficient evidence to support the
claim that the mean hotel room
rates in the two cities are different.
Example 2 (using Excel)
Example 2: Step 1
State the hypotheses and identify the claim.
𝐻0 : 𝜇1 − 𝜇2 = 0
𝐻1 : 𝜇1 − 𝜇2 ≠ 0
The claim is that there is no difference in the average number
of miles of pleasure driving.
A two-tailed test will be used since the alternative hypothesis
is non-directional (with “≠” symbol).
In Excel:
In Excel:
In Excel:
In Excel, the output is as shown:
z-Test: Two Sample for Means
Male Female
Mean 117 119.7143
Known Variance 278.89 259.21
Observations 35 35
• https://youtu.be/5NcMFlrnYp8