Documente Academic
Documente Profesional
Documente Cultură
Confidence Intervals
Lower Upper
Confidence Confidence
Point Estimate Limit
Limit
Width of
confidence interval
Point Estimates
Mean μ X
Proportion π p
Confidence Intervals
Sample
General Formula
Confidence Level
Confidence for which the interval
will contain the unknown
population parameter
A percentage (less than 100%)
Confidence Level, (1-)
(continued)
Suppose confidence level = 95%
Also written (1 - ) = 0.95
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
Confidence Intervals
Confidence
Intervals
Population Population
Mean Proportion
σ Known σ Unknown
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:
σ
XZ
n
where X is the point estimate
Z is the normal distribution critical value for a probability of /2 in each tail
σ/ n is the standard error
Finding the Critical Value, Z
Z 1.96
Consider a 95% confidence interval:
1 0.95
α α
0.025 0.025
2 2
/2 1 /2
x
Intervals μx μ
extend from x1
σ x2 (1-)x100%
XZ of intervals
n
to constructed
σ contain μ;
XZ
n ()x100% do
not.
Confidence Intervals
Example
Solution: σ
X Z
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
Confidence Interval for μ
(σ Unknown)
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 degrees of
freedom and an area of α/2 in each tail)
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.) ____
Note: t Z as n increases
Example
A random sample of n = 25 has X = 50 and
S = 8. Form a 95% confidence interval for μ
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)
pZ
n
where
Z is the standard normal value for the level of confidence desired
p is the sample proportion
n is the sample size
Example
p Z p(1 p)/n
25/100 1.96 0.25(0.75) /100
Determining
Sample Size
Determining
Sample Size
For the
Mean Sampling error
(margin of error)
σ σ
XZ eZ
n n
Determining Sample Size
(continued)
Determining
Sample Size
For the
Mean
σ Z σ
2 2
eZ Now solve
for n to get n 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 = 1.96
e = 0.03
p = 0.12, so use this to estimate π
2. The charge-to-tap time (min) for carbon steel in one type of open hearth
furnace was determined for each heat in a sample of size n. using past
experience the investigator believes that all times in the distribution have
a standard deviation of 30 minutes. What sample size would be
appropriate for estimating the true average time to within 5 minutes, with
a confidence level of 95%?
Apply your Knowledge
A survey of licensed drivers inquired about running red lights. One question
asked “of every ten motorists who run a red light, about how many do you
think will be caught?”The mean results for 880 respondents was X = 1.92
and the standard deviations was s =1.83.
a) Give a 95 % confident interval for the mean opinion in the population of
all licensed drivers..
b) The distribution of responses is skewed to the right rather than Normal.
This will not strongly affect the z confidence interval for the sample.
Why not?
c) The 880 respondents are an SRS from completed calls among 45,956
calls to randomly chosen residential telephone numbers listed in
telephone directories. Only 5029 of the calls were completed. This
information gives reasons to suspects that the sample may not
represent all licensed drivers. What are these reasons?