Professional Documents
Culture Documents
Z Test
Z Test
Z Test
• In creating Ho and Ha, please use the values and keywords for
population, not sample.
• For items that involve "before" and "after" values, please use
the "after values" and indicate in your word hypotheses that
you used "final" or "after" values.
Hypothesis Testing:
One Population
Mean
OBJECTIVES
At the end of this lesson, I will be able to:
Assumptions:
1. The sample is a random sample.
2. Either n ≥ 30 or the population is normally distributed when n < 30.
z-TEST WHEN 𝝈 IS KNOWN
● The formula for the z test is
𝑋ത − 𝜇𝑜
𝑧=
𝜎/ 𝑛
where: 𝑋=
ത sample mean
𝜇𝑜 = hypothesized population mean
𝜎 = population standard deviation
n = sample size
Step 2: Since 𝑛 ≥ 30 and sigma can be estimated using z value, use z-test (two-tailed)
The level of significance (𝛼) = 0.05.
Since it is two- tailed, divide it by 2.
So, use 𝛼/2 = 0.05/2 = 0.025
Using the z-table, find the z-value for 0.025
𝑧 𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙 𝑖𝑠 ± 1.96
Decision Rule:
Reject H0 if 𝑧 > 1.96
Otherwise, fail to reject H0
Solution: Example 1 Using Critical z-value
Step 4: Decision:
Since −2.37 > 1.96, Reject H0
Step 5: Conclusion
Therefore, there is sufficient evidence at the 5% level of significance that the average
gas mileage of the car is significantly different from 16 km/L (𝜇 ≠ 16). Hence, the claim of
the manufacturer is not valid.
ONE POPULATION MEAN: Example 2
Suppose that an airline company claims that the average weight of checked
baggage is less than 15 pounds with a population standard deviation of 6.5
pounds. To support the claim, the airline company conducts a random sample
of 150 passengers and finds that the average weight of checked baggage is 14.2
pounds. Do these data support the airline company’s claim at the 5% level of
significance?
Decision Rule:
𝛼 = 0.05, so, z-critical is -1.645
Reject H0 if 𝑧 < 𝑧0.05 = −1.645
Otherwise, fail to reject H0
Rejection region (see figure on the right)
Solution: Example 2 Using Critical z-value
14.2 − 15
𝑧= = −1.5074
6.5Τ 150
4. Decision:
Since −1.5074 > −1.645, fail to reject H0
5. Conclusion:
Therefore, at 5% significance level, the average checked baggage allowance is
not significantly different from15 pounds. The claim is invalid.
ONE POPULATION MEAN: Example 3
The average “moviegoer” sees 8.5 movies a year. A random sample of 40
moviegoers from a large university revealed that the average number of
movies seen per person was 9.6. The population standard deviation is 3.2
movies. At the 0.05 level of significance, can it be concluded that this
represents a difference from the national average?