A survey team wants to estimate the proportion of residents who support a proposal to within 5 percentage points, with 95 percent confidence. How many completed responses does that take, and how many people should be invited to get them? This lesson solves the margin of error formula for , explains which planning values are safe to use, and adds the adjustments for the sampling design and for people who do not respond. It also shows what such a calculation leaves out.
Key terms
Sample-size planning
Definition Sample-size planning chooses, before any data are collected, a number of observations that should give a stated precision. It needs a confidence level with critical value , a target margin of error , which is the half-width of the planned interval, an anticipated value for the variability, and a sampling design. For a proportion estimated from independent binary responses with common probability , and for a mean estimated from independent observations with standard deviation , setting equal to times the standard error and solving gives the normal planning formulas
The result is rounded up to a whole number, because rounding a fractional result down would give a planned margin larger than .
In plain words Work backward from how precise the answer must be to how much data that takes. The margin shrinks in proportion to , so halving the margin takes about four times as many observations. The answer is a plan under assumptions. The realized interval uses the observed data and the method chosen for the analysis, such as Wilson for a proportion or for a mean, and a precision target says nothing about bias in who ends up in the sample. Precision planning also differs from power planning. Precision asks how narrow an interval should be, while power asks how often a test would detect a stated effect, and a study planned for one goal need not meet the other.
Example For the survey, take , and the planning value . Then
so the plan needs at least 385 completed independent responses. With 385 responses the planned margin is , while 384 would give about , just above the target. Halving the target to percentage points gives , so 1537 responses.
Conservative proportion
Definition In the proportion formula, the conservative planning value is . Since
the product is at most , with equality only at . Planning at therefore gives the largest for a given and , and with the planned margin is at most whatever the true is.
In plain words Without a trustworthy guess for , plan for the largest value the variance term can take. The price is extra observations when the true is far from . The protection covers only the term in this formula. It does not cover a design effect, nonresponse, bias in the sample or the failure of the normal approximation. For a rare outcome an absolute margin can also be the wrong target, since 5 percentage points is five times a rate of 1 percent, so the precision goal should fit the decision the study informs.
Example With and , the requirement depends on the planning value as follows.
| Planning value | Unrounded | Required | |
|---|---|---|---|
| or | |||
| or | |||
| or | |||
| or | |||
The formula treats and alike, and values near change the requirement little.
Pilot estimate
Definition A pilot estimate is a preliminary value for the quantity that sets the variability, a proportion or a standard deviation , taken from a small preliminary study or from earlier relevant work and used as the planning value. With planned this way, the planned margin, or evaluated at the true value, is at most when the true or is no larger than the planning value of or . When the true value is larger, the margin can exceed .
In plain words A good pilot can save observations, but a small pilot is itself noisy and can understate the variability by chance. Use evidence from the same population, measurement and time period, look at several plausible values rather than one optimistic number, and consider planning near the less favorable end of what the pilot allows.
Example Suppose earlier work suggests a support proportion near . Then , so 139 responses. If the proportion is really , a sample of 139 gives a planned margin of
well above the target . The same risk applies to a mean. A plan built on a pilot standard deviation that is too small can lead to a larger margin than intended.
Design effect
Definition For a given statistic and sampling design, the design effect is
the variance of the estimate under the planned design divided by its variance under simple random sampling of the same size. The number of completed responses is planned as times the requirement for simple random sampling, rounded up at the end. Equivalently, the effective sample size should reach the basic requirement.
In plain words Cluster samples, where people in the same household, school or area resemble each other, usually have a design effect above 1 and need more responses for the same precision. Good stratification can bring it below 1. Separately, sampling a large fraction of a finite population without replacement lowers the variance through the finite population correction, which the basic formulas leave out. The value used for planning should come from similar surveys, not be chosen to fit a budget.
Example With a plausible design effect of , the requirement becomes , so 577 completed responses. Their effective sample size is , which meets the basic . Rounding too early, as , would give 578, so the unrounded value is kept until the last step.
Nonresponse allowance
Definition A nonresponse allowance converts the required number of completed responses into the number of people to invite, by dividing by the anticipated response rate and rounding up,
In plain words Not everyone who is invited responds, so the invitation count exceeds the completion target. The expected number of completions then meets the target, but the actual number is random and can fall short, so a plan may add a further allowance or monitor recruitment as it goes. Inviting more people does not remove nonresponse bias. If people with different answers respond at different rates, the completed sample can misrepresent the population however large it is.
Example With 577 completed responses needed and an expected response rate of 80 percent, , so the plan sends 722 invitations, with expected completions. If each invitee responds independently with probability , the number of completions follows , and the chance of reaching at least 577 is only about . The full chain runs from the basic requirement of 384.16 to 577 completions to 722 invitations, and each step rests on its own assumption.
Check yourself
- A poll wants a margin of 3 percentage points at 95 percent confidence, with and no prior information about the proportion. How many completed independent responses does the basic formula require?
Show the answer
Without prior information, use the conservative value . Then
which rounds up to 1068 completed responses, before any design or nonresponse adjustment.
- Plan a mean estimate with anticipated standard deviation units, and a target margin of units. Responses are independent and the expected response rate is 70 percent. Find the number of completed responses and the number of invitations, and explain why the two differ.
Show the answer
The basic requirement is
so the plan needs 139 completed responses. Dividing by the response rate gives , so the plan sends at least 199 invitations, with expected completions.
The invitation count is larger because only about 70 percent of those invited are expected to respond. Even so, 139 completions are not guaranteed, and extra invitations do nothing about bias if those who respond differ from those who do not. If the analysis will use a interval and turns out equal to 12, the critical value with about 140 degrees of freedom is near rather than , and repeating the calculation with it raises the plan to 141 completions.
- A pilot of 20 residents finds 2 supporters, so a planner uses and plans 139 responses for a margin of . What margin would 139 responses give if the true proportion were , and what would be a more cautious plan?
Show the answer
With the planned margin is , about 7.6 percentage points instead of 5. A true value of is compatible with the pilot, since the 95 percent Wilson interval for 2 successes in 20 trials is about .
A pilot this small cannot pin down the variability. Planning at , near the upper end of that interval, requires , so 323 responses. The conservative value requires 385 and keeps the planned margin at or below whatever the true proportion is.