CI Estimation and Sample Size Determination
CI Estimation and Sample Size Determination
Estimation
Learning Objectives
Lower Upper
Confidence Confidence
Point Estimate Limit
Limit
Width of
confidence interval
Point Estimates
Mean μ X
Proportion π p
Confidence Intervals
example
Population has µ = 368 and σ = 15.
Sample
Confidence interval C.I.
Confidence Level
Confidence the interval will contain
the unknown population parameter
A percentage (less than 100%)
Confidence Interval (C.I) of the Mean (μ)
Confidence Intervals
Confidence
Intervals
Population Population
Mean Proportion
σ Known σ Unknown
Confidence Interval for μ
(σ Known)
Assumptions
Population standard deviation σ is known
σ
X Zα/2
n
where X is the point estimate
Zα/2 is the normal distribution critical value for a probability of /2 in each tail
σ/ n is the standard error
Finding the Critical Value, Zα/2
Zα/2 1.96
Consider a 95% confidence interval:
1 α 0.95 so α 0.05
α α
0.025 0.025
2 2
Solution: σ
X Zα/2
n
2.20 1.96 (0.35/ 11 )
2.20 0.2068
1.9932 μ 2.4068
Interpretation
Confidence
Intervals
Population Population
Mean Proportion
σ Known σ Unknown
Do You Ever Truly Know σ?
Probably not!
Chap 8-25
Confidence Interval for μ
(σ Unknown)
(continued)
Assumptions
Population standard deviation is unknown
Population is normally distributed
If population is not normal, use large sample
Use Student’s t Distribution
Confidence Interval Estimate:
S
X tα / 2
n
(where tα/2 is the critical value of the t distribution with n -1 degrees
of freedom and an area of α/2 in each tail)
Student’s t Distribution
It has a mean of 0.
It is symmetrical about the mean.
In general, it has a variance greater than 1, but the variance
approaches 1 as the sample size becomes large.
The variable t ranges from −∞ to + ∞.
The t distribution is really a family of distributions, since there is a
different distribution for each sample value of n − 1. We recall that
n − 1 is referred to as degrees of freedom.
Student’s t Distribution
d.f. = n - 1
Degrees of Freedom (df)
Idea: Number of observations that are free to vary
after sample mean has been calculated
Example: Suppose the mean of 3 numbers is 8.0
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
Student’s t Table
Confidence t t t Z
Level (10 d.f.) (20 d.f.) (30 d.f.) (∞ d.f.)
Note: t Z as n increases
Example of t distribution
confidence interval
A random sample of n = 25 has X = 50 and
S = 8. Form a 95% confidence interval for μ
46.698 ≤ μ ≤ 53.302
Example of t distribution
confidence interval
(continued)
Confidence
Intervals
Population Population
Mean Proportion
σ Known σ Unknown
Confidence Intervals for the
Population Proportion, π
(1 )
σp
n
We will estimate this with sample data:
p(1 p)
n
Confidence Interval Endpoints
Upper and lower confidence limits for the
population proportion are calculated with the
formula
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
Note: must have np > 5 and n(1-p) > 5
Example
Determining
Sample Size
Determining
Sample Size
For the
Mean Sampling error
(margin of error)
σ σ
X Zα / 2 e Zα / 2
n n
Determining Sample Size
(continued)
Determining
Sample Size
For the
Mean
σ 2
Zα / 2 σ 2
e Zα / 2 Now solve
n
for n to get 2
n e
Determining Sample Size
(continued)
Z σ2 2 2
(1.645) (45) 2
n 2
2
219.19
e 5
Determining
Sample Size
For the
Proportion
Solution:
For 95% confidence, use Zα/2 = 1.96
e = 0.03
p = 0.12, so use this to estimate π
So use n = 451