Module 3A0 Tests For A Population Mean
Module 3A0 Tests For A Population Mean
and
tests for a population mean
(one sample)
Learning objectives
At the end of this session, you should be able to:
1. understand the definitions used in hypothesis testing;
2. state the null and alternative hypotheses;
3. state the five steps used in hypothesis testing using the critical value or
traditional method;
4. state the five steps used in hypothesis testing using the p-value method;
4. test means when the population standard deviation is known, using the z-test;
5. test means when the population standard deviation is unknown, using the t-
test.
Statistical hypothesis testing
A hypothesis is a claim, assumption or conjecture about a population parameter.
It may or may not be true.
*population mean
𝐻0 : 𝜇 ≠ 𝑃ℎ𝑃 7,500
➢ It may or may not be proven.
Common phrases for hypotheses
“=“ “≠“
Is equal to Is not equal to
Is the same as Is different from
Is not different from Has changed from
Has not changed from Is not the same as
“>“
Is greater than
Is above
““
Is higher than
Is at least
Is larger than
Is increased
Is better than
“<“
Is less than
Is below
““
Is lower than
Is at most
Is smaller than
Is decreased
State the null and alternative hypotheses.
A Type I error occurs when we reject the null hypothesis when it is true.
A Type II error occurs when we do not reject the null hypothesis when it is
false.
Type I and Type II errors can not happen at the same time.
Level of significance and critical region
The critical or rejection region is the range of test
values that indicates that there is a significant difference
and that the null hypothesis should be rejected.
The noncritical or non-rejection region is the range of
test values that indicates that the difference was
probably due to chance and that the null hypothesis
should not be rejected.
The critical value separates the rejection region from
the non-rejection region. This value is determined based
on the level of significance, .
Hypotheses and type of test
𝐻0 = 𝑜 ≥ 𝑜 ≤ 𝑜
or or
= 𝑜 = 𝑜
𝐻1 ≠ 𝑜 < 𝑜 > 𝑜
Left-tailed −𝑧𝛼
Right-tailed +𝑧𝛼
Hypothesis tests for the Mean
Hypothesis tests
for
Is known Is unknown
-use z-test -use t-test
-use normal distribution -use Student’s t-distribution
Hypothesis tests for : is known
𝑋ത − 𝜇
𝑍=
𝜎Τ 𝑛
Hypothesis test : Traditional method
3. Find the critical value (refer to Area under normal curve table). Identify the
critical or rejection region.
Given:
𝜇 = 515, = 114
𝑋ത = 540, 𝑛 = 40, 𝛼 = 0.05
Example 1
Solution:
1. H0 : 𝜇 = 515
H1 : 𝜇 > 515 (claim)
2. The z-test will be used since the population standard deviation is known.
Computed value of z:
540 − 515
𝑧𝑐𝑜𝑚𝑝𝑢𝑡𝑒𝑑 = = 1.39
114Τ 40
Example 1 using critical value approach
3. From the table, when = 0.05, right-tailed, the critical value is 1.645. The
shaded region which corresponds to the rejection region is shown.
5. Conclusion:
There is no sufficient evidence that students who take at least 4 years of English
courses in high school score better in the math reasoning test. The educator’s
belief is not supported.
Example 2 using the traditional method
Solution:
1. H0 : 𝜇 = 52
H1 : 𝜇 ≠ 52 (claim)
3. From the table, when = 0.05, two-tailed, the critical value is 1.96. The
shaded region which corresponds to the rejection region is shown.
5. Conclusion:
There is sufficient evidence that the yearly consumption of soft drinks per
person has changed.
Hypothesis test : p-value method
1. State the hypotheses and identify the claim. The hypotheses can be
structured in one of three ways:
𝑋ത − 𝜇
𝑍=
𝜎Τ 𝑛
Hypothesis test : p-value approach
3. Use the Area under normal curve table to determine the probability or p-
value that corresponds to the computed value obtained in step 2.
The sum of the area in the The area at the left of the The area at the right of the
tails is the p-value. computed z is the p-value. computed z is the p-value.
In other words, the P-value is the actual area under the standard normal
distribution curve associated with the computed value of the test statistic.
Find the P-value given in each situation.
Draw the figure and shade the rejection region. Mark the position of the
computed value of z. Then, find the area associated with the computed value of
z.
1. Computed z = 3.18, right-tailed test with =0.05.
2. Computed z = 2.95, two-tailed test with =0.01.
3. Computed z = -1.25, left-tailed test with =0.01.
Example 3 using the p-value approach
Solution:
1. H0 : 𝜇 = 15
H1 : 𝜇 ≠ 15 (claim)
2. The z-test will be used since the population standard deviation is known.
Computed value of z:
13.8 − 15
𝑧𝑐𝑜𝑚𝑝𝑢𝑡𝑒𝑑 = = −2.59
3Τ 42
Example 3 using p-value approach
3. In the table we are using, when the computed value is 𝑧 = −2.59, the
area is 0.4952. This value is subtracted from 0.50. Also, since this is a two-
tailed test, we will multiply the difference of 0.0048 by 2. The p-value is
(2)(.0048)=0.0096.
Example 3 using p-value approach
Given:
𝜇 = $59,593, = $1500
𝑋ത = $59,886, 𝑛 = 30, 𝛼 = 0.01
Example 4 using p-value approach
Solution:
1. H0 : 𝜇 = $59,593
H1 : 𝜇 < $59,886 (claim)
2. The z-test will be used since the population standard deviation is known.
Computed value of z:
59,886 − 59,593
𝑧𝑐𝑜𝑚𝑝𝑢𝑡𝑒𝑑 = = 1.07
1500Τ 30
Example 4 using the p-value approach
3. From the table, when the computed value is z = 1.07, the area is 0.3577.
Since this is a left-tailed test, this area will be subtracted from 0.50. We
obtain 0.1423. The p-value is 0.1423.
The shaded region which corresponds to the rejection region is shown.
P=0.1423
Z=1.07
Example 4 using the p-value approach
Assumptions:
➢ The sample statistic comes from a random sample
from a normal distribution.
➢ If the sample size is less than 30, use a box and
whisker plot or a normal probability plot to assess
whether the assumption of normality is valid.
➢ If the sample size is at least 30, the central limit
theorem applies and the sampling distribution of
the mean will be normal.
Bibliography: