Inference About Means and Proportions With: Two Populations
Inference About Means and Proportions With: Two Populations
1 2
3 4
s12 s 22 where:
s x1 x2
n1 n2 1 - is the confidence coefficient
5 6
1
Interval Estimation of m1 - m2: Interval Estimation of m1 - m2:
s 1 and s 2 Known s 1 and s 2 Known
Example: Par, Inc. Example: Par, Inc.
Par, Inc. is a manufacturer of golf equipment and
has developed a new golf ball that has been Sample #1 Sample #2
Par, Inc. Rap, Ltd.
designed to provide “extra distance.”
Sample Size 120 balls 80 balls
In a test of driving distance using a mechanical Sample Mean 295 yards 278 yards
driving device, a sample of Par golf balls was
compared with a sample of golf balls made by Rap, Based on data from previous driving distance
Ltd., a competitor. The sample statistics appear on tests, the two population standard deviations are
the next slide. known with s 1 = 15 yards and s 2 = 20 yards.
7 8
9 10
11 12
2
Hypothesis Tests About m 1 m 2: Hypothesis Tests About m 1 m 2:
s 1 and s 2 Known s 1 and s 2 Known
Hypotheses Example: Par, Inc.
Can we conclude, using = .01, that the
H 0 : m1 m2 D0 H 0 : m1 m2 D0 H 0 : m1 m2 D0
mean driving distance of Par, Inc. golf balls is
H a : m1 m 2 D0 H a : m1 m2 D0 H a : m1 m2 D0
greater than the mean driving distance of Rap, Ltd.
Left-tailed Right-tailed Two-tailed golf balls?
Test Statistic
( x1 x2 ) D0
z
s 12 s 22
n1 n2
13 14
1. Develop the hypotheses. H0: m1 - m2 < 0 3. Compute the value of the test statistic.
Ha: m1 - m2 > 0
( x1 x 2 ) D0
where: z
s 12 s 22
m1 = mean distance for the population
of Par, Inc. golf balls n1 n2
m2 = mean distance for the population z
(295 278 ) 0
17
6.49
of Rap, Ltd. golf balls (15) 2 (20) 2 2.62
120 80
2. Specify the level of significance. = .01
15 16
4. Compute the p–value. 4. Determine the critical value and rejection rule.
For z = 6.49, the p –value < .0001. For = .01, z.01 = 2.33
Because p–value < = .01, we reject H0. 5. Determine whether to reject H0.
At the .01 level of significance, the sample evidence Because z = 6.49 > 2.33, we reject H0.
indicates the mean driving distance of Par, Inc. golf
balls is greater than the mean driving distance of Rap, The sample evidence indicates the mean driving
Ltd. golf balls. distance of Par, Inc. golf balls is greater than the mean
driving distance of Rap, Ltd. golf balls.
17 18
3
Ex: Which Baby food is better
Ex: Cholesterol Reduction with breakfast cereals
The president of Nestle Inc., a baby-food producer, claims that her
company’s product is superior to that of her leading competitor Is eating oat bran an effective way to reduce cholesterol? Early
because babies gain weight faster with her product. (This is a good studies indicated that eating oat bran daily reduces cholesterol
thing for babies.) To test this claim, a survey was undertaken. levels by 5% to 10%. Reports of this study resulted in the
Mothers of new-born babies were asked which baby food they introduction of many new breakfast cereals with various
intended to feed their babies. Those who responded Nestle or the percentages of oat bran as an ingredient. However, an
leading competitor were asked to keep track of their babies’ weight experiment performed by medical researchers in AIIMS cast
gains over the next 2 months. There were 15 mothers who indicated
doubt on the effectiveness of oat bran. In that study, 120
that they would feed their babies Nestle and 25 who responded that
volunteers ate oat bran for breakfast, and another 120
they would feed their babies the product of the leading competitor.
Each baby’s weight gain (in ounces) was recorded. volunteers ate another grain cereal for breakfast. At the end of
Can we conclude, using weight gain as our criterion, that Nestle baby
6 weeks, the percentage of cholesterol reduction was
food is indeed superior? computed for both groups. Can we infer that oat bran is
Estimate with 95% confidence the difference between the mean weight different from other cereals in terms of cholesterol reduction?
gains of the two products. Assume Population SDs are known as 4.41 and 4.44
Assume the Population SDs are known- 4.5 and 3.28 ounces respectively respectively
Data Data
19 20