Lfstat3e PPT 06 Rev
Lfstat3e PPT 06 Rev
Confidence Intervals
§ 6.1
Confidence
Intervals for the
Mean (Large
Samples)
Point Estimate for Population
μ
A point estimate is a single value estimate for a
population parameter. The most unbiased point
x.
estimate of the population mean, , is the sample
mean,
Example:
A random sample of 32 textbook prices (rounded to the nearest
dollar) is taken from a local college bookstore. Find a point
estimate for the population mean, .
34 34 38 45 45 45 45 54
56 65 65 66 67 67 68 74 x 74.22
79 86 87 87 87 88 90 90
94 95 96 98 98 101 110 121
Point estimate
for textbooks
•
74.22
interval estimate
0.05 0.05
z
zc = 1.645
zc z = 0 zc = z1.645
c
0.025 0.025
z
zc = z1.96
c
z = 0 zc =zc1.96
0.005 0.005
z
zc = 2.575
zc z = 0 zc = z2.575
c
Example:
A random sample of 32 textbook prices is taken from
x
a local college bookstore. The mean of the sample is
= 74.22, the sample standard deviation is s =
23.44, and the margin of error is E = 8.12.
Construct a 95% confidence interval for the mean
price of all textbooks in the bookstore.
Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 11
Confidence Intervals for μ
Example continued:
Construct a 95% confidence interval for the mean
price of all textbooks in the bookstore.
x =74.22 s = 23.44 E = 8.12
Left endpoint = ? Right endpoint = ?
• •
x =74.22 •
x E 74.22 8.12 x E 74.22 8.12
= 66.1 = 82.34
With 95% confidence we can say that the cost for all
textbooks in the bookstore is between $66.10 and
$82.34.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 12
Finding Confidence Intervals
for μ
Finding a Confidence Interval for a Population
Mean (n 30 or σ known with a normally
distributed
In Words population) In Symbols
1. Find the sample statistics n and
x. x
x
n
2. Specify , if known. Otherwise, if n (x x)2
30, find the sample standard deviation s
n 1
s and use it as an estimate for .
Use the Standard
3. Find the critical value zc that
Normal Table.
corresponds to the given level of
σ
confidence. E zc
n
4. Find the margin of error E. L eft endpoint: x E
Right endpoint: x E
5. Find the left and right endpoints I nterval: x E x E
and form Larson
the confidence
& Farber, Elementaryinterval.
Statistics: Picturing the World, 3e 13
Confidence Intervals for μ (
Known)
Example:
A random sample of 25 students had a grade point
average with a mean of 2.86. Past studies have
shown that the standard deviation is 0.15 and the
population is normally distributed.
Construct a 90% confidence interval for the
population mean grade point average.
n = 25 x =2.86 = 0.15
σ 0.15
zc = 1.645 E zc 1.645 0.05
n 25
x E 2.86±0.05 2.81 < μ < 2.91
With 90% confidence we can say that the mean grade point
average for all students in the population is between 2.81
and 2.91. Larson & Farber, Elementary Statistics: Picturing the World, 3e
14
Sample Size
Given a c-confidence level and a maximum error of
estimate, E, the minimum sample size n, needed to
estimate , the population mean, is
2
zc
n .
E
If is unknown, you can estimate it using s provided
you have a preliminary sample with at least 30
members.
Example:
You want to estimate the mean price of all the
textbooks in the college bookstore. How many books
must be included in your sample if you want to be 99%
confident that the sample mean is within $5 of the Continued.
population mean?
Larson & Farber, Elementary Statistics: Picturing the World, 3e 15
Sample Size
Example continued:
You want to estimate the mean price of all the
textbooks in the college bookstore. How many books
must be included in your sample if you want to be 99%
confident that the sample mean is within $5 of the
population mean?
x =74.22 s = 23.44 zc = 2.575
2 2
zc 2.575 23.44
n
E 5
145.7 (Always round up.)
c = 0.95
t
tc = 2.776 tc =
2.776
We are 90% confident that the mean wait time for all
customers is between 86.9 and 103.1 seconds.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 23
Normal or t-Distribution?
Use the normal distribution with
σ
Is n 30? Yes E zc .
n
No If is unknown, use s instead.
Yes
Use the normal distribution with
Is known? Yes σ
E zc .
n
No
x 450
pˆ 0.36
n 1250
where pq
ˆ ˆ.
E zc
n
• p̂ •
0.36 •
p̂ E 0.36 0.022 p̂ E 0.36 0.022
0.338 0.382
With 90% confidence we can say that the proportion
of all US adults who say baseball is their favorite
sport to watch is between 33.8% and 38.2%.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 30
Finding Confidence Intervals
for p
Constructing a Confidence Interval for a Population
Proportion
In Words In Symbols
1. Identify the sample statistics n and
x. x
p̂. pˆ
n
2. Find the point estimate npˆ 5, nqˆ 5
3. Verify that the sampling distribution
can be approximated by the normal
distribution. Use the Standard
4. Find the critical value zc that Normal Table.
corresponds to the given level of
confidence. pq
ˆˆ
E zc
n
5. Find the margin of error E. Left endpoint:p̂ E
6. Find the left and right endpoints and Right endpoint:p̂ E
Interval:pˆ E p pˆ E
form the confidence interval.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 31
Sample Size
Given a c-confidence level and a margin of error, E,
the minimum sample size n, needed to estimate p is
2
zc
ˆˆ .
n pq
E
This formula assumes you have an estimate p̂for qˆand
.
pˆ 0.5 qˆ 0.5.
If not, use and
Example:
You wish to find out, with 95% confidence and within
2% of the true population, the proportion of US adults
who say that baseball is their favorite sport to watch.
Continued.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 32
Sample Size
Example continued:
You wish to find out, with 95% confidence and within
2% of the true population, the proportion of US adults
who say that baseball is their favorite sport to watch.
n = 1250 x = 450 p̂ 0.36
2 2
z 1.96
ˆ ˆ c (0.36)(0.64)
n pq
E 0.02
2212.8 (Always round up.)
2 (n 1)s 2
σ2
forms a chi-square distribution for samples of any
size n > 1.
Larson & Farber, Elementary Statistics: Picturing the World, 3e 35
The Chi-Square
Distribution
Four properties of the chi-square distribution are as
follows.
1. All chi-square values χ2 are greater than or equal to
zero.
2. The chi-square distribution is a family of curves, each
determined by the degrees of freedom. To form a
confidence interval for 2, use the χ2-distribution with
degrees of freedom. To form a confidence interval for
2, use the χ2-distribution with degrees of freedom
equal to one less than the sample size.
3. The area under each curve of the chi-square
distribution equals one.
4. Find the critical value zc that corresponds to the given
level of confidence.
5. Chi-squareLarson
distributions are positively skewed.
& Farber, Elementary Statistics: Picturing the World, 3e 36
Critical Values for X2
There are two critical values for each level of
confidence. The value χ2R represents the right-tail
critical value and χ2L represents the left-tail critical
value.
1 c
1 1 2c 1 2c
2
X2 X2
X2
R X 2
L
1 c c
The area between the left and
2 1 c right critical values is c.
2
X2
X 2
L X2
R
and
A c-confidence interval for a population variance and
standard deviation is as follows.
and
Constructing a Confidence Interval for a Variance and
a Standard Deviation
In Words In Symbols
1. Verify that the population has a
normal distribution.
2. Identify the sample statistic n d.f. = n 1
and the degrees of freedom.
3. Find the point estimate s . 2 2 (x x )2
s
n 1
4. Find the critical value χ2R and χ2L Use Table 6 in
that correspond to the given Appendix B.
level of confidence.
Continued
Larson & Farber, Elementary Statistics: Picturing the World, 3e
. 41
Confidence Intervals for 2
and
Constructing a Confidence Interval for a Variance and
a Standard Deviation
In Words In Symbols
5. Find the left and right (n 1)s 2 2 (n 1)s 2
σ
endpoints and form the XR2
X L2
confidence interval.
(n 1)s 2 (n 1)s 2
6. Find the confidence interval for 2
σ
XR X L2
the population standard
deviation by taking the square
root of each endpoint.
• •
(n 1)s 2 (41 1)(0.05)2 (n 1)s 2 (41 1)(0.05)2
R2 55.758 L2 26.509
0.04 0.06
0.04 σ 0.06