Академический Документы
Профессиональный Документы
Культура Документы
Lower Upper
Confidence Confidence
Point Estimate
Limit Limit
Width of
confidence interval
Point Estimates
Mean μ X
Proportion p p̂
Confidence Intervals
Sample
General Formula
Where:
• Point Estimate is the sample statistic estimating the
population parameter of interest
• Critical Value is a table value based on the sampling
distribution of the point estimate and the desired confidence
level
• Standard Error is the standard deviation of the point estimate
Confidence Level
Confidence Level
Confidence
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, (so α = 0.05)
A relative frequency interpretation:
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
σ
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
α/2 1− α α/2
x
Intervals μx = μ
extend from x1
σ x2 (1-α)x100%
X − Zα / 2
n of intervals
to constructed
σ contain μ;
X + Zα / 2
n (α)x100% do
not.
Confidence Intervals
Example
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!
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
d.f. = n - 1
Degrees of Freedom (df)
Let X1 = 7
If the mean of these three
Let X2 = 8
values is 8.0,
What is X3? then X3 must be 9
(i.e., X3 is not free to vary)
Here, n = 3, so degrees of freedom = n – 1 = 3 – 1 = 2
(2 values can be any numbers, but the third is not free to vary
for a given mean)
Student’s t Distribution
Note: t Z as n increases
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.)
46.698 ≤ μ ≤ 53.302
Confidence Intervals
Confidence
Intervals
Population Population
Mean Proportion
σ Known σ Unknown
Confidence Intervals for the
Population Proportion, p
p (1 − p )
σ p̂ =
n
We will estimate this with sample data:
p̂(1 − pˆ )
n
Confidence Interval Endpoints
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)
2 2 2 2
Z σ (1.645) (45)
n= 2
= 2
= 219.19
e 5
Determining
Sample Size
For the
Proportion
p (1 − p ) Now solve Z 2 p (1 − p )
e=Z for n to get n= 2
n e
Required Sample Size Example
Solution:
For 95% confidence, use Zα/2 = 1.96
e = 0.03
p̂ = 0.12, so use this to estimate p
2
Zα/2 p (1 − p ) (1.96) 2 (0.12)(1 − 0.12)
n= 2
= 2
= 450.74
e (0.03)
So use n = 451