You are on page 1of 33

Chapter 10

Inference About Means and Proportions


with Two Populations
• Inferences About the Difference Between
Two Population Means: s 1 and s 2 Known
 Inferences About the Difference Between
Two Population Means: s 1 and s 2 Unknown
 Inferences About the Difference Between
Two Population Means: Matched Samples
Estimating the Difference Between
Two Population Means
 Let 1 equal the mean of population 1 and 2 equal
the mean of population 2.
 The difference between the two population means is
1 - 2.
 To estimate 1 - 2, we will select a simple random
sample of size n1 from population 1 and a simple
random sample of size n2 from population 2.
 Let x1 equal the mean of sample 1 and x2 equal the
mean of sample 2.
 The point estimator of the difference between the
means of the populations 1 and 2 is x1  x2.
Sampling Distribution of x1  x2

 Expected Value
E ( x1  x2 )  1   2

 Standard Deviation (Standard Error)

s12 s 22
s x1  x2  
n1 n2

where: s1 = standard deviation of population 1


s2 = standard deviation of population 2
n1 = sample size from population 1
n2 = sample size from population 2
Interval Estimation of 1 - 2:
s 1 and s 2 Known
 Interval Estimate

s 12 s 22
x1  x2  z / 2 
n1 n2
where:
1 -  is the confidence coefficient
Interval Estimation of 1 - 2:
s 1 and s 2 Known
 Example: Par, Inc.
Par, Inc. is a manufacturer of golf equipment and
has developed a new golf ball that has been
designed to provide “extra distance.”
In a test of driving distance using a mechanical
driving device, a sample of Par golf balls was
compared with a sample of golf balls made by Rap,
Ltd., a competitor. The sample statistics appear on
the next slide.
Interval Estimation of 1 - 2:
s 1 and s 2 Known
 Example: Par, Inc.

Sample #1 Sample #2
Par, Inc. Rap, Ltd.
Sample Size 120 balls 80 balls
Sample Mean 275 yards 258 yards

Based on data from previous driving distance


tests, the two population standard deviations are
known with s 1 = 15 yards and s 2 = 20 yards.
Interval Estimation of 1 - 2:
s 1 and s 2 Known
 Example: Par, Inc.
Let us develop a 95% confidence interval estimate
of the difference between the mean driving distances of
the two brands of golf ball.
Estimating the Difference Between
Two Population Means

Population 1 Population 2
Par, Inc. Golf Balls Rap, Ltd. Golf Balls
1 = mean driving 2 = mean driving
distance of Par distance of Rap
golf balls golf balls

m1 – 2 = difference between
the mean distances

Simple random sample Simple random sample


of n1 Par golf balls of n2 Rap golf balls
x1 = sample mean distance x2 = sample mean distance
for the Par golf balls for the Rap golf balls

x1 - x2 = Point Estimate of m1 – 2
Hypothesis Tests About  1   2:
s 1 and s 2 Known
 Hypotheses

H 0 : 1  2  D0 H 0 : 1  2  D0 H 0 : 1  2  D0
H a : 1  2  D0 H a : 1  2  D0 H a : 1  2  D0
Left-tailed Right-tailed Two-tailed
 Test Statistic

( x1  x2 )  D0
z
s 12 s 22

n1 n2
Hypothesis Tests About  1   2:
s 1 and s 2 Known
 Example: Par, Inc.
Can we conclude, using  = .01, that the
mean driving distance of Par, Inc. golf balls is
greater than the mean driving distance of Rap, Ltd.
golf balls?
Inferences About the Difference Between
Two Population Means: s 1 and s 2 Unknown
 Interval Estimation of  1 –  2
 Hypothesis Tests About  1 –  2
Interval Estimation of 1 - 2:
s 1 and s 2 Unknown
When s 1 and s 2 are unknown, we will:
• use the sample standard deviations s1 and s2
as estimates of s 1 and s 2 , and
• replace z/2 with t/2.
Interval Estimation of 1 - 2:
s 1 and s 2 Unknown
 Interval Estimate

s12 s22
x1  x2  t / 2 
n1 n2

Where the degrees of freedom for t/2 are:


2
s s 
2 2

  
1 2

df   n1 n2 
2 2 2 2
1  s1  1  s2 
    
n1  1  n1  n2  1  n2 
Difference Between Two Population Means:
s 1 and s 2 Unknown
 Example: Specific Motors
Specific Motors of Detroit has developed a new
Automobile known as the M car. 24 M cars and 28 J
cars (from Japan) were road tested to compare miles-
per-gallon (mpg) performance. The sample statistics
are shown on the next slide.
Difference Between Two Population Means:
s 1 and s 2 Unknown
 Example: Specific Motors

Sample #1 Sample #2
M Cars J Cars
24 cars 28 cars Sample Size
29.8 mpg 27.3 mpg Sample Mean
2.56 mpg 1.81 mpg Sample Std. Dev.
Difference Between Two Population Means:
s 1 and s 2 Unknown
 Example: Specific Motors
Let us develop a 90% confidence interval estimate
of the difference between the mpg performances of
the two models of automobile.
Hypothesis Tests About  1   2:
s 1 and s 2 Unknown
 Hypotheses

H 0 : 1  2  D0 H 0 : 1  2  D0 H 0 : 1  2  D0
H a : 1  2  D0 H a : 1  2  D0 H a : 1  2  D0
Left-tailed Right-tailed Two-tailed
 Test Statistic

( x1  x2 )  D0
t
s12 s22

n1 n2
Hypothesis Tests About  1   2:
s 1 and s 2 Unknown
 Example: Specific Motors
Can we conclude, using a .05 level of significance,
that the miles-per-gallon (mpg) performance of M cars
is greater than the miles-per-gallon performance of J
cars?
Inferences About the Difference Between
Two Population Means: Matched Samples
 With a matched-sample design each sampled item
provides a pair of data values.
 This design often leads to a smaller sampling error
than the independent-sample design because
variation between sampled items is eliminated as a
source of sampling error.
Inferences About the Difference Between
Two Population Means: Matched Samples
 Example: Express Deliveries
A Chicago-based firm has documents that must
be quickly distributed to district offices throughout
the U.S. The firm must decide between two delivery
services, UPX (United Parcel Express) and INTEX
(International Express), to transport its documents.
Inferences About the Difference Between
Two Population Means: Matched Samples
 Example: Express Deliveries
In testing the delivery times of the two services,
the firm sent two reports to a random sample of its
district offices with one report carried by UPX and
the other report carried by INTEX. Do the data on
the next slide indicate a difference in mean delivery
times for the two services? Use a .05 level of
significance.
Inferences About the Difference Between
Two Population Means: Matched Samples

Delivery Time (Hours)


District Office UPX INTEX Difference
Seattle 32 25 7
Los Angeles 30 24 6
Boston 19 15 4
Cleveland 16 15 1
New York 15 13 2
Houston 18 15 3
Atlanta 14 15 -1
St. Louis 10 8 2
Milwaukee 7 9 -2
Denver 16 11 5
Inference About Means and Proportions
with Two Populations
 Inferences About the Difference Between
Two Population Proportions
Sampling Distribution of p1  p2

 Expected Value
E ( p1  p2 )  p1  p2

 Standard Deviation (Standard Error)

p1 (1  p1 ) p2 (1  p2 )
s p1  p2  
n1 n2

where: n1 = size of sample taken from population 1


n2 = size of sample taken from population 2
Sampling Distribution of p1  p2

If the sample sizes are large, the sampling distribution


of p1  p2 can be approximated by a normal probability
distribution.

The sample sizes are sufficiently large if all of these


conditions are met:
n1p1 > 5 n1(1 - p1) > 5

n2p2 > 5 n2(1 - p2) > 5


Sampling Distribution of p1  p2

p1 (1  p1 ) p2 (1  p2 )
s p1  p2  
n1 n2

p1  p2
p1 – p2
Interval Estimation of p1 - p2

 Interval Estimate

p1 (1  p1 ) p2 (1  p2 )
p1  p2  z / 2 
n1 n2
Interval Estimation of p1 - p2

 Example: Market Research Associates


Market Research Associates is conducting research
to evaluate the effectiveness of a client’s new adver-
tising campaign. Before the new campaign began, a
telephone survey of 150 households in the test market
area showed 60 households “aware” of the client’s
product.
The new campaign has been initiated with TV and
newspaper advertisements running for three weeks.
Interval Estimation of p1 - p2

 Example: Market Research Associates


A survey conducted immediately after the new
campaign showed 120 of 250 households “aware” of
the client’s product.
Does the data support the position that the
advertising campaign has provided an increased
awareness of the client’s product?
Hypothesis Tests about p1 - p2

 Hypotheses
We focus on tests involving no difference between
the two population proportions (i.e. p1 = p2)

H 0 : p1  p2  0 H
H00:: pp1 
- p2 < 0
1 p2  0 H 0 : p1  p2  0
H a : p1  p2  0 H
Ha:: pp1 
- pp2 > 00 H a : p1  p2  0
a 1 2

Left-tailed Right-tailed Two-tailed


Hypothesis Tests about p1 - p2

 Standard Error of p1  p2 when p1 = p2 = p

1 1
s p1  p2  p(1  p)   
 n1 n2 

 Pooled Estimator of p when p1 = p2 = p

n1 p1  n2 p2
p
n1  n2
Hypothesis Tests about p1 - p2

 Test Statistic

( p1  p2 )
z
 1 1 
p(1  p )   
n
 1 n2 
Hypothesis Tests about p1 - p2

 Example: Market Research Associates


Can we conclude, using a .05 level of significance,
that the proportion of households aware of the
client’s product increased after the new advertising
campaign?

You might also like