skip to content

How would you post-stratify an age-skewed online panel to census shares, and when does bias remain?

level: seniorimportance: should knowfreq 46%

answer

  1. match the sample to known population totals
  2. cell shares come from outside the sample
  3. weight is population share over sample share
  4. assumes respondents match non-respondents inside a cell
  5. extreme weights buy bias with variance

basics

~20 s

Split respondents into age cells, weight each cell by population share divided by sample share, and average the cell means with population weights. Bias remains whenever respondents inside a cell still differ from non-respondents on the outcome.

solid answer

~50 s

Post-stratification reweights an achieved sample so its composition matches known population totals. Form cells on the skewed variable, compute `w = population share / sample share` for each cell, and the weighted estimate is `sum over cells of (population share x cell mean)`. Three conditions have to hold for it to work: the population shares come from a trustworthy external source such as a census, every cell has enough respondents to give a stable cell mean, and — the real assumption — within a cell, respondents resemble non-respondents on the outcome. That last one is where it usually fails: the panel's 65-plus respondents are the digitally engaged 65-plus, and weighting them up multiplies an unrepresentative subgroup rather than fixing it. Weighting also inflates variance, so extreme weights are trimmed at a cost in residual bias.

go deeper

for a junior

Be ready to state the idea in plain terms: if a group is half as common in your respondents as in the population, count each of its answers roughly twice so the mix matches the population.

for a middle

Give the arithmetic without hesitation — weight equals population share over sample share, and the estimate is the population-weighted average of the cell means — and say where the population shares must come from.

for a senior

Show that you treat weighting as an assumption with a price: name within-cell exchangeability out loud, handle thin cells by collapsing or capping, and report the weight distribution and effective sample size next to the estimate.

for a principal

Own the standard for when a weighted panel result is allowed to inform a decision at all, including which questions your frame simply cannot answer, and how much precision the organisation is willing to spend on bias reduction.

## The mechanics You have an online panel whose respondents skew young, and you know the population age distribution from a census. **Post-stratification** adjusts after the fact, using population totals that you did not control at sampling time. For each age cell `c`, let `P_c` be its population share and `p_c` its share of respondents. The weight is `w_c = P_c / p_c` A cell that is 10% of the population but 20% of respondents gets `w = 0.5`; a cell that is 25% of the population but 10% of respondents gets `w = 2.5`. The post-stratified mean is the population-weighted average of the cell means: `estimate = sum over c of (P_c x mean of Y within cell c)` Equivalently, a weighted mean of individual responses using `w_c` as each respondent's weight. Notice that the cell means come from your data, but the mixing proportions come from the census. That is precisely the trade: you accept your respondents' answers within each cell, and you replace your sample's composition with the population's. ## What it assumes The estimate is unbiased when, **within each cell**, respondents are exchangeable with non-respondents on the outcome. In words: the panel may be short of 65-year-olds, but the 65-year-olds it does have must be typical 65-year-olds for the question at hand. This assumption is doing all the work, and it is untestable from the survey alone. If the online panel's older respondents are the technologically comfortable ones, and technological comfort predicts the answer, weighting them up amplifies their unrepresentativeness instead of correcting it. Post-stratification removes only the portion of the bias that runs **through the weighting variables**; whatever remains inside the cells survives untouched. ## Practical conditions - **Trustworthy external totals.** The population shares must come from a source you did not derive from the sample. Weighting to shares estimated from the same respondents is circular and does nothing. - **Adequate cell sizes.** A cell with three respondents produces a wildly unstable cell mean, and multiplying it by a large weight injects that instability straight into the estimate. Collapse thin cells into neighbours, or accept a coarser cell definition. - **Only marginals known?** If the census gives you age totals and region totals but not the joint age-by-region table, use **raking** (iterative proportional fitting): adjust weights to match age marginals, then region marginals, then age again, cycling until both are matched to tolerance. ## The variance cost Weighting is not free. Unequal weights increase the variance of the estimate, which is the same as saying the **effective sample size falls below the nominal one**. A survey with 4,000 respondents and a handful of very large weights can carry the precision of a few hundred. This is why practitioners **trim or cap** weights: capping reduces variance and reintroduces some of the bias you were removing, so the cap level is an explicit bias-variance decision that should be documented, not chosen silently. ## Choosing weighting variables A variable earns a place in the weighting scheme only if all three hold: 1. **It predicts the outcome.** Weighting on something unrelated to the answer adds variance and removes no bias. 2. **The sample is imbalanced on it** relative to the population. If your panel already matches the census on a variable, weighting on it changes nothing except the weight spread. 3. **Reliable population totals exist** for it, measured the same way you measured it on respondents. Mismatched category definitions between your questionnaire and the census silently corrupt the weights. Adding every available demographic is a common and costly error: each extra dimension thins the cells and widens the weight distribution, buying tiny bias reductions with real precision. ## When post-stratification cannot save you - **Selection driven by something unmeasured.** If people join the panel because of an attitude you never observe, no demographic weighting reaches it. - **Zero-probability groups.** Weighting can up-weight a cell only if the cell contains someone. A group entirely absent from the frame — people who never use the internet, for a web panel — cannot be recovered by any weight. - **Selection on the outcome itself.** If willingness to answer depends directly on the answer, within-cell exchangeability fails by construction. ## What to say in an interview Give the formula, then immediately name the assumption it rests on and the variance price it charges. The signal an interviewer is listening for is that you treat weighting as a *stated assumption with a cost*, not as a button that makes a convenience sample representative. Reporting the achieved weighted composition, the weight distribution and the effective sample size alongside the estimate is the professional standard.

  • How do you decide which variables to weight on?
    Pick variables that predict the outcome, on which the sample is genuinely imbalanced, and for which trustworthy population totals exist measured the same way you measured them. Weighting on a variable unrelated to the answer adds variance and removes no bias, and each extra dimension thins the cells and widens the weight spread, so the scheme should be short and deliberate.
  • One of your cells has three respondents and needs a weight of eight. What do you do?
    Do not ship it as is: three answers multiplied by eight dominate the estimate and make it unstable across resamples. Collapse the cell into an adjacent one to get a coarser but stable cell mean, or cap the weight and document that the cap trades some residual bias for precision. Either way, report the weight distribution and the effective sample size.
  • Only marginal population totals are published, not the joint distribution. Can you still adjust?
    Yes, with raking, also called iterative proportional fitting. You scale the weights to match the first variable's marginal totals, then the second, then return to the first, cycling until all marginals agree within tolerance. It reproduces the published margins without requiring the unavailable joint table, at the cost of assuming nothing pathological in the unobserved interaction.
  • After weighting, the composition matches the census exactly. Is the estimate now unbiased?
    Only if respondents inside each cell are like non-respondents inside that cell. Matching composition is necessary, not sufficient: it removes the bias carried by the weighting variables and leaves everything driven by unmeasured differences. A panel that reaches only the digitally engaged members of an age group stays biased after its age shares are corrected.

saying these in an interview costs you the question

  • Believes weighting makes any convenience panel representative
  • Weights on variables unrelated to the outcome
  • Ignores the variance inflation from extreme weights
  • Uses population shares estimated from the sample itself
  • Assigns a large weight to a cell with a handful of respondents

context