Beruflich Dokumente
Kultur Dokumente
Business
Statistics
4e Slides by
John
Loucks
St. Edwards
University
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 1
Williams|Sweeney|
or duplicated, or posted to a publicly accessible website, in whole or in part.
Chapter 10, Part B
Statistical Inference About Means and
Proportions With Two Populations
Inferences About the Difference Between
Two Population Means: Matched Samples
Inferences About the Difference Between
Two Population Proportions
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 2
or duplicated, or posted to a publicly accessible website, in whole or in part.
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.
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 3
or duplicated, or posted to a publicly accessible website, in whole or in part.
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.
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 4
or duplicated, or posted to a publicly accessible website, in whole or in part.
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
2012 significance.
Cengage Learning. All Rights Reserved. May not be scanned, copied Slide
5
or duplicated, or posted to a publicly accessible website, in whole or in part.
Inferences About the Difference Between
Two Population Means: Matched Samples
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 7
or duplicated, or posted to a publicly accessible website, in whole or in part.
Inferences About the Difference Between
Two Population Means: Matched Samples
p Value and Critical Value Approaches
di ( 7 6... 5)
d 2. 7
n 10
( di d ) 2 76.1
sd 2. 9
n 1 9
d d 2.7 0
t 2.94
sd n 2.9 10
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 8
or duplicated, or posted to a publicly accessible website, in whole or in part.
Inferences About the Difference Between
Two Population Means: Matched Samples
p Value Approach
4. Compute the p value.
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 10
or duplicated, or posted to a publicly accessible website, in whole or in part.
Excels t-Test: Paired Two Sample
for Means Tool
Step 1 Click the Data tab on the Ribbon
Step 2 In the Analysis group, click Data Analysis
Step 3 Choose t-Test: Paired Two Sample for Means
from the list of Analysis Tools
Step 4 When the t-Test: Paired Two Sample for Means
dialog box appears:
(see details on next slide)
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 11
or duplicated, or posted to a publicly accessible website, in whole or in part.
Excels t-Test: Paired Two Sample
for Means Tool
Excel Dialog Box
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 12
or duplicated, or posted to a publicly accessible website, in whole or in part.
Excels t-Test: Paired Two Sample
for Means Tool
Excel Value Worksheet
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 13
or duplicated, or posted to a publicly accessible website, in whole or in part.
Inferences About the Difference Between
Two Population Proportions
Interval Estimation of p1 - p2
Hypothesis Tests About p1 - p2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 14
or duplicated, or posted to a publicly accessible website, in whole or in part.
Sampling Distribution of p1 p2
Expected Value
E ( p1 p2 ) p1 p2
p1 (1 p1 ) p2 (1 p2 )
p1 p2
n1 n2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 15
or duplicated, or posted to a publicly accessible website, in whole or in part.
Sampling Distribution of p1 p2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 16
or duplicated, or posted to a publicly accessible website, in whole or in part.
Sampling Distribution of p1 p2
p1 (1 p1 ) p2 (1 p2 )
p1 p2
n1 n2
p1 p2
p1 p2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 17
or duplicated, or posted to a publicly accessible website, in whole or in part.
Interval Estimation of p1 - p2
Interval Estimate
p1 (1 p1 ) p2 (1 p2 )
p1 p2 z / 2
n1 n2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 18
or duplicated, or posted to a publicly accessible website, in whole or in part.
Interval Estimation of p1 - p2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 19
or duplicated, or posted to a publicly accessible website, in whole or in part.
Interval Estimation of p1 - p2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 20
or duplicated, or posted to a publicly accessible website, in whole or in part.
Point Estimator of the Difference Between
Two Population Proportions
p1 = proportion of the population of households
aware of the product after the new campaign
p2 = proportion of the population of households
aware of the product before the new campaign
p=1 sample proportion of households aware of the
product after the new campaign
p=2 sample proportion of households aware of the
product before the new campaign
120 60
p1 p2 .48 .40 .08
250 150
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 21
or duplicated, or posted to a publicly accessible website, in whole or in part.
Interval Estimation of p1 - p2
.48(.52) .40(.60)
.48 .40 1.96
250 150
.08 +
1.96(.0510)
.08 + .10
Hence, the 95% confidence interval for the difference
in before and after awareness of the product is
-.02 to +.18.
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 22
or duplicated, or posted to a publicly accessible website, in whole or in part.
Interval Estimation of p1 - p2
Hypotheses
We focus on tests involving no difference
between
the two population proportions (i.e. p1 = p2)
H : p p 0 HH
0 1 2 0: :pp
1 -p
p2 <00 H : p p 0
0 1 2 0 1 2
H a: p1 p2 0 HH
a: :pp - p > 0 H : p p 0
a 11 p22 0 a 1 2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 25
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypothesis Tests about p1 - p2
1 1
p1 p2 p (1 p )
n1 n2
where:
n1p1 n2p2
p
n1 n2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 26
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypothesis Tests about p1 - p2
Test Statistic
(p1 p2 )
z
1 1
p(1 p)
n1 n2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 27
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypothesis Tests about p1 - p2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 28
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypothesis Tests about p1 - p2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 29
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypothesis Tests about p1 - p2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 30
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypothesis Tests about p1 - p2
p Value Approach
4. Compute the p value.
Excel Formula
AWorksheet
B C D E
1 Sur2 Sur1 Survey 2 (from Popul.1) Survey 1 (from Popul.2)
2 No Yes Sample Size =COUNTA(A2:A251) =COUNTA(B2:B151)
3 Yes No Resp. of Interest Yes Yes
4 Yes Yes Count for Resp. =COUNTIF(A2:A251,D3) =COUNTIF(B2:B151,E3)
5 No Yes Sample Propor. =D4/D2 =E4/E2
6 Yes No
7 No No Hypoth. Value 0 Note:
8 No Yes Point Est. of Diff. =D5-E5 Rows 17-251
9 Yes No are not shown.
10 No No Pooled Est. of p =(D2*D5+E2*E5)/(D2+E2)
11 Yes Yes Standard Error =SQRT(D10*(1-D10)*(1/D2+1/E2))
12 Yes No Test Statistic =(D8-D7)/D11
13 Yes Yes
14 No Yes p-Value (lower tail) =NORM.S.DIST(D12,TRUE)
15 Yes Yes p-Value (upper tail) =1-NORM.S.DIST(D12,TRUE)
16 Yes No p-Value (two tail) =2*MIN(D14,D15)
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 33
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypothesis Tests about p1 - p2
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 34
or duplicated, or posted to a publicly accessible website, in whole or in part.
End of Chapter 10, Part B
2012 Cengage Learning. All Rights Reserved. May not be scanned, copied Slide 35
or duplicated, or posted to a publicly accessible website, in whole or in part.