Professional Documents
Culture Documents
Week 3-1
Inferences Based on a Single Sample:
Estimation with Confidence Intervals
Population Mean
Small-Sample Confidence Interval for a
Population Mean
Large-Sample Confidence Interval for a
Population Proportion
Determining the Sample Size
Week 3-2
Estimation Process
Sample
Week 3-3
Point and Interval Estimates
Lower Upper
Confidence Confidence
Point Estimate Limit
Limit
Width of
confidence interval
Week 3-4
Point Estimates
Mean μ X
Proportion p ps
Week 3-5
Unbiased Point Estimates
Population Sample
Parameter Statistic Formula
x
• Mean, µ x x = ni
( x – x )2
• Variance, 2 s2 s2 = i
n –1
• Proportion, p ps ps = x successes
n trials
Week 3-6
Confidence Intervals
Week 3-7
Confidence Interval Estimate
An interval gives a range of values:
Takes into consideration variation in sample
statistics from sample to sample
Based on observation from 1 sample
Gives information about closeness to unknown
population parameters
Stated in terms of level of confidence
Can never be 100% confident
Week 3-8
Confidence Level
Confidence Level
Confidence in which the interval will
contain the unknown population
parameter
A percentage (less than 100%)
Week 3-9
Confidence Level, (1-)
(continued)
Suppose confidence level = 95%
Also written (1 - ) = 0.95 [Confidence Coefficient]
A relative frequency interpretation:
In the long run, 95% of all the confidence intervals
that can be constructed will contain the unknown true
parameter
A specific interval either will contain or will not
contain the true parameter
No probability involved in a specific interval
Week 3-10
General Formula
Week 3-11
Confidence Intervals
Confidence
Intervals
Population Population
Mean Proportion
σ
Known σ Unknown
Week 3-12
Confidence Interval for μ
(σ Known)
Assumptions
Population standard deviation σ is known
Population is normally distributed
If population is not normal, use large sample
Confidence interval estimate:
σ
X Z
2 n
Note:
Z is the normal distribution critical value for a probability
of α/2 in each tail
Week 3-13
Finding the Critical Value, Z
Z = 1.96
Consider a 95% confidence interval:
1 = 0.95
Z=1.645
α α
= 0.025 = 0.025
2 2
Week 3-14
Common Levels of Confidence
Commonly used confidence levels are 90%, 95%,
and 99%
Confidence
Confidence
Coefficient, Z value
Level
1
80% 0.80 1.28
90% 0.90 1.645
95% 0.95 1.96
98% 0.98 2.33
99% 0.99 2.58
99.8% 0.998 3.08
99.9% 0.999 3.27
Week 3-15
Intervals and Level of Confidence
Sampling Distribution of the Mean
/2 1 /2
x
Intervals μx = μ
extend from x1
σ x2 (1-) x 100%
XZ of intervals
n
to constructed
σ contain μ;
XZ
n () x 100% do
not.
Confidence Intervals
Week 3-16
Example
Week 3-17
Example
(continued)
Week 3-19
Confidence Intervals
Confidence
Intervals
Population Population
Mean Proportion
σ
σ Known Unknown
Week 3-20
Confidence Interval for μ
(σ Unknown)
Week 3-21
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 n-1
n
(where t is the critical value of the t distribution with n-1 d.f. and an area
of α/2 in each tail)
Week 3-22
Student’s t Distribution
d.f. = n - 1
Week 3-23
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 normal t (df = 5)
0 t
Week 3-25
Week 3-26
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
Week 3-28
Example
A random sample of n = 25 has X = 50 and
S = 8. Form a 95% confidence interval for μ
(46.698 , 53.302)
Week 3-29
Confidence Intervals
Confidence
Intervals
Population Population
Mean
Proportion
σ Known σ Unknown
Week 3-30
Confidence Intervals for the
Population Proportion, p
Week 3-31
Confidence Intervals for the
Population Proportion, p
(continued)
p(1 p)
σp =
n
We will estimate this with sample data:
ps(1 ps)
n
Week 3-32
Confidence Interval Endpoints
Upper and lower confidence limits for the population
proportion are calculated with the formula
ps(1 ps)
ps Z
n
where
Z is the standard normal value for the level of confidence
desired
ps is the sample proportion
n is the sample size
Week 3-33
Example
Week 3-34
Example
(continued)
A random sample of 100 people shows that 25
are left-handed. Form a 95% confidence
interval for the true proportion of left-handers.
ps(1 ps )
ps Z
n
(0.25)(0.7 5)
= 25/100 1.96
100
= 0.25 1.96 (0.0433)
(0.1651 , 0.3349)
Week 3-35
Interpretation
Week 3-36
Summary: Computing Confidence
Intervals from a Large Population
• Mean: • Proportion:
x z
n
p(1– p)
2 p z
n
2
x t s
n
2
Week 3-37
Determining Sample Size
Determining
Sample Size
Week 3-38
Sampling Error
The required sample size can be found to reach a
desired Margin of Error (e) with a specified level of
confidence (1 - )
Week 3-39
Determining Sample Size
Determining
Sample Size
For the
Mean Sampling Error
(Margin of Error)
σ σ
XZ e=Z
n n
Week 3-40
Determining Sample Size
(continued)
Determining
Sample Size
For the
Mean
σ Z σ
2 2
e=Z Now solve
for n to get n= 2
n e
Week 3-41
Determining Sample Size
(continued)
Week 3-42
Required Sample Size Example
If = 45, what sample size is needed to
estimate the mean within ± 5 with 90%
confidence?
Z σ 2 2
(1.645) (45) 2 2
n= 2
= 2
= 219.19
e 5
Week 3-43
If σ is unknown
Week 3-44
Determining Sample Size
Determining
Sample Size
For the
Proportion
Determining
Sample Size
For the
Proportion
Week 3-46
Determining Sample Size
(continued)
Week 3-47
Required Sample Size Example
Week 3-48
Required Sample Size Example
(continued)
Solution:
For 95% confidence, use Z = 1.96
e = 0.03
ps = 0.12, so use this to estimate p
Week 3-49
Ethical Issues
Week 3-50
Summary
Week 3-51
Summary
(continued)
Week 3-52