When we poll a sample of people, we want to go left and right from our sample proportion p^ by a Margin of Error to build a confidence interval that catches the true population proportion p.
1
From Standard Deviation to Standard Error
We want to find the size of one standard step on the sampling bell curve so we know how far out from p^ to build our interval. Remember, when we know the true population proportion p, the size of one step is:
One step=np(1−p)
In a real poll, such as asking n=100 city residents whether they support a four-day workweek and getting 80 yeses (p^=0.80), we don't know the true proportion p, because p is the very number we are trying to catch.
From Standard Deviation to Standard Error
Replacing the unknown p with our sample proportion p^ gives an estimated step size called the Standard Error:
Standard Error=np^(1−p^)
Even when the true proportion p is several percentage points away from our sample's p^=0.80, the true step size np(1−p) and the Standard Error np^(1−p^)=0.0400 stay nearly identical in length.
Even when the true proportion sits several percentage points away from our sample, the true standard deviation and the Standard Error stay nearly the same size.
2
Three Conditions for a Proportion Interval
Before we use the Standard Error and a normal curve to build our interval, we need to know whether the pile of sample proportions is actually centered at p, has the right step size, and forms a symmetric bell curve.
Three Conditions for a Proportion Interval
To make sure the bell curve works for a poll, we check three conditions on our sample:
Random Condition: The sample is chosen randomly, centering the sampling distribution at the true proportion p.
10% Condition: The sample size n is less than 10% of the population (n<0.10N), so sampling without replacement barely changes the odds from pick to pick.
Large Counts Condition: Both the actual yeses and actual nos in the sample are at least 10:
sample yesesnp^≥10andsample nosn(1−p^)≥10
Whenever both the yes and no counts are at least 10, the pile of sample proportions stays clear of the 0% and 100% walls and forms a symmetric bell curve; when either count drops below 10, the pile hits the wall and turns lopsided.
Having at least 10 yeses and 10 nos keeps the pile of sample proportions far enough from the 0% and 100% walls to form a symmetric bell curve.
3
Finding the Critical Value and Building the Interval
Once the three conditions hold, we need to find the critical valuez∗, which is the exact number of Standard Error steps to go out from p^ to catch our chosen confidence level in the middle of the normal curve.
Finding the Critical Value and Building the Interval
Putting the starting point, the number of steps, and the size of one step together gives the confidence interval for a population proportion:
starting point(sample proportion)p^±Margin of Errorz∗critical value(number of steps)Standard Error(size of one step)np^(1−p^)
When you look up +z∗ with a calculator or z-table, remember that cumulative area is measured all the way from the far left: add the left tail to the middle area (0.95+0.025=0.975 for 95% confidence), or look up a single left tail (0.025) and drop the negative sign.
Text solution
Find one step (Standard Error)Plug p^=0.80,1−p^=0.20, and n=100 into the Standard Error formula.
Standard Error=1000.80×0.20=1000.16=0.0016=0.04(4%)
Split the leftover tail area to find z∗Put 0.95 in the middle of the standard normal curve, divide the leftover area equally between the two tails, and look up the total area to the left of +z∗.
One tailArea left of +z∗=21−0.95=20.05=0.025=0.95+0.025=0.975
⟹z∗=invNorm(0.975)=1.96
Multiply steps by step size for the Margin of ErrorMultiply z∗=1.96 steps by the Standard Error of 0.04.
Margin of Error=1.96×0.04=0.0784(7.84%)
Subtract and add from p^Go 0.0784 left and right from the sample proportion p^=0.80.
So we are 95% confident that the true proportion of city residents who support the four-day workweek law is between 72.2% and 87.8%.
Catching a larger percentage in the middle of the normal curve leaves smaller tails and pushes −z∗ and +z∗ farther out, widening the confidence interval around p^=80% unless we survey a larger sample n.
Asking for higher confidence pushes the cutoff lines farther into the tails, stretching the confidence interval below by the same number of steps.
4
Testing Claims with a Confidence Interval
Now we want to use our finished interval [72.2%,87.8%] to judge whether claims about the true city proportion p are plausible, or whether our data give strong evidence against them.
Testing Claims with a Confidence Interval
Text solution
Check a single claimed value against the intervalSee whether 50% (the commentator's claim) and 75% (the mayor's claim) fall inside [72.2%,87.8%].
50%72.2%<72.2%(outside [72.2%,87.8%]⟹refuted)≤75%≤87.8%(inside [72.2%,87.8%]⟹plausible,but not proven)
Check a "more than" claim against the entire intervalCompare the lower endpoint 72.2% to the labor group's 66.7% threshold and to the 80% threshold.
72.2%>66.7%(entire interval [72.2%,87.8%]is above 66.7%⟹supported)72.2%<80%(plausible values from 72.2%to 80% fall below 80%⟹not supported)
For our interval [72.2%,87.8%], any single value inside it is plausible, but a "more than" claim holds up only when the entire interval sits above the claimed threshold, because once the threshold enters the interval, values below it are plausible too.
A single value is plausible anywhere inside the interval, but a "more than" claim holds up only when the whole interval is above the claim.
Key concepts
Before building a confidence interval for a proportion, check that the sample is random, under 10% of the population (n<0.10N), and has at least 10 yeses and 10 nos (np^≥10 and n(1−p^)≥10, like 80 yeses and 20 nos). If either count is under 10, the pile of sample proportions hits the 0% or 100% wall and turns lopsided, so a symmetric normal interval will not work. When the conditions hold, plug p^ in for the unknown p to find the Standard Errornp^(1−p^), split the unshaded tail area in half on a standard normal curve to find the critical valuez∗ (for 95% confidence, each tail is 0.025, so look up 0.95+0.025=0.975 to get z∗=1.96), and build the interval:
To make an interval narrower, either lower the confidence level to shrink z∗ or increase the sample size n. Once the interval is built, any number inside it is a plausible value for p (75% is plausible, while 50% is outside and refuted), but never use p^ alone to back up a "more than" or "less than" claim. The entire interval must sit beyond the boundary ([72.2%,87.8%] supports p>66.7%, but does not support p>80% because values from 72.2% to 80% are also plausible).
5
Practice
1
In a random sample of 400 voters in a large city, 256 say they support a school bond measure. Find the sample proportion p^ and the Standard Error, and explain why this step size is called the Standard Error instead of the standard deviation.
Find the "yes" fraction p^ and the "no" fraction 1−p^ first, then divide their product by n inside the square root.
First find the sample proportion of yeses and nos:
p^1−p^=400256=0.64(64%),=1−0.64=0.36
Plug p^=0.64,1−p^=0.36, and n=400 into the Standard Error formula (be careful not to stop at 0.000576 before taking the square root, or take the square root of 400 without taking the square root of 0.64×0.36, which gives 0.01152):
Standard Error=4000.64×0.36=4000.2304=0.000576=0.024(2.4%)
It is called the Standard Error instead of the standard deviation because we do not know the true population proportion p and had to plug our sample proportion p^ into the formula to estimate the step size of 0.024 (2.4%).
2
A student council at a high school of 1,500 students wants to build a confidence interval for the proportion of students who favor later start times. They randomly select 200 students from the school roster; 192 say yes and 8 say no. Check all three conditions for building a confidence interval and explain what goes wrong for any condition that fails.
Compare the sample size of 200 against 10% of the 1,500 students, then check both the yes count and the no count against 10.
Random ConditionMet, because the 200 students were randomly selected from the school roster, centering the sampling distribution at the true proportion.
10% ConditionFails, because 10% of the population is 0.10×1,500=150, and the sample of 200 is more than 150; sampling that large a fraction without replacement changes the odds from pick to pick and makes the step-size formula inaccurate.
Large Counts ConditionFails (watch out for checking only the 192≥10 yeses and saying the condition passes; both counts must be at least 10). While there are 192≥10 yeses, there are only 8<10 nos; being this close to 100% cuts off the sampling distribution at the 100% wall and makes it lopsided instead of a symmetric bell curve.
3
Show how to find the critical value z∗ for a 96% confidence interval using a standard normal curve. Give the area in each tail, the cumulative area to the left of +z∗, and the value of z∗.
Sketch the normal curve with 0.96 in the middle and split the remaining area evenly between the two tails before finding the total area to the left of +z∗.
Shade 0.96 in the middle of the standard normal curve and split the leftover unshaded area evenly between the two symmetric tails:
Total unshaded area⟹Each tail=1−0.96=0.04=20.04=0.02
Add the middle area and the left tail to get the cumulative area to the left of +z∗ (do not look up invNorm(0.96)=1.75 directly, which leaves out the 0.02 in the left tail):
Cumulative area left of +z∗=0.96+0.02=0.98
Looking up a left-tail area of 0.02 or a cumulative area of 0.98 (invNorm(0.98)) gives z∗=2.05.
4
In a random sample of 225 commuters in a large metropolitan area, 81 say they would use a new express bus line. Using z∗=1.645, build and interpret a 90% confidence interval for the true proportion of commuters in the area who would use the bus line.
Don't subtract and add the single step 0.032 directly around 0.36, which would give [32.8%,39.2%].
Find p^ and the Standard Error first, multiply by z∗=1.645 to get the Margin of Error, and then subtract and add from p^.
Find the sample proportion and the Standard Error:
p^1−p^=22581=0.36(36%),=1−0.36=0.64
Standard Error=2250.36×0.64=2250.2304=0.001024=0.032(3.2%)
Multiply by z∗=1.645 to get the Margin of Error (don't subtract and add the single step 0.032 directly around 0.36, which would give [32.8%,39.2%]):
Margin of Error=1.645×0.032=0.05264(about 5.3%)
Subtract and add the Margin of Error from p^=0.36:
We are 90% confident that the true proportion of commuters in the metropolitan area who would use the express bus line is between 30.7% and 41.3%.
5
Based on a random sample of 625 residents, a polling group reports a 99% confidence interval of 46.8% to 57.2% for the proportion of residents who favor a park renovation. (a) Find the sample proportion p^ and the Margin of Error. (b) State the two ways the group could get a narrower confidence interval and the trade-off of each.
Where does p^ sit between the two endpoints of the interval, and how does the full width of the interval compare to the Margin of Error?
(a) The sample proportion p^ is the midpoint of the interval, and the Margin of Error is the distance from that midpoint to either endpoint (be careful not to subtract 57.2%−46.8%=10.4% and stop there; 10.4% is two Margins of Error wide, so you must divide by 2 or subtract from the midpoint):
p^=246.8%+57.2%=2104.0%=52.0%(0.52)
Margin of Error=57.2%−52.0%=5.2%(0.052)
(b) In the Margin of Error formula z∗np^(1−p^), they could either shrink z∗ by using a lower confidence level (such as 95% or 90% instead of 99%, which trades away confidence that the interval catches p), or increase the sample size n by surveying more residents (which takes more time and money).
6
A transit agency builds a 95% confidence interval of [54.0%,64.0%] from a random sample with p^=59.0% for the true proportion of riders satisfied with train cleanliness. Use the interval to judge three claims: (a) A critic claims that only 50% of riders are satisfied. (b) The agency director claims the poll proves that more than 58% of riders are satisfied because the sample got 59%. (c) A board member claims that a majority (more than 50%) of riders are satisfied.
For a single value, check whether it falls inside [54.0%,64.0%]; for a "more than" claim, check whether the lower endpoint 54.0% is also above the claimed boundary.
(a) Refuted:50% is outside the interval [54.0%,64.0%], so it is not a plausible value and the data give strong evidence against the critic's claim. (b) Not supported: Do not be fooled by p^=59.0% being above 58%. Because the interval [54.0%,64.0%] contains plausible values at and below 58% (from 54.0% to 58.0%), we cannot be confident the true proportion is over 58%. (c) Supported: The entire interval [54.0%,64.0%] lies above 50%, so every plausible value for the true proportion is greater than 50%.