09 Handout 1
09 Handout 1
09 Handout 1
Test of Hypothesis
Answer: Since null hypothesis basically means “nothing has changed”, we can assume that
Token’s heart rate should be near average. Hence, ! : & = 140
Since the vet is concerned that Token’s heart rate is slowing, this point of view is represented by
the alternative hypothesis # : & < 140
Getting the probability of obtaining a sample mean of 127.6 or less from a population with true
mean µ = 140. If this probability is small, we can conclude that ! : & = 140 is not valid. Rather,
# : & < 140 and Token’s heart rate is slowing.
()* #./.3)#5!
Test statistic = ' = + = 67 ≈ −2.31
√- √8
Interpretation: If ! : µ = 140 is in fact true, the probability of getting a sample mean of $ ≤ 127.6
is only about 1.044% Because this probability is small, we reject ! : µ = 140 and conclude that
# : µ < 140. Token’s average heart rate seems to be slowing.
Q)RSTUV
III. Two-Tailed Test = F(' > |'( |); therefore,
!: & = L #: & ≠ L
.
APPLICATION:
The Department of Environment and National Resources (DENR) has been studying Pringle Creek
regarding ammonia nitrogen concentration. The concentration has been 2.2 mg/l for couple of years.
However, the residents of the village where the creek is located are raising concern that the
concentration may have changed. Any change in the ammonia nitrogen concentration can affect the
living things such as plants and animals in and around the creek. Let $ be a random variable
representing ammonia nitrogen concentration. Based on the recent studies of Pringle Creek, $ has a
normal distribution with % = 0.30. A random sample of eight (8) water test from the creek is as follows:
2.1 2.0 2.5 2.2 2.7 2.9 2.1 2.4.
Construct a statistical test to examine the claim that the concentration of ammonia nitrogen has
changed from 2.2 mg/l. Use level of significance W = 0.01
d. Test Conclusion
If F-value ≤ α, we reject ! and say that the data are significant at level α. If F-value > α, we do
not reject ! .
e. Interpretation of the test results
Give a simple explanation of your conclusions in the context of the application.
deviation of all such weights is 7.8oz, they want to test if the machine is working properly. A random
sample of 25 bags is checked. The weights are as follows:
464 457 438 453 448 449 440 450
469 432 454 464 449 446 445 455
446 458 456 434 451 447 448 446
452
Does the sample provide sufficient evidence to conclude that the packaging machine is not working
properly at a 5% level of significance?
Using the table for \-distribution, we find an interval containing the F-value. Since this is a two-tailed
test, we use entries from the row headed by two-tail area. Look up the \-value in the row headed by
d. _ = 20. The sample statistic \ = 2.108 falls between 2.086 and 2.528. The F-value for the sample
t falls between the corresponding two-tail areas 0.050 and 0.020.
... ...
one-tail area
0.050 0.020
two-tail area
^. _ = 20
2.086 2.528
Sample t = 2.108
E – Value:
0.020 < E-value < 0.050
W
W
Level of c = a. ad c = a. ae
Significance
For a left-tailed
test
`e : X < b
Critical Value fa
Critical Region:
All z < fa
For a right-tailed
test
`e : X > b
Critical Value fa
Critical Region:
All z > fa
For a two-tailed
test
`e : X ≠ b
Critical Value fa
Critical Region:
All z < −fa
together with all
z > +fa
Situation:
Let $ be a random variable representing the number of sunspots observed in a four-week period. A
random sample of 40 such periods from Spanish colonial times gave the number of sunspots per period.
The sample mean is $ ≈ 47.0 with % = 35. It is thought that for thousands of years, the mean number
of sunspots per four-week period was about & = 41. Do the data indicate that the mean sunspot activity
during the Spanish colonial period was higher than 41? Use W = 0.05. (Brase, 2012)
î − i î − i
'= mn ' =
il
k ki(1 − i)
] ]
where:
î = sample proportion
i = population proportion
] =sample size
l =1−i
The following are the steps when testing hypothesis concerning a proportion:
Step 1 – State the null and the alternative hypotheses.
Step 2 – Choose a level of significance W.
Step 3 – Compute the test statistic.
Step 4 – Determine the critical value.
Step 5 – Make a decision.
Null Hypothesis:
The null hypothesis is usually written in the form:
! : = i!
where i! = specific numerical value for the population proportion i.
Alternative Hypothesis:
The alternative hypothesis can be any of the following:
" : i ≠ i! (two-tailed test)
" : i > i! (one-tailed test)
" : i < i! (one-tailed test)
Example:
It is believed that in the coming election, 65% of the voters in the province of Pampanga will vote for
the administration candidate for governor. Suppose 713 out of the 1,150 randomly selected voters
indicate that they would vote for the administration candidate. At 0.10 level of significance, find out
whether the percentage of voters for the administration candidate is different from 65%.
Solution:
Step 1: State the null and the alternative hypotheses.
! : i = .65
" : i ≠ .65
Step 2: Choose a level of significance: W = 0.10
î − i
'=
ki(1 − i)
]
0.62 − 0.65
'=
0.65(1 − 0.65)
k
1,150
' = −2.133
Step 4: Determine the critical value.
The alternative hypothesis is non-directional. Hence, the two-tailed test shall be used. Divide W by 2,
and then subtract the quotient from 0.5.
W 0.10
= = 0.05
2 2
0.5 − 0.05 = 0.45
Using the Areas Under the Normal Curve Table, 'p = 1.645. At 10% level of significance the critical
7
value is ±1.645.
www.mathandstatistics.com
Step 5: Since the computed test statistic ' = −2.133 falls in the rejection region, reject the null
hypothesis. Conclude that at 0.10 level of significance, there is enough evidence that the percentage of
voters for the administration candidate is different from 65%.
Reference: Brase, C., (2012). Basic Statistics (5th Edition). Ortigas Avenue, Pasig City: Cengage
Learning