Survey Weighting and Calibration

Machine Learning
Introduced by
Sharon Lohr
Year
2010
Type
Estimation adjustment procedure
Family
Survey estimation

What does it do?

Survey weighting assigns a numeric weight to each sampled unit so that the weighted sample reproduces known population totals.

It corrects for unequal selection probabilities, unit nonresponse, and coverage gaps, so the resulting estimates can be more representative of the target population than raw sample means or totals. In calibration, the final weights are chosen as close as possible to the nonresponse-adjusted weights while matching external population benchmarks exactly.

The intuition behind the method

Imagine a classroom survey where tall students were twice as likely to be selected as short students. To fairly describe the whole school, you would count each tall respondent as representing fewer students than each short respondent. Survey weighting does exactly this — it stretches or shrinks each observation's contribution until the weighted sample 'looks like' the full population on known characteristics such as age, sex, or region.

History

The base-weight step uses the reciprocal of the inclusion probability under the sampling design, as described above. The calibration pipeline described on this page is presented in Lohr (2010).

When to use it

Use survey weighting when a probability sample departs from simple random sampling, when unit nonresponse is non-negligible, or when reliable auxiliary population totals exist that the sample should reproduce. The method requires known or estimable inclusion probabilities, ignorable nonresponse within adjustment cells, and accurate auxiliary benchmarks. Avoid it, or treat its gains with caution, when auxiliary data are outdated, when the outcome is unrelated to the calibration variables so that little variance reduction is available, or when extreme weights would inflate variance more than calibration reduces it. With simple random sampling and no nonresponse, weighting adds little.

Limitations and considerations

  • Extreme calibration weights can inflate variances and standard errors, sometimes exceeding the variance of the uncalibrated estimator.
  • Quality depends entirely on the accuracy and currency of the auxiliary population totals used as benchmarks.
  • Nonresponse adjustment assumes that respondents and nonrespondents within each adjustment cell are exchangeable — an untestable assumption.
  • Weighting addresses mean-level representativeness but does not recover unobserved subgroup heterogeneity or correct measurement error.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • The base-weight, nonresponse and calibration steps are combined into one final weight per unit, so a single set of weights can be applied to all estimates from the survey.
  • When the calibration variables are correlated with the survey outcome, calibrating to known auxiliary totals can reduce estimator variance relative to the Horvitz-Thompson estimator. The size of the gain depends on that correlation and is not guaranteed.
  • Weighted estimates agree with the benchmark totals used in calibration, which makes them straightforward to check against published population figures.
  • The calibration estimator is model-assisted: its design-based properties hold approximately in large samples, even when the auxiliary model is imperfect, provided that variance estimation reflects the sampling design and the calibration step (see inPractice). Calibration alone does not guarantee valid inference.

Applications

  • National household surveys weight responses to census or register margins, such as age, sex and region, to produce official statistics.
  • Opt-in online panels are often raked to population margins so that their weighted distributions match external benchmarks. This does not remove selection bias on traits that are not measured.
  • Surveys with deliberate oversampling of subgroups use base weights that reflect the unequal selection probabilities, so that population-level estimates account for the design.
  • Large-scale assessments with stratified cluster designs use replicate weights, which allow variance to be estimated under the complex sampling design.

How it works

How it works

1

The base weight is the reciprocal of the unit's inclusion probability under the sampling design. If a unit had a 1-in-10 chance of selection, its base weight is 10, meaning it represents ten population members. These design weights account for the deliberate oversampling or undersampling built into stratified and cluster designs.

Formula
d_i = \frac{1}{\pi_i}
2

Nonresponse adjustment inflates the weights of respondents to compensate for units that were sampled but did not participate. Estimated response propensities are computed within adjustment cells defined by auxiliary variables, and each respondent's base weight is divided by the cell-level response rate, redistributing the 'lost' representation across similar respondents.

Formula
d_i^{NR} = d_i \cdot \frac{1}{\hat{\phi}_i}
3

Calibration modifies the nonresponse-adjusted weights to satisfy external benchmark constraints, typically population counts from a census or administrative register. A distance function G measures departure from the design weights, and a constrained optimization finds final weights that are as close as possible to the nonresponse weights while matching the known population totals exactly. The choice of G affects the form of the final weights and how widely they vary, so the distance function used should be reported together with the weights.

Formula
\min_{w} \sum_{i \in s} G(w_i, d_i^{NR}) \quad \text{s.t.} \quad \sum_{i \in s} w_i x_i = \mathbf{T}_x
4

The calibrated estimator sums the product of each unit's final weight and its survey outcome across all respondents. Because the weights reflect both design probabilities and matched population totals, the estimate is approximately design-unbiased in large samples. Calibration on auxiliary variables that are correlated with the outcome can reduce its variance.

Formula
\hat{Y}_{cal} = \sum_{i \in s} w_i y_i

Common pitfalls

  • Trimming extreme weights without bias-variance analysis can introduce systematic bias that outweighs the variance savings.
  • Using too many calibration variables creates near-collinearity and unstable weights; variable selection should be guided by correlation with key outcomes.
  • Ignoring clustering and stratification in variance estimation after weighting produces anticonservative standard errors and misleading confidence intervals.
  • Applying identical weights across subgroups with very different response processes risks masking nonresponse bias rather than correcting it.

Frequently asked questions

What is the difference between post-stratification and calibration?

Post-stratification is a special case of calibration where the auxiliary constraints are cell population counts forming a partition of the sample. Calibration is more general: it can incorporate marginal totals from multiple variables simultaneously (raking) or continuous auxiliary totals, and it allows any distance function to control weight departure from the base weights.

How do I handle very large or very small weights?

Large weights signal that a small number of respondents represent many nonrespondents or hard-to-reach units. Common remedies include weight trimming (capping at a percentile threshold), bounded calibration algorithms that constrain the weight ratio, or redefining adjustment cells to reduce within-cell heterogeneity. Each remedy trades some bias reduction for variance control and should be documented transparently.

Can survey weighting eliminate all nonresponse bias?

No. Weighting removes nonresponse bias only to the extent that the calibration or adjustment variables are correlated with both response propensity and the survey outcome. If nonrespondents differ from respondents on unmeasured characteristics even after conditioning on available auxiliaries, residual bias remains. Sensitivity analyses and follow-up studies of nonrespondents are recommended for high-stakes surveys.

Related methods

Sources

  1. Lohr, S. L. (2010). Sampling: Design and Analysis (2nd ed.). Brooks/Cole.

    ISBN: 978-0-495-10527-5