Professional Documents
Culture Documents
Test of Hypothesis
Test of Hypothesis
Hypothesis testing: A procedure is based on sample evidence and probability theory to determine
whether the hypothesis is a reasonable statement.
The null hypothesis is developed for the purpose of testing, either reject or fail to reject
The null hypothesis is a statement that is not rejected unless the sample data provide convincing
evidence that is false. If the given claim contains equality, or a statement of no change from the
given or accepted condition, then it is null hypothesis.
Alternative hypothesis describes what will conclude if rejected the null hypothesis. A statement
that is accepted if the sample data provide sufficient evidence that the null hypothesis is false.
The probability of Type I error is called an risk (is called significance level).
For a two tailed test, there are two rejection regions, one on each side
Do not reject H 0 if L X R
Reject H 0 if X L or X R,
where, L 0 z and R 0 z
2 n 2 n
Equivalently,
Do not reject H 0 if z / 2 z z / 2
X 0
Reject H 0 if z z / 2 or z z / 2 , where z .
/ n
Conclusion
Do not reject H 0 if | z | z / 2 ,
Reject H 0 if | z | z / 2 .
Problem The monthly household income of all the households in a specific community
was 2400 with a population standard deviation 480. An economist is interested in
2
knowing if this mean monthly household income has changed. He selected a random
sample of 144 households and the sample mean was found to be 2480. Conduct the
hypothesis test at 0.05.
H 0 : 2400
H1 : 2400
X 0
z is approximately a standard normal distribution
/ n
Reject H 0 if | z | 1.96.
X 0 2480 2400
But z 2.00
/ n 480 / 144
480
where, L 0 z 2400 1.96 2321.6 and
2 n 144
480
R 0 z 2400 1.96 2478.4.
2 n 144
For a one tailed or lower tail test, the rejection region is in the lower tail side
Do not reject H 0 if X L,
Reject H 0 if X L ,
3
where, L 0 z
n
Equivalently,
Do not reject H 0 if z z ,
X 0
Reject H 0 if z z , where z .
/ n
Problem A machine filling soft drink cans, when appropriately adjusted, fills cans with a
mean of at least 12 ounces and a standard deviation of 0.5 ounces. The contents of the
cans are normally distributed. A random sample of 25 cans is selected and the sample
mean is found to be 11.85 ounces. At a significance level of 0.05, test if there is
sufficiently evidence to believe that the population mean is less than 12 ounces.
H 0 : 12
H1 : 12
X 0
z is approximately a standard normal distribution
/ n
Reject H 0 if z 1.645.
X 0 11.85 12
But z 1.5.
/ n 0.5 / 25
0.5
where, L 0 z 12 1.645 11.8355,
n 25
Reject H 0 if X 11.8355.
4
The conclusion is not to reject H 0 because X 11.8355.
For a one tailed or upper tail test, the rejection region is in the upper tail side
Do not reject H 0 if X R,
Reject H 0 if X R,
where, R 0 z
n
Equivalently,
Do not reject H 0 if z z ,
X 0
Reject H 0 if z z , where z .
/ n