SlideShare a Scribd company logo
1 of 46
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Statistics for
Business and Economics
7th Edition
Chapter 8
Estimation: Additional Topics
Ch. 8-1
Chapter Goals
After completing this chapter, you should be able to:
 Form confidence intervals for the difference between
two means from dependent samples
 Form confidence intervals for the difference between
two independent population means (standard deviations
known or unknown)
 Compute confidence interval limits for the difference
between two independent population proportions
 Determine the required sample size to estimate a mean
or proportion within a specified margin of error
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-2
Estimation: Additional Topics
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Chapter Topics
Population
Means,
Independent
Samples
Population
Means,
Dependent
Samples
Sample Size
Determination
Group 1 vs.
independent
Group 2
Same group
before vs. after
treatment
Finite
Populations
Examples:
Population
Proportions
Proportion 1 vs.
Proportion 2
Ch. 8-3
Large
Populations
Confidence Intervals
Dependent Samples
Tests Means of 2 Related Populations
 Paired or matched samples
 Repeated measures (before/after)
 Use difference between paired values:
 Eliminates Variation Among Subjects
 Assumptions:
 Both Populations Are Normally Distributed
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Dependent
samples
di = xi - yi
Ch. 8-4
8.1
Mean Difference
The ith paired difference is di , where
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
di = xi - yi
The point estimate for
the population mean
paired difference is d :
n
d
d
n
1i
i

n is the number of matched pairs in the sample
1n
)d(d
S
n
1i
2
i
d




The sample
standard
deviation is:
Dependent
samples
Ch. 8-5
Confidence Interval for
Mean Difference
The confidence interval for difference
between population means, μd , is
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Where
n = the sample size
(number of matched pairs in the paired sample)
n
S
tdμ
n
S
td d
α/21,nd
d
α/21,n  
Dependent
samples
Ch. 8-6
Confidence Interval for
Mean Difference
 The margin of error is
 tn-1,/2 is the value from the Student’s t
distribution with (n – 1) degrees of freedom
for which
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
(continued)
2
α
)tP(t α/21,n1n  
n
s
tME d
α/21,n
Dependent
samples
Ch. 8-7
 Six people sign up for a
weight loss program. You
collect the following data:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Paired Samples Example
Weight:
Person Before (x) After (y) Difference, di
1 136 125 11
2 205 195 10
3 157 150 7
4 138 140 - 2
5 175 165 10
6 166 160 6
42
d =
 di
n
4.82
1n
)d(d
S
2
i
d





= 7.0
Ch. 8-8
Dependent
samples
 For a 95% confidence level, the appropriate t value is
tn-1,/2 = t5,.025 = 2.571
 The 95% confidence interval for the difference between
means, μd , is
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
12.06μ1.94
6
4.82
(2.571)7μ
6
4.82
(2.571)7
n
S
tdμ
n
S
td
d
d
d
α/21,nd
d
α/21,n


 
Paired Samples Example
(continued)
Since this interval contains zero, we cannot be 95% confident, given this
limited data, that the weight loss program helps people lose weight
Ch. 8-9
Dependent
samples
Difference Between Two Means:
Independent Samples
 Different data sources
 Unrelated
 Independent
 Sample selected from one population has no effect on the
sample selected from the other population
 The point estimate is the difference between the two
sample means:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
Goal: Form a confidence interval
for the difference between two
population means, μx – μy
x – y
Ch. 8-10
8.2
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
Confidence interval uses z/2
Confidence interval uses a value
from the Student’s t distribution
σx
2 and σy
2
assumed equal
σx
2 and σy
2 known
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
(continued)
Ch. 8-11
Difference Between Two Means:
Independent Samples
σx
2 and σy
2 Known
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
Assumptions:
 Samples are randomly and
independently drawn
 both population distributions
are normal
 Population variances are
known
*σx
2 and σy
2 known
σx
2 and σy
2 unknown
Ch. 8-12
σx
2 and σy
2 Known
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
…and the random variable
has a standard normal distribution
When σx and σy are known and
both populations are normal, the
variance of X – Y is
y
2
y
x
2
x2
YX
n
σ
n
σ
σ 
(continued)
*
Y
2
y
X
2
x
YX
n
σ
n
σ
)μ(μ)yx(
Z



σx
2 and σy
2 known
σx
2 and σy
2 unknown
Ch. 8-13
Confidence Interval,
σx
2 and σy
2 Known
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
The confidence interval for
μx – μy is:
*
y
2
Y
x
2
X
α/2YX
y
2
Y
x
2
X
α/2
n
σ
n
σ
z)yx(μμ
n
σ
n
σ
z)yx( 
σx
2 and σy
2 known
σx
2 and σy
2 unknown
Ch. 8-14
σx
2 and σy
2 Unknown,
Assumed Equal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
Assumptions:
 Samples are randomly and
independently drawn
 Populations are normally
distributed
 Population variances are
unknown but assumed equal
*σx
2 and σy
2
assumed equal
σx
2 and σy
2 known
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
Ch. 8-15
σx
2 and σy
2 Unknown,
Assumed Equal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
(continued)
Forming interval
estimates:
 The population variances
are assumed equal, so use
the two sample standard
deviations and pool them to
estimate σ
 use a t value with
(nx + ny – 2) degrees of
freedom
*σx
2 and σy
2
assumed equal
σx
2 and σy
2 known
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
Ch. 8-16
σx
2 and σy
2 Unknown,
Assumed Equal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
The pooled variance is
(continued)
* 2nn
1)s(n1)s(n
s
yx
2
yy
2
xx2
p



σx
2 and σy
2
assumed equal
σx
2 and σy
2 known
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
Ch. 8-17
Confidence Interval,
σx
2 and σy
2 Unknown, Equal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
The confidence interval for
μ1 – μ2 is:
Where
*σx
2 and σy
2
assumed equal
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
y
2
p
x
2
p
α/22,nnYX
y
2
p
x
2
p
α/22,nn
n
s
n
s
t)yx(μμ
n
s
n
s
t)yx( yxyx
 
2nn
1)s(n1)s(n
s
yx
2
yy
2
xx2
p



Ch. 8-18
Pooled Variance Example
You are testing two computer processors for speed.
Form a confidence interval for the difference in CPU
speed. You collect the following speed data (in Mhz):
CPUx CPUy
Number Tested 17 14
Sample mean 3004 2538
Sample std dev 74 56
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Assume both populations are
normal with equal variances,
and use 95% confidence
Ch. 8-19
Calculating the Pooled Variance
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
        4427.03
1)141)-(17
5611474117
1)n(n
S1nS1n
S
22
y
2
yy
2
xx2
p 






(()1x
The pooled variance is:
The t value for a 95% confidence interval is:
2.045tt 0.025,29α/2,2nn yx

Ch. 8-20
Calculating the Confidence Limits
 The 95% confidence interval is
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
y
2
p
x
2
p
α/22,nnYX
y
2
p
x
2
p
α/22,nn
n
s
n
s
t)yx(μμ
n
s
n
s
t)yx( yxyx
 
14
4427.03
17
4427.03
(2.054)2538)(3004μμ
14
4427.03
17
4427.03
(2.054)2538)(3004 YX 
515.31μμ416.69 YX 
We are 95% confident that the mean difference in
CPU speed is between 416.69 and 515.31 Mhz.
Ch. 8-21
σx
2 and σy
2 Unknown,
Assumed Unequal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
Assumptions:
 Samples are randomly and
independently drawn
 Populations are normally
distributed
 Population variances are
unknown and assumed
unequal
*
σx
2 and σy
2
assumed equal
σx
2 and σy
2 known
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
Ch. 8-22
σx
2 and σy
2 Unknown,
Assumed Unequal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population means,
independent
samples
(continued)
Forming interval estimates:
 The population variances are
assumed unequal, so a pooled
variance is not appropriate
 use a t value with  degrees
of freedom, where
σx
2 and σy
2 known
σx
2 and σy
2 unknown
*
σx
2 and σy
2
assumed equal
σx
2 and σy
2
assumed unequal
1)/(n
n
s
1)/(n
n
s
)
n
s
()
n
s
(
y
2
y
2
y
x
2
x
2
x
2
y
2
y
x
2
x
























v
Ch. 8-23
Confidence Interval,
σx
2 and σy
2 Unknown, Unequal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
The confidence interval for
μ1 – μ2 is:
*
σx
2 and σy
2
assumed equal
σx
2 and σy
2 unknown
σx
2 and σy
2
assumed unequal
y
2
y
x
2
x
α/2,YX
y
2
y
x
2
x
α/2,
n
s
n
s
t)yx(μμ
n
s
n
s
t)yx(  
1)/(n
n
s
1)/(n
n
s
)
n
s
()
n
s
(
y
2
y
2
y
x
2
x
2
x
2
y
2
y
x
2
x
























vWhere
Ch. 8-24
Two Population Proportions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Goal: Form a confidence interval for
the difference between two
population proportions, Px – Py
The point estimate for
the difference is
Population
proportions
Assumptions:
Both sample sizes are large (generally at
least 40 observations in each sample)
yx pp ˆˆ 
Ch. 8-25
8.3
Two Population Proportions
 The random variable
is approximately normally distributed
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population
proportions
(continued)
y
yy
x
xx
yxyx
n
)p(1p
n
)p(1p
)p(p)pp(
Z
ˆˆˆˆ
ˆˆ





Ch. 8-26
Confidence Interval for
Two Population Proportions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Population
proportions
The confidence limits for
Px – Py are:
y
yy
x
xx
yx
n
)p(1p
n
)p(1p
Z)pp(
ˆˆˆˆ
ˆˆ 2/



 
Ch. 8-27
Example:
Two Population Proportions
Form a 90% confidence interval for the
difference between the proportion of
men and the proportion of women who
have college degrees.
 In a random sample, 26 of 50 men and
28 of 40 women had an earned college
degree
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-28
Example:
Two Population Proportions
Men:
Women:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
0.1012
40
0.70(0.30)
50
0.52(0.48)
n
)p(1p
n
)p(1p
y
yy
x
xx



 ˆˆˆˆ
0.52
50
26
px ˆ
0.70
40
28
py ˆ
(continued)
For 90% confidence, Z/2 = 1.645
Ch. 8-29
Example:
Two Population Proportions
The confidence limits are:
so the confidence interval is
-0.3465 < Px – Py < -0.0135
Since this interval does not contain zero we are 90% confident that the
two proportions are not equal
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
(continued)
(0.1012)1.645.70)(.52
n
)p(1p
n
)p(1p
Z)pp(
y
yy
x
xx
α/2yx





ˆˆˆˆ
ˆˆ
Ch. 8-30
Sample Size Determination
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
For the
Mean
Determining
Sample Size
For the
Proportion
Ch. 8-31
Large
Populations
Finite
Populations
For the
Mean
For the
Proportion
8.4
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 - )
 The margin of error is also called sampling error
 the amount of imprecision in the estimate of the
population parameter
 the amount added and subtracted to the point
estimate to form the confidence interval
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-32
Sample Size Determination
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
n
σ
zx α/2
n
σ
zME α/2
Margin of Error
(sampling error)
Ch. 8-33
For the
Mean
Large
Populations
Sample Size Determination
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
n
σ
zME α/2
(continued)
2
22
α/2
ME
σz
n Now solve
for n to get
Ch. 8-34
For the
Mean
Large
Populations
Sample Size Determination
 To determine the required sample size for the
mean, you must know:
 The desired level of confidence (1 - ), which
determines the z/2 value
 The acceptable margin of error (sampling error), ME
 The population standard deviation, σ
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
(continued)
Ch. 8-35
Required Sample Size Example
If  = 45, what sample size is needed to
estimate the mean within ± 5 with 90%
confidence?
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
(Always round up)
219.19
5
(45)(1.645)
ME
σz
n 2
22
2
22
α/2

So the required sample size is n = 220
Ch. 8-36
Sample Size Determination:
Population Proportion
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
n
)p(1p
zp α/2
ˆˆ
ˆ 

n
)p(1p
zME α/2
ˆˆ 

Margin of Error
(sampling error)
Ch. 8-37
For the
Proportion
Large
Populations
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
2
2
α/2
ME
z0.25
n 
Substitute
0.25 for
and solve for
n to get
(continued)
n
)p(1p
zME α/2
ˆˆ 

cannot
be larger than
0.25, when =
0.5
)p(1p ˆˆ 
pˆ
)p(1p ˆˆ 
Ch. 8-38
For the
Proportion
Large
Populations
Sample Size Determination:
Population Proportion
 The sample and population proportions, 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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
(continued)
pˆ
Ch. 8-39
Sample Size Determination:
Population Proportion
Required Sample Size Example:
Population Proportion
How large a sample would be necessary
to estimate the true proportion defective in
a large population within ±3%, with 95%
confidence?
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-40
Required Sample Size Example
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Solution:
For 95% confidence, use z0.025 = 1.96
ME = 0.03
Estimate P(1 – P) = 0.25
So use n = 1068
(continued)
1067.11
(0.03)
6)(0.25)(1.9
ME
z0.25
n 2
2
2
2
α/2

Ch. 8-41
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-42
Sample Size Determination:
Finite Populations
Finite
Populations
For the
Mean









1N
nN
n
σ
)XVar(
2
A finite population
correction factor is added:
1. Calculate the required
sample size n0 using the
prior formula:
2. Then adjust for the finite
population:
2
22
α/2
0
ME
σz
n 
1)-(Nn
Nn
n
0
0


8.5
Sample Size Determination:
Finite Populations
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-43
Finite
Populations
For the
Proportion









1N
nN
n
P)P(1-
)pVar( ˆ
A finite population
correction factor is added:
1. Solve for n:
2. The largest possible value
for this expression
(if P = 0.25) is:
3. A 95% confidence interval
will extend ±1.96 from
the sample proportion
P)P(11)σ(N
P)NP(1
n 2
p



ˆ
0.251)σ(N
P)0.25(1
n 2
p



ˆ
p
σˆ
Example: Sample Size to
Estimate Population Proportion
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-44
(continued)
p
σˆ
How large a sample would be necessary to
estimate within ±5% the true proportion of
college graduates in a population of 850
people with 95% confidence?
Required Sample Size Example
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Solution:
 For 95% confidence, use z0.025 = 1.96
 ME = 0.05
So use n = 265
(continued)
Ch. 8-45
0.02551σ0.05σ1.96 pp
 ˆˆ
264.8
0.25551)(849)(0.02
)(0.25)(850
0.251)σ(N
0.25N
n 22
p
max 




ˆ
Chapter Summary
 Compared two dependent samples (paired samples)
 Formed confidence intervals for the paired difference
 Compared two independent samples
 Formed confidence intervals for the difference between two
means, population variance known, using z
 Formed confidence intervals for the differences between two
means, population variance unknown, using t
 Formed confidence intervals for the differences between two
population proportions
 Formed confidence intervals for the population variance
using the chi-square distribution
 Determined required sample size to meet confidence
and margin of error requirements
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-46

More Related Content

What's hot

Chap01 intro & data collection
Chap01 intro & data collectionChap01 intro & data collection
Chap01 intro & data collectionUni Azza Aunillah
 
Complements and Conditional Probability, and Bayes' Theorem
 Complements and Conditional Probability, and Bayes' Theorem Complements and Conditional Probability, and Bayes' Theorem
Complements and Conditional Probability, and Bayes' TheoremLong Beach City College
 
Practice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsPractice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsLong Beach City College
 
Chap04 discrete random variables and probability distribution
Chap04 discrete random variables and probability distributionChap04 discrete random variables and probability distribution
Chap04 discrete random variables and probability distributionJudianto Nugroho
 
03 simple-random-sampling 2019
03 simple-random-sampling 201903 simple-random-sampling 2019
03 simple-random-sampling 2019widyareza2
 
Chap06 sampling and sampling distributions
Chap06 sampling and sampling distributionsChap06 sampling and sampling distributions
Chap06 sampling and sampling distributionsJudianto Nugroho
 
Two-sample Hypothesis Tests
Two-sample Hypothesis Tests Two-sample Hypothesis Tests
Two-sample Hypothesis Tests mgbardossy
 
Chap02 describing data; numerical
Chap02 describing data; numericalChap02 describing data; numerical
Chap02 describing data; numericalJudianto Nugroho
 
Matematika Ekonomi Diferensiasi fungsi sederhana
Matematika Ekonomi Diferensiasi fungsi sederhanaMatematika Ekonomi Diferensiasi fungsi sederhana
Matematika Ekonomi Diferensiasi fungsi sederhanalia170494
 
Education 309 – Statistics for Educational Research
Education 309 – Statistics for Educational ResearchEducation 309 – Statistics for Educational Research
Education 309 – Statistics for Educational ResearchSzarah Blaisze
 
Business Statistics Chapter 3
Business Statistics Chapter 3Business Statistics Chapter 3
Business Statistics Chapter 3Lux PP
 
Hypergeometric probability distribution
Hypergeometric probability distributionHypergeometric probability distribution
Hypergeometric probability distributionNadeem Uddin
 
One sample t test (procedure and output in SPSS)
One sample t test (procedure and output in SPSS)One sample t test (procedure and output in SPSS)
One sample t test (procedure and output in SPSS)Unexplord Solutions LLP
 

What's hot (20)

Basic Probability
Basic ProbabilityBasic Probability
Basic Probability
 
Chap01 intro & data collection
Chap01 intro & data collectionChap01 intro & data collection
Chap01 intro & data collection
 
Complements and Conditional Probability, and Bayes' Theorem
 Complements and Conditional Probability, and Bayes' Theorem Complements and Conditional Probability, and Bayes' Theorem
Complements and Conditional Probability, and Bayes' Theorem
 
Practice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populationsPractice test ch 8 hypothesis testing ch 9 two populations
Practice test ch 8 hypothesis testing ch 9 two populations
 
Chap04 discrete random variables and probability distribution
Chap04 discrete random variables and probability distributionChap04 discrete random variables and probability distribution
Chap04 discrete random variables and probability distribution
 
03 simple-random-sampling 2019
03 simple-random-sampling 201903 simple-random-sampling 2019
03 simple-random-sampling 2019
 
Chap06 sampling and sampling distributions
Chap06 sampling and sampling distributionsChap06 sampling and sampling distributions
Chap06 sampling and sampling distributions
 
Sampling Distributions and Estimators
Sampling Distributions and EstimatorsSampling Distributions and Estimators
Sampling Distributions and Estimators
 
Regression
RegressionRegression
Regression
 
Goodness of Fit Notation
Goodness of Fit NotationGoodness of Fit Notation
Goodness of Fit Notation
 
Measures Of Central Tendencies
Measures Of Central TendenciesMeasures Of Central Tendencies
Measures Of Central Tendencies
 
gls
glsgls
gls
 
Two-sample Hypothesis Tests
Two-sample Hypothesis Tests Two-sample Hypothesis Tests
Two-sample Hypothesis Tests
 
Chap02 describing data; numerical
Chap02 describing data; numericalChap02 describing data; numerical
Chap02 describing data; numerical
 
Point Estimation
Point EstimationPoint Estimation
Point Estimation
 
Matematika Ekonomi Diferensiasi fungsi sederhana
Matematika Ekonomi Diferensiasi fungsi sederhanaMatematika Ekonomi Diferensiasi fungsi sederhana
Matematika Ekonomi Diferensiasi fungsi sederhana
 
Education 309 – Statistics for Educational Research
Education 309 – Statistics for Educational ResearchEducation 309 – Statistics for Educational Research
Education 309 – Statistics for Educational Research
 
Business Statistics Chapter 3
Business Statistics Chapter 3Business Statistics Chapter 3
Business Statistics Chapter 3
 
Hypergeometric probability distribution
Hypergeometric probability distributionHypergeometric probability distribution
Hypergeometric probability distribution
 
One sample t test (procedure and output in SPSS)
One sample t test (procedure and output in SPSS)One sample t test (procedure and output in SPSS)
One sample t test (procedure and output in SPSS)
 

Similar to Estimation confidence intervals independent samples

Chap10 hypothesis testing ; additional topics
Chap10 hypothesis testing ; additional topicsChap10 hypothesis testing ; additional topics
Chap10 hypothesis testing ; additional topicsJudianto Nugroho
 
Newbold_chap09.ppt
Newbold_chap09.pptNewbold_chap09.ppt
Newbold_chap09.pptcfisicaster
 
Newbold_chap11.ppt
Newbold_chap11.pptNewbold_chap11.ppt
Newbold_chap11.pptcfisicaster
 
Hypothesis Testing -2.ppt
Hypothesis Testing -2.pptHypothesis Testing -2.ppt
Hypothesis Testing -2.pptTasrovaUrmi
 
Chap17 additional topics in sampling
Chap17 additional topics in samplingChap17 additional topics in sampling
Chap17 additional topics in samplingJudianto Nugroho
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 
Chapter 7 Section 3.ppt
Chapter 7 Section 3.pptChapter 7 Section 3.ppt
Chapter 7 Section 3.pptManoloTaquire
 
Aron chpt 9 ed f2011
Aron chpt 9 ed f2011Aron chpt 9 ed f2011
Aron chpt 9 ed f2011Sandra Nicks
 
business and economics statics principles
business and economics statics principlesbusiness and economics statics principles
business and economics statics principlesdevvpillpersonal
 
Aron chpt 9 ed t test independent samples
Aron chpt 9 ed t test independent samplesAron chpt 9 ed t test independent samples
Aron chpt 9 ed t test independent samplesKaren Price
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxrathorebhagwan07
 
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxAirlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxdaniahendric
 
Aron chpt 9 ed t test independent samples
Aron chpt 9 ed t test independent samplesAron chpt 9 ed t test independent samples
Aron chpt 9 ed t test independent samplesKaren Price
 
Lecture 5 Sampling distribution of sample mean.pptx
Lecture 5 Sampling distribution of sample mean.pptxLecture 5 Sampling distribution of sample mean.pptx
Lecture 5 Sampling distribution of sample mean.pptxshakirRahman10
 
Chapter on Confidence interval notes.ppt
Chapter on Confidence interval notes.pptChapter on Confidence interval notes.ppt
Chapter on Confidence interval notes.pptAbdulMuhith4
 
Sampling Distribution and Simulation in R
Sampling Distribution and Simulation in RSampling Distribution and Simulation in R
Sampling Distribution and Simulation in RPremier Publishers
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: EstimationParag Shah
 

Similar to Estimation confidence intervals independent samples (20)

Chap10 hypothesis testing ; additional topics
Chap10 hypothesis testing ; additional topicsChap10 hypothesis testing ; additional topics
Chap10 hypothesis testing ; additional topics
 
Newbold_chap09.ppt
Newbold_chap09.pptNewbold_chap09.ppt
Newbold_chap09.ppt
 
Newbold_chap11.ppt
Newbold_chap11.pptNewbold_chap11.ppt
Newbold_chap11.ppt
 
Hypothesis Testing -2.ppt
Hypothesis Testing -2.pptHypothesis Testing -2.ppt
Hypothesis Testing -2.ppt
 
Chap09
Chap09Chap09
Chap09
 
Chap17 additional topics in sampling
Chap17 additional topics in samplingChap17 additional topics in sampling
Chap17 additional topics in sampling
 
qm2CHAP10.pdf
qm2CHAP10.pdfqm2CHAP10.pdf
qm2CHAP10.pdf
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
 
Chapter 7 Section 3.ppt
Chapter 7 Section 3.pptChapter 7 Section 3.ppt
Chapter 7 Section 3.ppt
 
Aron chpt 9 ed f2011
Aron chpt 9 ed f2011Aron chpt 9 ed f2011
Aron chpt 9 ed f2011
 
business and economics statics principles
business and economics statics principlesbusiness and economics statics principles
business and economics statics principles
 
Msb12e ppt ch06
Msb12e ppt ch06Msb12e ppt ch06
Msb12e ppt ch06
 
Aron chpt 9 ed t test independent samples
Aron chpt 9 ed t test independent samplesAron chpt 9 ed t test independent samples
Aron chpt 9 ed t test independent samples
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
 
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxAirlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
 
Aron chpt 9 ed t test independent samples
Aron chpt 9 ed t test independent samplesAron chpt 9 ed t test independent samples
Aron chpt 9 ed t test independent samples
 
Lecture 5 Sampling distribution of sample mean.pptx
Lecture 5 Sampling distribution of sample mean.pptxLecture 5 Sampling distribution of sample mean.pptx
Lecture 5 Sampling distribution of sample mean.pptx
 
Chapter on Confidence interval notes.ppt
Chapter on Confidence interval notes.pptChapter on Confidence interval notes.ppt
Chapter on Confidence interval notes.ppt
 
Sampling Distribution and Simulation in R
Sampling Distribution and Simulation in RSampling Distribution and Simulation in R
Sampling Distribution and Simulation in R
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
 

More from Judianto Nugroho (20)

Chap14 en-id
Chap14 en-idChap14 en-id
Chap14 en-id
 
Chap19 en-id
Chap19 en-idChap19 en-id
Chap19 en-id
 
Chap18 en-id
Chap18 en-idChap18 en-id
Chap18 en-id
 
Chap16 en-id
Chap16 en-idChap16 en-id
Chap16 en-id
 
Chap15 en-id
Chap15 en-idChap15 en-id
Chap15 en-id
 
Chap17 en-id
Chap17 en-idChap17 en-id
Chap17 en-id
 
Chap13 en-id
Chap13 en-idChap13 en-id
Chap13 en-id
 
Chap12 en-id
Chap12 en-idChap12 en-id
Chap12 en-id
 
Chap11 en-id
Chap11 en-idChap11 en-id
Chap11 en-id
 
Chap10 en-id
Chap10 en-idChap10 en-id
Chap10 en-id
 
Chap09 en-id
Chap09 en-idChap09 en-id
Chap09 en-id
 
Chap08 en-id
Chap08 en-idChap08 en-id
Chap08 en-id
 
Chap05 en-id
Chap05 en-idChap05 en-id
Chap05 en-id
 
Chap07 en-id
Chap07 en-idChap07 en-id
Chap07 en-id
 
Chap06 en-id
Chap06 en-idChap06 en-id
Chap06 en-id
 
Chap04 en-id
Chap04 en-idChap04 en-id
Chap04 en-id
 
Chap03 en-id
Chap03 en-idChap03 en-id
Chap03 en-id
 
Chap02 en-id
Chap02 en-idChap02 en-id
Chap02 en-id
 
Chap01 en-id
Chap01 en-idChap01 en-id
Chap01 en-id
 
Spss session 1 and 2
Spss session 1 and 2Spss session 1 and 2
Spss session 1 and 2
 

Recently uploaded

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 

Recently uploaded (20)

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 

Estimation confidence intervals independent samples

  • 1. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7th Edition Chapter 8 Estimation: Additional Topics Ch. 8-1
  • 2. Chapter Goals After completing this chapter, you should be able to:  Form confidence intervals for the difference between two means from dependent samples  Form confidence intervals for the difference between two independent population means (standard deviations known or unknown)  Compute confidence interval limits for the difference between two independent population proportions  Determine the required sample size to estimate a mean or proportion within a specified margin of error Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-2
  • 3. Estimation: Additional Topics Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Chapter Topics Population Means, Independent Samples Population Means, Dependent Samples Sample Size Determination Group 1 vs. independent Group 2 Same group before vs. after treatment Finite Populations Examples: Population Proportions Proportion 1 vs. Proportion 2 Ch. 8-3 Large Populations Confidence Intervals
  • 4. Dependent Samples Tests Means of 2 Related Populations  Paired or matched samples  Repeated measures (before/after)  Use difference between paired values:  Eliminates Variation Among Subjects  Assumptions:  Both Populations Are Normally Distributed Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Dependent samples di = xi - yi Ch. 8-4 8.1
  • 5. Mean Difference The ith paired difference is di , where Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall di = xi - yi The point estimate for the population mean paired difference is d : n d d n 1i i  n is the number of matched pairs in the sample 1n )d(d S n 1i 2 i d     The sample standard deviation is: Dependent samples Ch. 8-5
  • 6. Confidence Interval for Mean Difference The confidence interval for difference between population means, μd , is Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Where n = the sample size (number of matched pairs in the paired sample) n S tdμ n S td d α/21,nd d α/21,n   Dependent samples Ch. 8-6
  • 7. Confidence Interval for Mean Difference  The margin of error is  tn-1,/2 is the value from the Student’s t distribution with (n – 1) degrees of freedom for which Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall (continued) 2 α )tP(t α/21,n1n   n s tME d α/21,n Dependent samples Ch. 8-7
  • 8.  Six people sign up for a weight loss program. You collect the following data: Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Paired Samples Example Weight: Person Before (x) After (y) Difference, di 1 136 125 11 2 205 195 10 3 157 150 7 4 138 140 - 2 5 175 165 10 6 166 160 6 42 d =  di n 4.82 1n )d(d S 2 i d      = 7.0 Ch. 8-8 Dependent samples
  • 9.  For a 95% confidence level, the appropriate t value is tn-1,/2 = t5,.025 = 2.571  The 95% confidence interval for the difference between means, μd , is Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 12.06μ1.94 6 4.82 (2.571)7μ 6 4.82 (2.571)7 n S tdμ n S td d d d α/21,nd d α/21,n     Paired Samples Example (continued) Since this interval contains zero, we cannot be 95% confident, given this limited data, that the weight loss program helps people lose weight Ch. 8-9 Dependent samples
  • 10. Difference Between Two Means: Independent Samples  Different data sources  Unrelated  Independent  Sample selected from one population has no effect on the sample selected from the other population  The point estimate is the difference between the two sample means: Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples Goal: Form a confidence interval for the difference between two population means, μx – μy x – y Ch. 8-10 8.2
  • 11. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples Confidence interval uses z/2 Confidence interval uses a value from the Student’s t distribution σx 2 and σy 2 assumed equal σx 2 and σy 2 known σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal (continued) Ch. 8-11 Difference Between Two Means: Independent Samples
  • 12. σx 2 and σy 2 Known Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples Assumptions:  Samples are randomly and independently drawn  both population distributions are normal  Population variances are known *σx 2 and σy 2 known σx 2 and σy 2 unknown Ch. 8-12
  • 13. σx 2 and σy 2 Known Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples …and the random variable has a standard normal distribution When σx and σy are known and both populations are normal, the variance of X – Y is y 2 y x 2 x2 YX n σ n σ σ  (continued) * Y 2 y X 2 x YX n σ n σ )μ(μ)yx( Z    σx 2 and σy 2 known σx 2 and σy 2 unknown Ch. 8-13
  • 14. Confidence Interval, σx 2 and σy 2 Known Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples The confidence interval for μx – μy is: * y 2 Y x 2 X α/2YX y 2 Y x 2 X α/2 n σ n σ z)yx(μμ n σ n σ z)yx(  σx 2 and σy 2 known σx 2 and σy 2 unknown Ch. 8-14
  • 15. σx 2 and σy 2 Unknown, Assumed Equal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples Assumptions:  Samples are randomly and independently drawn  Populations are normally distributed  Population variances are unknown but assumed equal *σx 2 and σy 2 assumed equal σx 2 and σy 2 known σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal Ch. 8-15
  • 16. σx 2 and σy 2 Unknown, Assumed Equal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples (continued) Forming interval estimates:  The population variances are assumed equal, so use the two sample standard deviations and pool them to estimate σ  use a t value with (nx + ny – 2) degrees of freedom *σx 2 and σy 2 assumed equal σx 2 and σy 2 known σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal Ch. 8-16
  • 17. σx 2 and σy 2 Unknown, Assumed Equal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples The pooled variance is (continued) * 2nn 1)s(n1)s(n s yx 2 yy 2 xx2 p    σx 2 and σy 2 assumed equal σx 2 and σy 2 known σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal Ch. 8-17
  • 18. Confidence Interval, σx 2 and σy 2 Unknown, Equal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall The confidence interval for μ1 – μ2 is: Where *σx 2 and σy 2 assumed equal σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal y 2 p x 2 p α/22,nnYX y 2 p x 2 p α/22,nn n s n s t)yx(μμ n s n s t)yx( yxyx   2nn 1)s(n1)s(n s yx 2 yy 2 xx2 p    Ch. 8-18
  • 19. Pooled Variance Example You are testing two computer processors for speed. Form a confidence interval for the difference in CPU speed. You collect the following speed data (in Mhz): CPUx CPUy Number Tested 17 14 Sample mean 3004 2538 Sample std dev 74 56 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Assume both populations are normal with equal variances, and use 95% confidence Ch. 8-19
  • 20. Calculating the Pooled Variance Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall         4427.03 1)141)-(17 5611474117 1)n(n S1nS1n S 22 y 2 yy 2 xx2 p        (()1x The pooled variance is: The t value for a 95% confidence interval is: 2.045tt 0.025,29α/2,2nn yx  Ch. 8-20
  • 21. Calculating the Confidence Limits  The 95% confidence interval is Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall y 2 p x 2 p α/22,nnYX y 2 p x 2 p α/22,nn n s n s t)yx(μμ n s n s t)yx( yxyx   14 4427.03 17 4427.03 (2.054)2538)(3004μμ 14 4427.03 17 4427.03 (2.054)2538)(3004 YX  515.31μμ416.69 YX  We are 95% confident that the mean difference in CPU speed is between 416.69 and 515.31 Mhz. Ch. 8-21
  • 22. σx 2 and σy 2 Unknown, Assumed Unequal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples Assumptions:  Samples are randomly and independently drawn  Populations are normally distributed  Population variances are unknown and assumed unequal * σx 2 and σy 2 assumed equal σx 2 and σy 2 known σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal Ch. 8-22
  • 23. σx 2 and σy 2 Unknown, Assumed Unequal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population means, independent samples (continued) Forming interval estimates:  The population variances are assumed unequal, so a pooled variance is not appropriate  use a t value with  degrees of freedom, where σx 2 and σy 2 known σx 2 and σy 2 unknown * σx 2 and σy 2 assumed equal σx 2 and σy 2 assumed unequal 1)/(n n s 1)/(n n s ) n s () n s ( y 2 y 2 y x 2 x 2 x 2 y 2 y x 2 x                         v Ch. 8-23
  • 24. Confidence Interval, σx 2 and σy 2 Unknown, Unequal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall The confidence interval for μ1 – μ2 is: * σx 2 and σy 2 assumed equal σx 2 and σy 2 unknown σx 2 and σy 2 assumed unequal y 2 y x 2 x α/2,YX y 2 y x 2 x α/2, n s n s t)yx(μμ n s n s t)yx(   1)/(n n s 1)/(n n s ) n s () n s ( y 2 y 2 y x 2 x 2 x 2 y 2 y x 2 x                         vWhere Ch. 8-24
  • 25. Two Population Proportions Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Goal: Form a confidence interval for the difference between two population proportions, Px – Py The point estimate for the difference is Population proportions Assumptions: Both sample sizes are large (generally at least 40 observations in each sample) yx pp ˆˆ  Ch. 8-25 8.3
  • 26. Two Population Proportions  The random variable is approximately normally distributed Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population proportions (continued) y yy x xx yxyx n )p(1p n )p(1p )p(p)pp( Z ˆˆˆˆ ˆˆ      Ch. 8-26
  • 27. Confidence Interval for Two Population Proportions Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Population proportions The confidence limits for Px – Py are: y yy x xx yx n )p(1p n )p(1p Z)pp( ˆˆˆˆ ˆˆ 2/      Ch. 8-27
  • 28. Example: Two Population Proportions Form a 90% confidence interval for the difference between the proportion of men and the proportion of women who have college degrees.  In a random sample, 26 of 50 men and 28 of 40 women had an earned college degree Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-28
  • 29. Example: Two Population Proportions Men: Women: Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 0.1012 40 0.70(0.30) 50 0.52(0.48) n )p(1p n )p(1p y yy x xx     ˆˆˆˆ 0.52 50 26 px ˆ 0.70 40 28 py ˆ (continued) For 90% confidence, Z/2 = 1.645 Ch. 8-29
  • 30. Example: Two Population Proportions The confidence limits are: so the confidence interval is -0.3465 < Px – Py < -0.0135 Since this interval does not contain zero we are 90% confident that the two proportions are not equal Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall (continued) (0.1012)1.645.70)(.52 n )p(1p n )p(1p Z)pp( y yy x xx α/2yx      ˆˆˆˆ ˆˆ Ch. 8-30
  • 31. Sample Size Determination Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall For the Mean Determining Sample Size For the Proportion Ch. 8-31 Large Populations Finite Populations For the Mean For the Proportion 8.4
  • 32. 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 - )  The margin of error is also called sampling error  the amount of imprecision in the estimate of the population parameter  the amount added and subtracted to the point estimate to form the confidence interval Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-32
  • 33. Sample Size Determination Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall n σ zx α/2 n σ zME α/2 Margin of Error (sampling error) Ch. 8-33 For the Mean Large Populations
  • 34. Sample Size Determination Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall n σ zME α/2 (continued) 2 22 α/2 ME σz n Now solve for n to get Ch. 8-34 For the Mean Large Populations
  • 35. Sample Size Determination  To determine the required sample size for the mean, you must know:  The desired level of confidence (1 - ), which determines the z/2 value  The acceptable margin of error (sampling error), ME  The population standard deviation, σ Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall (continued) Ch. 8-35
  • 36. Required Sample Size Example If  = 45, what sample size is needed to estimate the mean within ± 5 with 90% confidence? Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall (Always round up) 219.19 5 (45)(1.645) ME σz n 2 22 2 22 α/2  So the required sample size is n = 220 Ch. 8-36
  • 37. Sample Size Determination: Population Proportion Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall n )p(1p zp α/2 ˆˆ ˆ   n )p(1p zME α/2 ˆˆ   Margin of Error (sampling error) Ch. 8-37 For the Proportion Large Populations
  • 38. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 2 2 α/2 ME z0.25 n  Substitute 0.25 for and solve for n to get (continued) n )p(1p zME α/2 ˆˆ   cannot be larger than 0.25, when = 0.5 )p(1p ˆˆ  pˆ )p(1p ˆˆ  Ch. 8-38 For the Proportion Large Populations Sample Size Determination: Population Proportion
  • 39.  The sample and population proportions, 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 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall (continued) pˆ Ch. 8-39 Sample Size Determination: Population Proportion
  • 40. Required Sample Size Example: Population Proportion How large a sample would be necessary to estimate the true proportion defective in a large population within ±3%, with 95% confidence? Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-40
  • 41. Required Sample Size Example Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Solution: For 95% confidence, use z0.025 = 1.96 ME = 0.03 Estimate P(1 – P) = 0.25 So use n = 1068 (continued) 1067.11 (0.03) 6)(0.25)(1.9 ME z0.25 n 2 2 2 2 α/2  Ch. 8-41
  • 42. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-42 Sample Size Determination: Finite Populations Finite Populations For the Mean          1N nN n σ )XVar( 2 A finite population correction factor is added: 1. Calculate the required sample size n0 using the prior formula: 2. Then adjust for the finite population: 2 22 α/2 0 ME σz n  1)-(Nn Nn n 0 0   8.5
  • 43. Sample Size Determination: Finite Populations Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-43 Finite Populations For the Proportion          1N nN n P)P(1- )pVar( ˆ A finite population correction factor is added: 1. Solve for n: 2. The largest possible value for this expression (if P = 0.25) is: 3. A 95% confidence interval will extend ±1.96 from the sample proportion P)P(11)σ(N P)NP(1 n 2 p    ˆ 0.251)σ(N P)0.25(1 n 2 p    ˆ p σˆ
  • 44. Example: Sample Size to Estimate Population Proportion Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-44 (continued) p σˆ How large a sample would be necessary to estimate within ±5% the true proportion of college graduates in a population of 850 people with 95% confidence?
  • 45. Required Sample Size Example Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Solution:  For 95% confidence, use z0.025 = 1.96  ME = 0.05 So use n = 265 (continued) Ch. 8-45 0.02551σ0.05σ1.96 pp  ˆˆ 264.8 0.25551)(849)(0.02 )(0.25)(850 0.251)σ(N 0.25N n 22 p max      ˆ
  • 46. Chapter Summary  Compared two dependent samples (paired samples)  Formed confidence intervals for the paired difference  Compared two independent samples  Formed confidence intervals for the difference between two means, population variance known, using z  Formed confidence intervals for the differences between two means, population variance unknown, using t  Formed confidence intervals for the differences between two population proportions  Formed confidence intervals for the population variance using the chi-square distribution  Determined required sample size to meet confidence and margin of error requirements Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 8-46