HelpMethod · Weighting

All Help pages

Rim weighting (raking) and effective base

Understand how weights are applied, how rim weighting is fitted and what effective n can tell you.

A weight controls how much each respondent contributes to a result. Weights can align selected sample distributions with population targets. They may be relative weights rather than literal counts of people in the population.

For the steps to choose or create one, see Choose or create a weight.

See what changing the weights does to a result in the worked statistical lesson.

#One weight for the project

The applied project weight is used across ordinary analyses and reports. Opening an analysis or report does not change it. Changing the project weight recalculates results in Analysis and Report, including generated reports. Unweighted applies the same choice throughout the project.

Check the result's footer and Inspect for the weight and method used. Specialist methods with a declared fixed-weight policy retain that policy.

#Who is left out

A weight must be a finite, nonnegative number outside the column's declared missing values. Respondents without a valid weight are excluded from weighted results, including raw respondent counts. Weighting shows how many are excluded.

A zero weight keeps the respondent in the raw count but contributes no weighted mass.

#Effective n and weighting efficiency

Unequal weights can reduce precision because some respondents contribute more than others. Velocity summarises weight variation using Kish's effective n: the square of the sum of the weights divided by the sum of their squares.

Equal weights give an effective n equal to the eligible respondent count. Unequal weights reduce it. Efficiency is effective n as a percentage of that count. It is a diagnostic, not an exact precision equivalent for every estimate or sample design.

The synthetic brand tracker's Final weight (rim, within wave) has an effective n of 9,612 and efficiency of 96%, with weights from 0.35 to 3.00.

  1. Forty respondents from the latest wave, as collected. Unweighted, each counts once.
  2. The sample’s mix is not the mix the weight gives. 35–44 are 15.5% of respondents and count for 17% after weighting.
  3. A weight makes a respondent count for more or less than one person. These forty have weights from 0.35 to 1.31, drawn as each dot’s size; across the study they run from 0.35 to 3.00.
  4. So a weighted study has three counts. 10,000 is the number of people, and the weighted base is their total weight. Effective n, 9,612, describes the loss of precision from uneven weights; it is not a count of people.
The more the weights vary, the further the effective n falls below the 10,000 respondents. The first forty respondents in Wave 5; the shares and counts are the synthetic brand tracker’s five waves, weighted by Final weight.
The applied weight, effective n and efficiency.

Keep raw respondent count, weighted base and effective n distinct. Tests do not all use one effective-base formula. Ordinary proportions with independent columns use Pearson or Rao–Scott tests; means use ratio-linearised variance; comparisons over time have a separate method. Proportion intervals use Wilson intervals with a Kish effective base. See Significance tests and notation and Intervals.

#Making a weight from targets

A rim weight, also called raking, repeatedly adjusts respondent weights to match the target percentages for each selected categorical variable.

  • Targets for each variable must total 100%. Every category with a positive target needs eligible respondents with positive starting weight.
  • The fit uses the kept study population, independently of analysis filters. Respondents need valid answers to the weighting variables and, where selected, the grouping and starting-weight columns.
  • Minimum weight and Maximum weight constrain the fit. A zero starting weight stays zero.
  • Calculate separately by fits targets within each selected group, such as each wave.
  • The fit runs for up to 500 passes. You can preview an unconverged fit, but you cannot save it. Review targets, sample support, starting weights and bounds before trying again.

With the illustrative targets in the guide, the preview shows effective n 9,892, efficiency 99.8% and weights from 0.65 to 1.04. Efficiency is calculated against the eligible fitting count, not all 10,000 records; missing answers to weighting variables exclude respondents from this fit.

Review the fitted distributions and weight diagnostics before saving.

Saving writes a new weight column and checks the stored totals against the preview. Revising a weight retains its earlier definition.

#What weighting does not fix

  • Matching targets does not remove every source of bias. Respondents may differ from nonrespondents on characteristics the weighting variables do not capture.
  • Efficiency measures weight variation, not whether bias was removed.
  • Tests and intervals treat weights and targets as fixed. They do not include uncertainty in estimated population targets.
  • Very uneven weights and small groups can make approximate inference less reliable. Check the effective base and method assumptions in Inspect.