Download Confidence Interval for p

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Estimation
8
Copyright © Cengage Learning. All rights reserved.
Section
8.3
Estimating p in the
Binomial Distribution
Copyright © Cengage Learning. All rights reserved.
Focus Points
•
Compute the maximal margin of error for
proportions using a given level of confidence.
•
Compute confidence intervals for p and interpret
the results.
3
Estimating p in the Binomial Distribution
The binomial distribution is completely determined by the
number of trials n and the probability p of success on a
single trial.
For most experiments, the number of trials is chosen in
advance. Then the distribution is completely determined by p.
In this section, we will consider the problem of estimating p
under the assumption that n has already been selected.
4
Estimating p in the Binomial Distribution
We are employing what are called large-sample methods.
We will assume that the normal curve is a good
approximation to the binomial distribution, and when
necessary, we will use sample estimates for the standard
deviation.
Empirical studies have shown that these methods are quite
good, provided both
np > 5 and nq > 5,
where q = 1 – p
5
Estimating p in the Binomial Distribution
Let r be the number of successes out of n trials in a
binomial experiment.
We will take the sample proportion of successes
(read “p hat”) = r/n as our point estimate for p, the
population proportion of successes.
6
Estimating p in the Binomial Distribution
To compute the bounds for the margin of error, we need
some information about the distribution of = r/n values for
different samples of the same size n.
7
Estimating p in the Binomial Distribution
It turns out that, for large samples, the distribution of
values is well approximated by a normal curve with
mean  = p and standard error  =
Since the distribution of = r/n is approximately normal, we
use features of the standard normal distribution to find the
bounds for the difference – p.
Recall that zc is the number such that an area equal to c
under the standard normal curve falls between –zc and zc.
8
Estimating p in the Binomial Distribution
With the c confidence level, our estimate
by no more than
differs from p
9
Estimating p in the Binomial Distribution
Therefore, the interval from – E to + E is the c
confidence interval for p that we wanted to find.
There is one technical difficulty in computing the c
confidence interval for p.
The expression
requires that we know the
values of p and q. In most situations, we will not know the
actual values of p or q, so we will use our point estimates
p
and q = 1 – p  1 –
to estimate E.
10
Estimating p in the Binomial Distribution
These estimates are reliable for most practical purposes,
since we are dealing with large-sample theory
(np > 5 and nq > 5).
For convenient reference, we’ll summarize the information
about c confidence intervals for p, the probability of
success in a binomial distribution.
11
Estimating p in the Binomial Distribution
Procedure:
12
Estimating p in the Binomial Distribution
Procedure (continued):
13
Example 6 – Confidence Interval for p
Suppose that 800 students were selected at random from a
student body of 20,000 and given shots to prevent a certain
type of flu.
All 800 students were exposed to the flu, and 600 of them
did not get the flu.
Let p represent the probability that the shot will be
successful for any single student selected at random from
the entire population of 20,000. Let q be the probability that
the shot is not successful.
14
Example 6 – Confidence Interval for pcont’d
(a) What is the number of trials n? What is the value of r?
Solution:
Since each of the 800 students receiving the shot may be
thought of as a trial, then n = 800, and r = 600 is the
number of successful trials.
15
Example 6 – Confidence Interval for pcont’d
(b) What are the point estimates for p and q?
Solution:
We estimate p by the sample point estimate
We estimate q by
=1–
= 1 – 0.75 = 0.25
16
Example 6 – Confidence Interval for pcont’d
(c) Check Requirements Would it seem that the number
of trials is large enough to justify a normal
approximation to the binomial?
Solution:
Since n = 800, p  0.75, and q  0.25, then
np  (800)(0.75) = 600 > 5 and np  (800)(0.25) = 200 > 5
A normal approximation is certainly justified.
17
Example 6 – Confidence Interval for pcont’d
(d) Find a 99% confidence interval for p.
Solution:
z0.99 = 2.58
(see Table 8-2 or Table 3(b) of the Appendix)
18
Example 6 – Solution
cont’d
The 99% confidence interval is then
–E<p<
+E
0.75 – 0.0395 < p < 0.75 + 0.0395
0.71 < p < 0.79
Interpretation We are 99% confident that the probability a
flu shot will be effective for a student selected at random is
between 0.71 and 0.79.
19
Related documents