Written and maintained by CASRAI Editorial Board
Published
On this page
Survey methodology is the body of methods for designing a survey, drawing a sample from a defined population, writing and testing the questionnaire, collecting responses, adjusting the data and reporting the result so a reader can judge its quality. Its organising idea is total survey error: every stage can add error, and the margin of error printed beside a poll covers only one of them, sampling variance.
What survey methodology covers
A survey estimates something about a population, such as the share of faculty who use a data repository, from a subset of that population. Methodology is the set of decisions that connect the two. The decisions fall into a life cycle: define the population and the data collection strategy, choose a sampling frame and a selection method, design and pretest the instrument, collect data while monitoring response, process and weight the data, then disclose how it was done. For the instrument itself see questionnaire design, survey question types and good survey questions; for a short definition see survey research methods.
Total survey error: which error each stage adds
Total survey error organises the ways a survey estimate can differ from the true population value into two dimensions, measurement and representation. The representation components below are defined in the survey-methodology course chapter on total survey error, which draws on the survey life-cycle figure in Groves et al. (2009). The right-hand column pairs each with the practice the American Association for Public Opinion Research (AAPOR) Best Practices page describes for it.
| Error component | Definition (course chapter) | Practice that addresses it (AAPOR) |
|---|---|---|
| Coverage error | Coverage bias = μC − μ: the mean of units in the sampling frame minus the target population mean | Use a frame that covers all or almost all of the population; for phone surveys, combine cell phone and landline frames |
| Sampling error | Sampling bias (units with zero or very low chance of selection) plus sampling variance (how the estimate varies across all possible samples) | Probability samples: random selection from a frame covering the population |
| Nonresponse error | Nonresponse bias = x̄r − x̄s: respondent mean minus full-sample mean | Monitor response during fielding; incentives, multiple contacts at different times and by different methods, varied persuasive messages |
| Adjustment error | x̄adj − μ: the weighted sample mean minus the population mean | Weight to bring the sample closer to the population and be transparent about the weighting attributes |
| Measurement (dimension) | The second dimension of total survey error alongside representation | Specific, short, unbiased questions; pretest with cognitive interviews; pilot test all procedures |
Sampling frames and probability versus nonprobability samples
A sampling frame is the list that lets you contact potential respondents and draw a sample, for example an address list for a mail survey, panel members for an online survey or a phone number list for a telephone survey. AAPOR describes probability samples as using a frame that covers all or almost all of the population with random selection, long the gold standard for public opinion polling. Nonprobability samples, such as opt-in panels or social media recruitment, have grown mainly because probability surveys cost more, and AAPOR notes their results often need special statistical techniques and careful transparency about methods. Online surveys can use either type. For frame problems in depth, see sampling frame and coverage error, and for how data collection mode interacts with error, survey mode effects and mixed-mode designs.
Questionnaire design and pretesting
AAPOR’s guidance is that questions should be specific and ask about one concept at a time, use short, simple wording the target audience will understand, avoid biased wording and place general questions before specific ones on the same concept to avoid priming. Response options should be mutually exclusive, cover all reasonable choices and follow a logical order; rotate them when order effects are likely. To measure change, AAPOR’s advice is not to change the measure, and if the measure must change, to run a split-ballot experiment to test whether the change affects responses. Pretest the questionnaire, typically with cognitive interviews of respondents similar to the sample, and pilot test the recruitment, administration and data cleaning procedures.
Nonresponse and weighting
Low response can miss certain kinds of respondents entirely and bias estimates, so AAPOR recommends monitoring responses during fielding and making reasonable efforts with both people who never acknowledged the request and those who refused. Ideally the sample matches the population on characteristics such as age, sex, race/ethnicity, location and education; because that is rarely fully achieved, weighting adjusts respondents’ relative contributions to move the sample closer to the population, and the weighting attributes should be disclosed. The course chapter adds a caution: the adjustment itself can introduce error. Methods are covered in non-response bias and survey weighting.
Margin of error: the formula, with every symbol
For a proportion from a simple random sample, the 95% confidence interval and its margin of error come from the normal approximation described in the University of Toronto text Introduction to Statistical Ideas and Methods:
Margin of error = 1.96 × √( p(1 − p) / n ), and the interval is p̂ ± that quantity.
- p̂ is the sample proportion, the number of successes divided by n.
- p is the unknown true proportion; in practice p̂ is substituted for it.
- n is the number of completed responses used in the estimate.
- 1.96 is the critical value of the standard normal distribution that leaves 95% of the area between −1.96 and 1.96. The same text gives 1.645 for 90% and 2.576 for 99%.
The text also gives a conservative version: substituting p = 1/2 maximises p(1 − p) and gives the widest interval, which simplifies to ±0.98/√n at 95%. The data table below lists it for several sample sizes at three confidence levels; see also sample size determination formulas and the confidence interval definition.
Worked example with the arithmetic
Suppose an illustrative survey of 400 researchers finds that 248 use a repository: p̂ = 248 / 400 = 0.62. The standard error is √(0.62 × 0.38 / 400) = √(0.2356 / 400) = √0.000589 = 0.02427. The margin of error is 1.96 × 0.02427 = 0.0476, about 4.8 percentage points, so the 95% interval is 0.62 ± 0.0476, that is 57.2% to 66.8%. The conservative version, 0.98 / √400 = 0.049, gives 4.9 points. (These numbers are an illustrative composite, not a real survey.)
Interpretation: what the margin of error does and does not tell you
The Toronto text’s own example is a poll of 563 likely voters reported with a margin of error of plus or minus four points; with p = 1/2 the formula gives 1.96 × √(0.25/563) = 0.0413, matching the report. Reading guidance:
| Situation | Reading |
|---|---|
| Interval is p̂ ± 4.8 points | Half the width of the confidence interval; the full interval is about 9.5 points wide |
| Quadrupling n | Halves the margin of error, because n sits under a square root |
| Higher confidence level | Wider interval: the critical value rises from 1.96 (95%) to 2.576 (99%) |
| Coverage, nonresponse, measurement or adjustment error | Not captured by this formula, which describes sampling variance for a random sample |
Assumptions and common mistakes
- Treating the margin of error as total error. The formula assumes random selection and says nothing about a frame that omits part of the population, nonrespondents who differ from respondents or poorly worded questions.
- Applying it to nonprobability samples without disclosure. AAPOR says such results often need special techniques and transparency.
- Changing a question between waves and comparing trends. AAPOR’s rule is not to change the measure; test any change with a split ballot.
- Using the overall n for subgroups. The n in the formula is the number of responses behind the specific estimate.
- Weighting without saying so. Weighting attributes should be disclosed, and the adjustment can itself add error.
How to report a survey: the AAPOR disclosure checklist
AAPOR’s Disclosure Standards (Code, section III.A) list eleven items to disclose when results are released. Use them as the outline of a methods section: (1) data collection strategy; (2) the sponsor and who conducted the research; (3) the measurement tools or instruments; (4) the population under study; (5) the method used to generate and recruit the sample; (6) the method and mode of data collection; (7) the dates of data collection; (8) sample sizes and, if applicable, precision of results; (9) how the data were weighted; (10) how the data were processed and the data-quality procedures; (11) a general statement acknowledging design and data-collection limitations. For reporting the margin of error, state the confidence level and that it reflects sampling variance only, for example: “The margin of error is ±4.8 percentage points at the 95% confidence level (n = 400).” For citing a published survey in a reference list see how to cite a survey in APA.
How to calculate the margin of error in Excel, R or Python
Excel (p̂ in A1, n in B1): =1.96*SQRT(A1*(1-A1)/B1)
R: p = 248/400; n = 400; qnorm(0.975) * sqrt(p*(1-p)/n) returns 0.0476.
Python: from math import sqrt; p, n = 248/400, 400; 1.96 * sqrt(p*(1-p)/n) returns 0.0476.
Frequently asked questions
What is survey methodology in simple terms?
It is the set of methods for choosing who to ask, what to ask, how to collect and adjust the answers and how to report them, so that results from a sample can be trusted as estimates for a population.
Does the margin of error cover all survey error?
No. The formula in the Toronto text describes sampling variance for a random sample. Coverage, nonresponse, measurement and adjustment errors are separate components of total survey error.
Why does weighting need disclosure?
AAPOR asks researchers to be transparent about statistical adjustments including weighting attributes, and item 9 of its disclosure standards requires stating how the data were weighted.
Sources
- AAPOR, Best Practices for Survey Research, https://aapor.org/standards-and-ethics/best-practices/ (read 2026-11-15).
- AAPOR, Disclosure Standards (Code of Professional Ethics and Practices, III.A), https://aapor.org/standards-and-ethics/disclosure-standards/ (read 2026-11-15).
- Moya, C., total survey error chapter, ISCS course materials, https://bookdown.org/cristobalmoya/iscs_materials/tse.html, citing Groves et al. (2009) (read 2026-11-15).
- University of Toronto, Introduction to Statistical Ideas and Methods, Confidence Intervals for Proportions, https://sol.utstat.utoronto.ca/modules/module-6/7-2-Confidence-Intervals-for-Proportions.pdf (read 2026-11-15).
Data: Conservative margin of error (p = 0.5) by sample size and confidence level
Margin of error for a proportion from a simple random sample using the conservative assumption p = 1/2, computed as z times 0.5 divided by the square root of n for z = 1.645, 1.96 and 2.576 (the 90, 95 and 99 percent critical values given in the University of Toronto text Confidence Intervals for Proportions). Values are computed by the author and rounded to two decimals; the 563 row reproduces the 4.13 percent figure in the text's worked poll example.
| Completed responses (n) | Margin of error, 90% confidence (percentage points) | Margin of error, 95% confidence (percentage points) | Margin of error, 99% confidence (percentage points) |
|---|---|---|---|
| 100 | 8.22 | 9.8 | 12.88 |
| 400 | 4.11 | 4.9 | 6.44 |
| 563 | 3.47 | 4.13 | 5.43 |
| 1000 | 2.6 | 3.1 | 4.07 |
| 2500 | 1.65 | 1.96 | 2.58 |
Sources
- University of Toronto, Introduction to Statistical Ideas and Methods: Confidence Intervals for Proportions (accessed 2026-11-15)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







