Professional Documents
Culture Documents
Chapter 7
Lower Upper
Confidence Confidence
Point Estimate Limit
Limit
Width of
confidence interval
Mean μ x
Proportion P p̂
E(θˆ ) θ
Examples:
The sample mean x is an unbiased estimator of μ
θ̂1 θ̂ 2
θ θ̂
Copyright © 2013 Pearson Education Ch. 7-8
Bias
Let θ̂ be an estimator of
Bias(θˆ ) E(θˆ ) θ
Sample
θˆ ME
Point Estimate ± Margin of Error
Confidence
Intervals
σ2 Known σ2 Unknown
σ
UCL x z α/2 Upper confidence limit
n
σ
LCL x z α/2 Lower confidence limit
n
σ
ME z α/2
n
σ
ME z α/2
n
α α
.025 .025
2 2
/2 1 /2
x
Intervals μx μ
extend from x1
σ 100(1-)%
LCL x z x2
n of intervals
to constructed
σ contain μ;
UCL x z
n 100()% do
Confidence Intervals not.
Copyright © 2013 Pearson Education Ch. 7-24
Example
Solution: σ
x z/2
n
2.20 .2068
1.9932 μ 2.4068
Copyright © 2013 Pearson Education Ch. 7-26
Interpretation
We are 95% confident that the true mean
resistance is between 1.9932 and 2.4068
ohms
Although the true mean may or may not be
in this interval, 95% of intervals formed in
this manner will contain the true mean
σ2 Known σ2 Unknown
d.f. = n - 1
Standard
Normal
(t with df = ∞)
t (df = 13)
t-distributions are bell-
shaped and symmetric, but
have ‘fatter’ tails than the t (df = 5)
normal
0 t
Copyright © 2013 Pearson Education Ch. 7-31
Student’s t Table
Confidence t t t Z
Level (10 d.f.) (20 d.f.) (30 d.f.) ____
Note: t Z as n increases
where tn-1,α/2 is the critical value of the t distribution with n-1 d.f.
and an area of α/2 in each tail:
P(t n1 t n1,α/2 ) α/2
Copyright © 2013 Pearson Education Ch. 7-35
Margin of Error
The confidence interval,
s
x t n-1,α/2
n
Confidence
Intervals
σ2 Known σ2 Unknown
P(1 P)
σP
n
We will estimate this with sample data:
pˆ (1 pˆ )
n
Copyright © 2013 Pearson Education Ch. 7-40
Confidence Interval Endpoints
The confidence interval for the population
proportion is given by
pˆ (1 pˆ )
pˆ z α/2
n
where
z/2 is the standard normal value for the level of confidence desired
p̂ is the sample proportion
n is the sample size
nP(1−P) > 5
25 .25(.75)
1.96
100 100
0.1651 P 0.3349
Copyright © 2013 Pearson Education Ch. 7-43
Interpretation
Confidence
Intervals
σ2 Known σ2 Unknown
Where the chi-square value n1, denotes the number for which
2
P( χn21 χn21, α ) α
(n 1)s 2
LCL 2
χn1, α/2
(n 1)s 2
UCL 2
χn1, 1 - α/2
Copyright © 2013 Pearson Education Ch. 7-48
Example
Sample size 17
Sample mean 3004
Sample std dev 74
probability probability
α/2 = .025 α/2 = .025
216
216 = 6.91 216 = 28.85
Copyright © 2013 Pearson Education Ch. 7-50
Calculating the Confidence Limits
The 95% confidence interval is
(n 1)s2 (n 1)s 2
σ 2
2
χn1, α/2
2
χn1, 1 - α/2
ˆ s 2
N n
N σx N
2 2 2
n N -1
Nx t n-1,α/2Nσˆ x
s 2
(N n) 2
2 (22.3) 920
N σˆ N
2 2
x
2
(1000) 5724559.6
n N -1 80 999
Nσˆ x 5724559.6 2392.6
82837.53 Nμ 92362.47
pˆ z α/2σ
ˆ pˆ
Copyright © 2013 Pearson Education Ch. 7-61
Sample-Size Determination
Determining
Sample Size
For the
Mean
(Known population
variance)
Margin of Error
(sampling error)
σ σ
x z α/2 ME z α/2
n n
Copyright © 2013 Pearson Education Ch. 7-63
Sample-Size Determination:
Large Populations
(continued)
Large
Populations
For the
Mean
(Known population
variance)
σ z σ
2 2
ME z α/2
n
Now solve
for n to get n α/2
2
ME
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
(sampling error)
Copyright © 2013 Pearson Education Ch. 7-67
Sample Size Determination:
Population Proportion
(continued)
Large
Populations
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
0.5 n to get
ME
Copyright © 2013 Pearson Education Ch. 7-68
Sample Size Determination:
Population Proportion
(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
Copyright © 2013 Pearson Education Ch. 7-69
Required Sample Size Example:
Population Proportion
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.96)
n 2
α/2
2
1067.11
ME (0.03)
So use n = 1068
ˆ P(1- P) N n
Var( p) 3. A 95% confidence interval
n N 1
will extend ±1.96 σ pˆ from
the sample proportion
Copyright © 2013 Pearson Education Ch. 7-73
Example: Sample Size to
Estimate Population Proportion
Solution:
For 95% confidence, use z0.025 = 1.96
ME = 0.05
1.96 σpˆ 0.05 σpˆ 0.02551
0.25N (0.25)(850)
nmax 264.8
(N 1)σ pˆ 0.25 (849)(0.02551) 0.25
2 2
So use n = 265