Professional Documents
Culture Documents
Chapter 9
Dependent
samples
di = xi - yi
d
The point estimate for
the population mean i
paired difference is d : d i 1
n
n
The sample
standard i
(d d ) 2
deviation is: Sd i 1
n 1
n is the number of matched pairs in the sample
Confidence Interval for
Mean Difference
Sd Sd
d t n1,α/2 μd d t n1,α/2
n n
Where
n = the sample size
(number of matched pairs in the paired sample)
Paired Samples Example
Weight:
d = n
di
Person Before (x) After (y) Difference, di
n 1
6 166 160 6
42 4.82
Paired Samples Example
Since this interval contains zero, we cannot be 95% confident, given this
limited data, that the weight loss program helps people lose weight
Difference Between Two Means
s 2p s 2p
(x y) t n x n y 2,α/2 μX μY
nx ny
s 2p s 2p
(x y) t n x n y 2,α/2
nx ny
Pooled Variance Example
CPUx CPUy
Number Tested 17 14
Sample mean 3004 2538
Sample std dev 74 56
S2
n x 1S x
2
n y 1S y
2
17 174 2
14 156 2
4427.03
(n x 1) (ny 1) (17 - 1) (14 1)
p
416.69 μX μY 515.31
Assumptions:
Both sample sizes are large (generally at
least 40 observations in each sample)
pˆ x (1 pˆ x ) pˆ y (1 pˆ y )
(pˆ x pˆ y ) Z / 2
nx ny
Men: ˆp x 26 0.52
50
Women: ˆp y 28 0.70
40
Since this interval does not contain zero we are 90% confident that the two
proportions are not equal
Statistics for Business and Economics, 6e © 2007 Pearson
Chap 9-20
Education, Inc.
Margin of Error
The required sample size can be found to reach a desired
margin of error (ME) with a specified level of confidence (1
- )
For the
Mean Margin of Error
(sampling error)
σ σ
x z α/2 ME z α/2
n n
Statistics for Business and Economics, 6e © 2007 Pearson
Chap 9-22
Education, Inc.
Sample Size Determination
(continued)
Determining
Sample Size
For the
Mean
σ z σ
2 2
ME z α/2
n
Now solve
for n to get n α/2
2
ME
Statistics for Business and Economics, 6e © 2007 Pearson
Chap 9-23
Education, Inc.
Sample Size Determination
(continued)
z σ 2
(1.645) (45) 2 2 2
n 2
α/2
2
219.19
ME 5
For the
Proportion
pˆ (1 pˆ ) pˆ (1 pˆ )
pˆ z α/2 ME z α/2
n n
Margin of Error
Statistics for Business and Economics, 6e © 2007 Pearson
Education, Inc.
Chap 9-26
(sampling error)
Sample Size Determination
(continued)
Determining
Sample Size
For the
Proportion
pˆ (1 pˆ )
ME z α/2
n
pˆ (1 pˆ ) cannot Substitute 2
be larger than 0.25 for pˆ (1 pˆ ) 0.25 z
0.25, when p̂ = and solve for n 2
α/2
n to get
0.5 for Business and Economics, 6e © 2007 Pearson
Statistics
ME
Chap 9-27
Education, Inc.
Sample Size Determination
(continued)
The sample and population proportions, p̂and P, are
generally not known (since no sample has been taken
yet)
P(1 – P) = 0.25 generates the largest possible margin of
error (so guarantees that the resulting sample size will
meet the desired level of confidence)
To determine the required sample size for the
proportion, you must know:
The desired level of confidence (1 - ), which determines the
critical z/2 value
The acceptable sampling error (margin of error), ME
Estimate P(1 – P) = 0.25
Statistics for Business and Economics, 6e © 2007 Pearson
Chap 9-28
Education, Inc.
Required Sample Size Example
Solution:
For 95% confidence, use z0.025 = 1.96
ME = 0.03
Estimate P(1 – P) = 0.25
2 2
0.25 z (0.25)(1.9 6)
n 2
α/2
2
1067.11
ME (0.03)
So use n = 1068
Statistics for Business and Economics, 6e © 2007 Pearson
Chap 9-30
Education, Inc.