Hypothesis Testing With One Sample
Hypothesis Testing With One Sample
Actual Truth of H0
Decision H0 is true H0 is false
P is the area to
the left of the
test statistic.
z
-3 -2 -1 0 1 2 3
Test
statistic
Larson & Farber, Elementary Statistics: Picturing the World, 3e 13
Right-tailed Test
2. If the alternative hypothesis contains the greater-than
symbol (>), the hypothesis test is a right-tailed test.
H0: μ k
Ha: μ > k
P is the area to
the right of the
test statistic.
z
-3 -2 -1 0 1 2 3
Test
statistic
Larson & Farber, Elementary Statistics: Picturing the World, 3e 14
Two-tailed Test
3. If the alternative hypothesis contains the not-equal-to
symbol (), the hypothesis test is a two-tailed test. In a
1
two-tailed test, each tail has an area of 2 P.
H0: μ = k
Ha: μ k
P is twice the
P is twice the area to the right
area to the left of the positive
of the negative test statistic.
test statistic.
z
-3 -2 -1 0 1 2 3
Test Test
statistic statistic
Larson & Farber, Elementary Statistics: Picturing the World, 3e 15
Identifying Types of Tests
Example:
For each claim, state H0 and Ha. Then determine whether the
hypothesis test is a left-tailed, right-tailed, or two-tailed test.
a.) A cigarette manufacturer claims that less than one-
eighth of the US adult population smokes cigarettes.
H0: p 0.125
Ha: p < 0.125 (Claim) Left-tailed test
b.) A local telephone company claims that the average
length of a phone call is 8 minutes.
H0: μ = 8 (Claim)
Ha : μ 8 Two-tailed test
Claim
Decision Claim is H0 Claim is Ha
There is enough evidence to There is enough evidence to
Reject H0 reject the claim. support the claim.
There is not enough evidence There is not enough evidence
Do not reject H0 to reject the claim. to support the claim.
Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 19
Hypothesis Testing
for the Mean
(Population σ
Unknown )
Critical Values in a t-Distribution
Finding Critical Values in a t-Distribution
1. Identify the level of significance .
2. Identify the degrees of freedom d.f. = n – 1.
3. Find the critical value(s) using Table 5 in Appendix B in
the row with n – 1 degrees of freedom. If the hypothesis
test is
a. left-tailed, use “One Tail, ” column with a negative
sign,
b. right-tailed, use “One Tail, ” column with a positive
sign,
c. two-tailed, use “Two Tails, ” column with a
negative and a positive sign.
To find the critical value, use Table 5 with d.f. = 23 and 0.01
in the “One Tail, “ column. Because the test is a right-tail
test, the critical value is positive.
t0 = 2.500
To find the critical value, use Table 5 with d.f. = 11 and 0.10
in the “Two Tail, “ column. Because the test is a two-tail
test, one critical value is negative and one is positive.
t= x −μ
s n
Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 28
Testing μ Using Critical Values
Example:
Nakamura et al. (A-1) studied subjects with medial
collateral ligament (MCL) and anterior cruciate ligament
(ACL) tears. Between February 1995 and December 1997,
17 consecutive patients with combined acute ACL and
grade III MCL injuries were treated by the same
physician at the research center. One of the variables of
interest was the length of time in days between the
occurrence of the injury and the first magnetic resonance
imaging (MRI). The data are shown in Table 7.2.1. We
wish to know if we can conclude that the mean number of
days between injury and initial MRI is not 15 days in a
population presumed to be represented by these sample
data. Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 29
Testing μ Using Critical Values
Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 31
Try This Yourself
1. The following data are the oxygen uptakes (milliliters) during
incubation of a random sample of 15 cell suspensions:
14.0, 14.1, 14.5, 13.2, 11.2, 14.0, 14.1, 12.2,
11.1, 13.7, 13.2, 16.0, 12.8, 14.4, 12.9
Do these data provide sufficient evidence at the 0.05 level of
significance that the population mean is not 12 ml?