Forms · Glossary
What is survey weighting?
Survey weighting gives each response a multiplier so the sample's makeup matches the population it describes. When one group is overrepresented, its answers count for a little less and the underrepresented group's answers count for a little more. The weighted result estimates what the survey would have shown had every group responded in proportion.
Most published polls are weighted and most internal business surveys are not, which is one reason the two so often disagree. The arithmetic is simple, but it quietly trades one kind of error for extra uncertainty of another kind.
Nuwan Madhusanka · Co-founder
5 min read · Published
| Figure | Online customers | In store customers | All customers |
|---|---|---|---|
| Share of the customer base | 50% | 50% | 100% |
| Responses received | 280 (70%) | 120 (30%) | 400 |
| Satisfied respondents | 224 (80%) | 72 (60%) | 296 (74% unweighted) |
| Weight per response | 0.714 | 1.667 | Average of 1.0 |
| Weighted responses | 200 | 200 | 400 |
| Weighted satisfaction | 80% | 60% | 70% |
Working through the example
Tidewater Hardware's customers are split evenly between online and in store buyers, but online buyers answered the survey far more readily, so 70 percent of responses came from them. Online buyers were also happier. Left alone, the survey reports 74 percent satisfied, a figure pulled upward by whichever group was keener to reply. Each weight is the group's share of the population divided by its share of the sample: 50 divided by 70 gives 0.714 for online responses, and 50 divided by 30 gives 1.667 for in store responses. Multiply each response by its weight and the two groups count as 200 each, matching the real split. Satisfaction then comes out at 70 percent, the simple average of 80 and 60. Four points is the difference between reporting a stable year and reporting a decline worth investigating, and it came entirely from who chose to answer.
The main methods
The example uses cell weighting, which works when a sample is split on one or two traits with known population shares. Real surveys usually need to balance several traits at once, and the cells quickly become too small. Raking, the most common method, handles this by adjusting the weights for one trait, then the next, and cycling until the sample matches the population on each trait separately, which needs only the overall share for each rather than every combination. Pew Research Center's 2018 comparison also describes matching, where each case in a target population sample is paired with a similar respondent and unmatched respondents are discarded, and propensity weighting, where respondents who resemble people rarely found in the survey receive larger weights. The best performing approaches in that study combined several of these steps.
The cost: a wider margin of error
Weighting corrects the balance of a sample by leaning harder on some responses, and leaning on fewer voices increases uncertainty. Pew notes that weighting makes the margin of error larger, which statisticians call the design effect. One common way to see it is the effective sample size: square the sum of the weights and divide by the sum of the squared weights. In the Tidewater example the 400 responses behave like 336 unweighted ones, so the margin at 95 percent confidence for a 50 percent result widens from about 4.9 to about 5.3 points. That is a small price for a four point correction. The price becomes steep when one group is badly underrepresented and each of its responses carries a weight of five or ten, because a handful of people then decides the headline.
What weighting cannot fix
Weighting can only balance the traits it is given, and only when reliable population figures for those traits exist. If online buyers who answered differ from online buyers who did not, no weight based on channel will notice. Pew's 2018 study found that weighting on core demographics alone only minimally reduced bias, and in some cases made it worse; the samples that improved most were adjusted on additional variables more closely related to what was being measured. Pew's 2019 review of telephone polling makes the same point from the other side: standard weighting sometimes corrects the link between who takes part and what they say, and sometimes, as with volunteering, it does not. Weighting also cannot recover a group that is almost absent. Ten responses from a group that makes up a third of the population carry weights so large that the result is mostly noise, and the honest report shows that group separately with its count.
Weighting form responses in a spreadsheet
The CSV export writes one column per field, with choice questions written out as the option labels people chose, so a single choice question such as online or in store arrives ready to use as a weighting variable. Ask that question as its own radio or dropdown field rather than a row in a rating grid, which would export joined with other statements. Take the population shares from records rather than guesses, add a weight column with a lookup on that label, and calculate weighted percentages by summing weights.
Questions people ask
Should every survey be weighted?
No. Weight when the sample is noticeably off on a trait that affects the answers and when trustworthy population figures exist for that trait. If the sample already matches the population closely, weighting adds uncertainty for almost no correction. If the population figures are guesses, weighting replaces a known skew with an unknown one.
What is weight trimming?
Trimming caps weights at a chosen maximum, such as five, so a few respondents from a thin group cannot dominate the result. The capped weight is usually spread back across the other cases so totals still match. Trimming reintroduces a little of the imbalance weighting was meant to fix, in exchange for a much more stable estimate.
Can I weight on an answer from the survey itself?
Only on traits that have an outside population figure, such as region, team or purchase channel. Weighting on an opinion question, such as satisfaction, to make it match an expected level defeats the purpose of asking. The weighting variables describe who people are; the measured questions describe what they think.
How many variables can a small survey weight on?
Fewer than people expect. With a few hundred responses, two or three traits is usually the limit before some combinations contain almost nobody and weights become extreme. Choose the traits that differ most between respondents and the population and that most plausibly affect the answers, and leave the rest alone.
Do weighted totals still equal the number of responses?
Usually, yes. Weights are normally scaled so they sum to the number of responses, which keeps weighted counts readable, as in the example where 280 and 120 responses become 200 and 200. Some analysts scale weights to the population size instead, so each response represents a number of people. Either works if it is stated.
What should a weighted report show?
Weighted percentages, the unweighted number of responses behind them, the traits used for weighting and where the population figures came from. A margin of error, if quoted, should account for the design effect. Showing the unweighted result for the headline figure as well lets readers see how much the adjustment moved it.
Make one with forms
The button opens the generator with this use case already described. Change the wording to match your own.
Create a form with OneCraftRelated questions
- What is a representative sample?What is a representative sample? One that mirrors the population on the traits that shape the answers. Random, stratified, convenience and quota compared.
- What is non-response bias?What is non response bias? The error when people who skip a survey differ from those who answer. Signs to look for, and remedies from reminders to weighting.
- What is margin of error?What is margin of error? The range a survey result is likely to sit within, how it is calculated at 95 percent confidence, and a table by sample size.
Step by step in the builder: View, export and manage your responses, then Create a form from scratch with AI.
Written and checked by the OneCraft team. Last checked .