Confidence Intervals 2024
Confidence Intervals 2024
Confidence Interval
Estimation
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
8
Statistical
Intervals for a
Single Sample
CHAPTER OUTLINE
8-1 Confidence Interval on the Mean 8-3 Confidence Interval on σ2 & σ of
of a Normal distribution, σ2 Known a Normal Distribution
8-1.1 Development of the
Confidence Interval & Its
Properties
8-1.2 Choice of Sample Size
8-1.3 1-Sided Confidence Bounds
8-1.4 Large-Sample Confidence
Interval for μ
8-2 Confidence Interval on the Mean of
a Normal distribution, σ2 Unknown
8-2.1 t Distribution
8-2.2 Confidence Interval on μ
3/14/2024B 4
10: Intro to Confidence Intervals
asic reserved.
Copyright © 2014 John Wiley & Sons, Inc. All rights Biostat
Point and Interval Estimates
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
8-1.1 Confidence Interval and its Properties
l ≤ ≤ u,
3/14/2024
10: Intro to Confidence Intervals Basic 7
Biostat
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
3/14/2024
10: Intro to Confidence Intervals Basic 8
Biostat
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
Confidence Interval on the Mean, Variance Known
x z / 2 / n x z / 2/ n (8-1)
m ≈ 2×SE = 2×(σ/√n)
x m
3/14/2024
10: Intro to Confidence Intervals Basic 10
Biostat
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
“Body Weight” Example
• Body weights of 20-29-year-old males
have unknown μ and σ = 40
• Take an SRS of n = 712 from population
• Calculate: x-bar =183
40
SE x 1.5 and m 2 SE x 2 1.5 3
n 712
95% CI for x m
183 3
180 to 186 pounds
3/14/2024
10: Intro to Confidence Intervals Basic 11
Biostat
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
Confidence Interval Formula
x z1
n 2
3/14/2024
10: Intro to Confidence Intervals Basic 12
Biostat
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
Common Levels of Confidence
3/14/2024
10: Intro to Confidence Intervals Basic 13
Biostat
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
90% Confidence Interval for μ
Data: SRS, n = 712, σ = 40, x-bar = 183
90% CI for x z1 .1
2
n
40
183 1.645
712
183 2.5
180.5 to 185.5
3/14/2024B 14
10: Intro to Confidence Intervals
asic reserved.
Copyright © 2014 John Wiley & Sons, Inc. All rights Biostat
95% Confidence Interval for μ
Data: SRS, n = 712, σ = 40, x-bar = 183
95% CI for x z1 .05
2
n
40
183 1.960
712
183 2.9
180.1 to 185.9
3/14/2024B 15
10: Intro to Confidence Intervals
asic reserved.
Copyright © 2014 John Wiley & Sons, Inc. All rights Biostat
99% Confidence Interval for μ
Data: SRS, n = 712, σ = 40, x-bar = 183
99% CI for x z1 .01
2
n
40
183 2.576
712
183 3.9
179.1 to 186.9
3/14/2024B 16
10: Intro to Confidence Intervals
asic reserved.
Copyright © 2014 John Wiley & Sons, Inc. All rights Biostat
Confidence Level and CI Length
UCL ≡ Upper Confidence Limit; LCL ≡ Lower Limit;
Confidence Body weight CI length
level example = UCL – LCL
90% 180.5 to 185.5 185.5 – 180.5 = 5.0
95% 180.1 to 185.9 185.9 – 180.1 = 5.8
99% 179.1 to 186.9 186.9 – 179.1 = 7.8
3/14/2024
10: Intro to Confidence Intervals Basic 17
Biostat
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
Example
• A sample of 11 circuits from a large normal
population has a mean resistance of 2.20
ohms. We know from past testing that the
population standard deviation is 0.35
ohms.
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
Example
(continued)
DCOVA
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
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
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
EXAMPLE 8-1 Metallic Material Transition
Ten measurements of impact energy (J) on specimens of A238 steel cut at
60°C are as follows: 64.1, 64.7, 64.5, 64.6, 64.5, 64.3, 64.6, 64.8, 64.2,
and 64.3. The impact energy is normally distributed with = 1J. Find a
95% CI for , the mean impact energy.
The required quantities are zα/2 = z0.025 = 1.96, n = 10, = l, and x 64.46 .
(8-3)
x z / n
and a 100(1 − α)% lower-confidence bound for
is
x z / n l
(8-4)
The same data for impact testing from Example 8-1 are used
to construct a lower, one-sided 95% confidence interval for
the mean impact energy.
Recall that zα = 1.64, n = 10, = l, and x 64.46 .
Because n > 40, the assumption of normality is not necessary to use in Equation
8-5. The required values are n 53, x 0.5250, s 0.3486 , and z0.025 = 1.96.
where t2,n1 the upper 1002 percentage point of the t distribution with
n 1 degrees of freedom.
X
T (8-6)
S/ n
The resulting CI is
x t /2, n 1s / n x t /2, n 1s/ n
13.71 2.080(3.55) / 22 13.71 2.0803.55 / 22
13.71 1.57 13.71 1.57
12.14 15.28
Interpretation: The CI is fairly wide because there is a lot of variability in the
measurements. A larger sample size would have led to a shorter interval.
X 2
n 1 S 2
2
(8-8)
(n 1) s 2 ( n 1) s 2 (8-9)
n 1 n 1
where
and
n 1 n 1
are the upper and lower
100/2 percentage points of the chi-square distribution with
n – 1 degrees of freedom, respectively.
(n 1) s 2 ( n 1) s 2
and (8-10)
n 1 n 1
n 1 s 2
2
2
20 1 0.0153
10.117
2 0.0287