+
Unit 5: Estimating with ConfidenceSection 8.2Estimating a Population Proportion
+Unit 5Estimating with Confidence
8.1 Confidence Intervals: The Basics
8.2 Estimating a Population Proportion
8.3 Estimating a Population Mean
+ Section 8.2Estimating a Population Proportion
After this section, you should be able to…
CONSTRUCT and INTERPRET a confidence interval for a population proportion
DETERMINE the sample size required to obtain a level C confidence interval for a population proportion with a specified margin of error
DESCRIBE how the margin of error of a confidence interval changes with the sample size and the level of confidence C
Learning Objectives
+Estim
atin
g a P
opu
lation P
ropo
rtion
Activity: The Beads
Your teacher has a container full of different colored beads. Your goal is to estimate the actual proportion of red beads in the container.
Determine how to use a cup to get a simple random sample of beads from the container.
Each team is to collect one SRS of beads.
Determine a point estimate for the unknown population proportion.
Find a 90% confidence interval for the parameter p. Consider any conditions that are required for the methods you use.
+ Data Collection Shows Suppose one SRS of beads resulted in 107 red beads and 144
beads of another color. The point estimate for the unknown proportion p of red beads in the population would be
Estim
atin
g a P
opu
lation P
ropo
rtion
How can we use this information to find a confidence interval for p?
ˆ p 107
2510.426
In practice, we do not know the value of p. If we did, we would not need toconstruct a confidence interval for it! In large samples, ˆ p will be close to p, sowe will replace p with ˆ p in checking the Normal condition.
+ Conditions for Estimating p
Check the conditions for estimating p from our sample.
Estim
atin
g a P
opu
lation P
ropo
rtion
Random: The class took an SRS of 251 beads from the container.
ˆ p 107
2510.426
Normal: Both np and n(1 – p) must be greater than 10. Since we don’t know p, we check that
The counts of successes (red beads) and failures (non-red) are both ≥ 10.
107 107ˆ ˆ251 107 and (1 ) 251 1 144
251 251np n p
Independent: Since the class sampled without replacement, they need to check the 10% condition. At least 10(251) = 2510 beads need to be in the population. The teacher reveals there are 3000 beads in the container, so the condition is satisfied.
Since all three conditions are met, it is safe to construct a confidence interval.
+ Constructing a Confidence Interval for p
We can use the general formula from Section 10.1 to construct a confidence interval for an unknown population proportion p:
Estim
atin
g a P
opu
lation P
ropo
rtion
The sample proportion ̂ p is the statistic we use to estimate p.When the Independent condition is met, the standard deviation
of the sampling distibution of ̂ p is
ˆ p p(1 p)
n
Definition:
When the standard deviation of a statistic is estimated from data, the results is called the standard error of the statistic.
Since we don't know p, we replace it with the sample proportion ˆ p . This gives us the standard error (SE) of the sample proportion :
ˆ p (1 ˆ p )
n
statistic (critical value) (standard deviation of statistic)
+ One-Sample z Interval for a Population Proportion
Once we find the critical value z*, our confidence interval for the population proportion p is
Estim
atin
g a P
opu
lation P
ropo
rtion
Choose an SRS of size n from a large population that contains an unknown proportion p of successes. An approximate level C confidence interval for p is
where z* is the critical value for the standard Normal curve with area C between – z* and z*.
Use this interval only when the numbers of successes and failures in the sample are both at least 10 and the population is at least 10 times as large as the sample.
One-Sample z Interval for a Population Proportion
ˆ p z *ˆ p (1 ˆ p )
n
ˆ p z *ˆ p (1 ˆ p )
n
statistic (critical value) (standard deviation of statistic)
+ The Four-Step Process
We can use the familiar four-step process whenever a problem asks us to construct and interpret a confidence interval.
Estim
atin
g a P
opu
lation P
ropo
rtion
State: What parameter do you want to estimate, and at what confidence level?
Plan: Identify the appropriate inference method. Check conditions.
Do: If the conditions are met, perform calculations.
Conclude: Interpret your interval in the context of the problem.
Confidence Intervals: A Four-Step Process
+ One-Sample z Interval for a Population Proportion
State: We want to calculate and interpret a 90% confidence interval for the proportion of red beads in the container.
Estim
atin
g a P
opu
lation P
ropo
rtion
ˆ p z *ˆ p (1 ˆ p )
n
z .03 .04 .05
– 1.7 .0418 .0409 .0401
– 1.6 .0516 .0505 .0495
– 1.5 .0630 .0618 .0606 For a 90% confidence level, z* = 1.645
statistic ± (critical value) • (standard deviation of the statistic)
0.426 1.645(0.426)(1 0.426)
251
0.426 0.051
(0.375, 0.477)
We checked the conditions earlier.
sample proportion = 107/251 = 0.426
Plan:Do:
We are 90% confident that the interval from 0.375 to 0.477 captures the actual proportion of red beads in the container.
Conclude:
+ Choosing the Sample Size
In planning a study, we may want to choose a sample size that allows us to estimate a population proportion within a given margin of error.
Estim
atin
g a P
opu
lation P
ropo
rtion
The margin of error (ME) in the confidence interval for p is
ME z *ˆ p (1 ˆ p )
n z* is the standard Normal critical value for the level of confidence we want.
To determine the sample size n that will yield a level C confidence interval for a population proportion p with a maximum margin of error ME, solve the following inequality for n:
Sample Size for Desired Margin of Error
z *ˆ p (1 ˆ p )
nME
where ˆ p is a guessed value for the sample proportion. The margin of errorwill always be less than or equal to ME if you take the guess ̂ p to be 0.5.
Because the margin of error involves the sample proportion ˆ p , we have to guess the latter value when choosing n. There are two ways to do this :
• Use a guess for ˆ p based on past experience or a pilot study
• Use ˆ p 0.5 as the guess. ME is largest when ̂ p 0.5
+ Example: Customer Satisfaction
A company has received complaints about its customer service. The managers intend to hire a consultant to carry out a survey of customers. Before contacting the consultant, the company president wants some idea of the sample size that she will be required to pay for. One critical question is the degree of satisfaction with the company’s customer service, measured on a five-point scale. The president wants to estimate the proportion p of customers who are satisfied (that is, who choose either “satisfied” or “very satisfied”, the two highest levels on the five-point scale). She decides that she wants the estimate to be within 3% (0.03) at a 95% confidence level. How large a sample is needed?
Estim
atin
g a P
opu
lation P
ropo
rtion
+ Example: Customer Satisfaction
Determine the sample size needed to estimate p within 0.03 with 95% confidence.
Estim
atin
g a P
opu
lation P
ropo
rtion
The critical value for 95% confidence is z* = 1.96.
Since the company president wants a margin of error of no more than 0.03, we need to solve the equation
1.96ˆ p (1 ˆ p )
n0.03
1.96
0.03ˆ p (1 ˆ p ) n
1.96
0.03
2
ˆ p (1 ˆ p ) n
1.96
0.03
2
(0.5)(1 0.5) n
1067.111 n
Multiply both sides by square root n and divide
both sides by 0.03.
Square both sides.
Substitute 0.5 for the sample proportion to find the largest ME
possible.
We round up to 1068 respondents to ensure the margin of error is no more than 0.03 at
95% confidence.
+Looking Ahead…
We’ll learn how to estimate a population mean.
We’ll learn about The one-sample z interval for a population mean when σ is known The t distributions when σ is unknown Constructing a confidence interval for µ Using t procedures wisely
In the next Section…
+
Textbook – Chapter 8 #27-29, 33, 40, 41, 44, 46
Additional notes packet – Read and answer all questions, pgs. 14-19
Homework