Module 9 Hypothesis Testing
Module 9 Hypothesis Testing
Example 1
Formulate the null (Ho) and alternative (H1) hypotheses for the following
problems and identify if the hypothesis is directional or non-directional.
Classification: Non-Directional
Classification: Non-Directional
3. A drug store wants to know if the average number of sold paracetamol
tablets is more than 100 per day.
Classification: Directional
Classification: Directional
Try this!
Direction: Formulate the null (Ho) and alternative (H1) hypotheses for the
following problems and identify if the hypothesis is directional or
non-directional.
1. A clothing store owner believes that the mean income of its customers is
Php 20,000 per month.
Example 2
If 㺘☮㺘ٝ , then there are about 5 chances in 100 that we reject the null
hypothesis when it should be accepted. We are also 95% confident that we
made the right decision.
z
x
0 n 0 z z
0 z z or z z
(i) 0 2 2
z
x 0 n
s
if is unknown and t 㺘, 0 t t ,v
(ii) 0 t=
x 0 n
,
0 t t ,v
s 0 t t
,v
or t t
,v
2 2
with degree of freedom, ᮐ
Example 3
A frozen food company wishes to know the mean length of corn received in a
large shipment. A random sample of 20 corns were collected and measured
and found to have a mean length of 8.0 inches. It has been known that the
standard deviation of all corn shipments is 1.5 inches. Is there a reason to
believe that the mean length of the corn is not 9.0 inches at 㺘☮㺘ٝ?
Solution: Given: h㺘 ☮ٝ
t☮㺘 㺘☮㺘ٝ
1. H 0 : 9.0
H1 : 9.0 (two-tailed)
2. 㺘☮㺘ٝ
3.
z
x 0 n
4. Looking at the table (critical values for Z) on the last page of this module,
z z z z
2 or 2
z z0.025 or z z0.025
z 1.96 or z 1.96 (critical region)
t☮㺘ᮐ❨☮㺘ٝ h㺘
5. ☮ٝ
ᮐ h☮❨t
6. z 1.96 or z 1.96
ᮐ h☮❨t tᮐ ☮❨
since the calculated z-value is within the critical region, we
Reject H0
Example 4
The average weight of 28 randomly selected sacks of rice is 48.54 kilograms
with a standard deviation of 20 kilograms. Test the hypothesis at 0.01 level of
significance that the true mean weight is less than 50 kilos.
Solution: Given: ht h㺘
ot☮ٝo 㺘☮㺘
1. H 0 : 50
H 1 : 50 (one-tailed)
2. 0.01
3. t =
x 0 n
s
4. tᮐ
Degree of freedom ᮐ ht ᮐ h௲
tᮐ 㺘☮㺘
Looking at the t-distribution table on the last page of this module (one-tailed,
0.01 , degree of freedom =27), we have
tᮐ )☮Հ critical regionٝ
ot☮ٝoᮐٝ㺘ٝ ht
5. h㺘
ᮐ 㺘☮ t
6. tᮐ h☮o௲
ᮐ 㺘☮ t ᮐ h☮o௲
since the calculated value is NOT WITHIN the critical value , we
Accept H 0
Try this!
1. The treasurer of a certain university claims that the mean monthly salary of
their college professor is Php21,750.00 with a standard deviation of
Php6,000.00. A researcher takes a random sample of 75 college professor and
were found to have a mean monthly salary of Php19,375.00. Do the 75 college
professors have a lower salary than the rest? Test the claim at 0.05 level of
significance.
2. A nationwide survey found out that the average time that college students
spent on their personal computer is 7.5 hours per week. A random sample of
28 college students showed that they spent 7.1 hours per week using their
computers with a standard deviation of 0.7 hours. Test whether the average
number of hours spent by the 28 college students is significantly lower than
the national average of 7.5 hours. Use a 0.05 level of significance.
Critical Values for z:
=0.01 =0.05
ᮐ h☮ ☮ oٝ
ݓᮐ h☮ٝ௲ٝ ☮❨
t-distribution table:
Degree of freedom