Test of Hypotheses For A Single Sample: Learning Objectives
Test of Hypotheses For A Single Sample: Learning Objectives
Is there sufficient
Random Sample evident to support the
claim that the true
A company claims mean is 150g?
Mean
that the average
= 130g
weight of all product
is 150g.
Sample
Introduction
Definition
A statistical hypothesis is a statement about the parameters of
one or more populations.
Example:
1. A company claims that the mean weight all product is 150g.
This is a claim about the population mean: μ = 150g.
• We call:
H0: Null hypothesis
H1: Alternative hypothesis
Introduction
Example:
• We wish to test:
H0: 𝜇 = 150
H1: 𝜇 ≠ 150
α = P(type I error )
= P(reject H0 when H0 is true )
β = P(type II error)
= P(fail to reject H0 when H0 is false)
Test of hypotheses for population mean μ
(σ is known)
Computing Probability of Type I error:
•
By CLT, we have
Remark: The P-value is the smallest level of significance that would lead to
rejection of the null hypothesis H0 with the given data.
Test of hypotheses for population mean μ
(σ is known)
One-tailed test
When we want to test if the population mean is greater or
smaller than a number then we can formulate one-tailed test:
(Right-tailed test);
(Left-tailed test).
Remark:
• The null hypothesis in these cases can be written as
• The test statistic:
Test of hypotheses for population mean μ
(σ is known)
Critical regions and P-values for one-tailed tests
Test of hypotheses for population mean μ
(σ is known)
Example:
The heights of all adults in a community is known to have
standard deviation of 0.03m. A random sample of 43 adults are
collected, and the average height of this sample is 1.64m.
Use both tradition and P-value methods, at the significance level
of 5%, test the hypothesis that the average height of all adults in
the community is greater than 1.6m.
Test of hypotheses for population mean μ
(σ is unknown)
Tradition method
• Step 1: Form the two hypotheses H0: 𝜇 = 𝜇0 and H1: 𝜇 ≠ 𝜇0
Two-tailed test
P-value