Documente Academic
Documente Profesional
Documente Cultură
Learning Outcomes
By the end of this chapter, the following targets should have been accomplished
I. Introduction
Parameter Description
Mean; average
Difference in means or averages; mean difference;
(1 2) comparison of means or averages
In all hypothesis testing of parameters, the same general processes are employed:
stating the null and alternative hypotheses, determining and computing test statistic,
establishing rejection region, making decisions and interpreting the decisions.
where z is the z-value such that P(z > z) = ; and z/2 is the z-value such that P(z > z/2) = /2.
[Note: 0 is our symbol for the particular numerical value specified for in the null hypothesis.]
Assumption: The sample size must be sufficiently large (say, n 30) so that the sampling
distribution of x̄ is approximately normal and that s provides a good approximately to .
Example 1
It is hoped that a newly developed pain reliever will more quickly produce
perceptible reduction in pain to patients after minor surgeries than a standard pain reliever.
The standard pain reliever is known to bring relief in an average of 3.5 minutes with
standard deviation 2.1 minutes. To test whether the new pain reliever works more quickly
than the standard one, 50 patients with minor surgeries were given the new pain reliever
and their times to relief were recorded. The experiment yielded sample mean x́=3.1
minutes and sample standard deviation s=1.5 minutes. Is there sufficient evidence in the
sample to indicate, at the 5% level of significance, that the newly developed pain reliever
does deliver perceptible relief more quickly?
Solution
Step 1. The natural assumption is that the new drug is no better than the old one, but must
be proved to be better. Thus if μ denotes the average time until all patients who are given
the new drug experience pain relief, the hypothesis test is
H 0 :μ=3.5
H a : μ<3.5
Step 2. The sample is large, but the population standard deviation is unknown (the 2.1
minutes pertains to the old drug, not the new one). Thus the test statistic is
x́ −μ 0
Z=
s
√n
and has the standard normal distribution.
Step 3. Solving for the test statistic
x́ −μ 0 3.1−3.5
Z= = =−1.886
s 1.5
√n √ 50
Step 4. Since the symbol in H a is “<” this is a left-tailed test, so there is a single critical
value, −z α =−z 0.05=−1.645. The rejection region is (−∞,−1.645]
Step 5. As shown in Figure 1 the test statistic falls in the rejection region. The decision is
to reject H0.
Example 2 A cosmetics company fills its best-selling 8 ounce jars of facial cream by an
automatic dispensing machine. The machine is set to dispense a mean of 8.1 ounces per
jar. Uncontrollable factors in the process can shift the mean away from 8.1 and cause
either under fill or overfill, both of which are undesirable. In such a case the dispensing
machine is stopped and recalibrated. Regardless of the mean amount dispensed, the
standard deviation of the amount dispensed always has value 0.22 ounce. A quality control
engineer routinely selects 30 jars from the assembly line to check the amounts filled. On
one occasion, the sample mean is x́=¿8.2 ounces and the sample standard deviation is
s=0.25 ounce. Determine if there is sufficient evidence in the sample to indicate, at the 1%
level of significance, that the machine should be recalibrated.
Solution
Step 1. The natural assumption is that the machine is working properly. Thus if μ denotes
the mean amount of facial cream being dispensed, the hypothesis test is
H 0 :μ=8.1
H a : μ≠ 8.1
Step 2. The sample is large and the population standard deviation is known. Thus the test
statistic is
x́ −μ 0
Z=
σ
√n
and has the standard normal distribution.
Step 3. Solving for the test statistic
x́ −μ 0 8.2−8.1
Z= = =2.490
σ 0.22
√n √ 30
Step 4. Since the symbol in H a is “≠” this is a two-tailed test, so there are two critical
values, −z α / 2=± z0.005 =± 2.576. The rejection region is (−∞,−2.576]∪[2.576,∞).
Step 5. As shown in Figure 2 the test statistic does not fall in the rejection region. The
decision is to accept H0.
where the distribution of t is based on (n – 1) degrees of freedom; t is the t-value such that P(t
> t) = ; and t/2 is the t-value such that P(t > t/2) = /2.
Assumption: The relative frequency distribution of the population from Which the sample was
selected is approximately normal.
Example 3
The price of a popular tennis racket at a national chain store is $179. Portia bought five of
the same racket at an online auction site for the following prices:
155 179 175 175 161
Assuming that the auction prices of rackets are normally distributed, determine whether
there is sufficient evidence in the sample, at the 5% level of significance, to conclude that
the average price of the racket is less than $179 if purchased at an online auction.
Solution
Step 1. The assertion for which evidence must be provided is that the average online price
μ is less than the average price in retail stores, so the hypothesis test is
H 0 :μ=179
H a : μ<179
Step 2. The sample is small and the population standard deviation is unknown. Thus the
test statistic is
x́−μ0
t=
σ
√s
and has the Student t-distribution with n−1=5−1=4 degrees of freedom.
Step 3. From the data we compute x́=169 and s=10.39. Inserting these values into the
formula for the test statistic gives
x́−μ0 169−179
t= = =−2.152
s 10.39
√n √5
Step 4. Since the symbol in Ha is “<” this is a left-tailed test, so there is a single critical
value, −t α =−t 0.05[df=4]. Reading from the row labeled df=4 in the critical t table its value is
−2.132. The rejection region is (−∞,−2.132].
Step 5. As shown in Figure 3, the test statistic falls in the rejection region. The decision is
to reject H0.
H a : μ≠ 0.02
In order that the procedure to be valid, the sample size must be sufficiently large to
guarantee approximate normality of the sampling distribution of the sample proportion, p.
A general rule of thumb for determining whether n is "sufficiently large" is that the
interval ^p ± 2 √ ^p q^ /n does not include 0 or 1.
A soft drink maker claims that a majority of adults prefer its leading beverage over
that of its main competitor’s. To test this claim 500 randomly selected people were given
the two beverages in random order to taste. Among them, 270 preferred the soft drink
maker’s brand, 211 preferred the competitor’s brand, and 19 could not make up their
minds. Determine whether there is sufficient evidence, at the 5% level of significance, to
support the soft drink maker’s claim against the default that the population is evenly split
in its preference.
Solution:
We will use the critical value approach to perform the test. We must check that the sample
is sufficiently large to validly perform the test. Since p^=270/500=0.54
^p q^ ^p q^
[ ^p −3
√ n
, ^p + 3
√ n
]
H a : p >0.50
where p denotes the proportion of all adults who prefer the company’s beverage over that
of its competitor’s beverage.
Step 5. As shown in Figure 5 the test statistic falls in the rejection region. The decision is
to reject H0.
IV. Hypothesis tests about the difference between two population means
( x 1 x2 ) D0 ( x1 x 2 ) D0
z
( x1 x2 ) s1 2 s2 2
n1 n2
Assumptions:
1. The sample sizes n1 and n2 are sufficiently large (n1 30 and n2 30).
2. The samples are selected randomly and independent from the target populations.
Example 6
To compare customer satisfaction levels of two competing cable television
companies, 174 customers of Company 1 and 355 customers of Company 2 were
randomly selected and were asked to rate their cable companies on a five-point scale, with
1 being least satisfied and 5 most satisfied. The survey results are summarized in the
following table:
Company 1 Company 2
n1 = 174 n2 = 355
x́ 1= 3.51 x́ 2= 3.24
s1 = 0.51 s2 = 0.52
Test at the 1% level of significance whether the data provide sufficient evidence to
conclude that Company 1 has a higher mean satisfaction rating than does Company 2. Use
the critical value approach.
Solution:
H a : μ1−μ2 >0
Step 2. Since the samples are independent and both are large the test statistic is
( x́ 1−x́ 2 )−D0
z=
s21 s 22
√ +
n1 n2
Step 3. The value of the test statistic is
√ s s
1
+ 2
n1 n2 √ 0.51 0.52
+
174 355
Step 4. Since the symbol in H a is “¿” this is a right-tailed test, so there is a critical value,
z α = z 0.01[df=3]= 2.326 The rejection region is [2.326,∞).
Step 5. As shown in Figure 6 the test statistic falls in the rejection region. The decision is
to reject H0.
Test statistic:
( x 1 x2 ) D0
t
1 1
s2p
n1 n2
Rejection region: Rejection region:
t > t (or t < - t) t < -t/2 or t > t/2
Where
Assumptions:
1. The population from which the samples are selected both have approximately normal
relative frequency distributions.
2. The variances of the two populations are equal.
3. The random samples are selected in an independent manner from the two populations.
c.
V. Hypothesis tests about the difference between two proportions
VI. Hypothesis test about a population variance
VII. Hypothesis test about the ratio of two population variances
References