Correcting Skewed Survey Samples With Post-Stratification, Raking, and Propensity Scores
Raw survey data rarely reflects the actual population. To fix this, statisticians use mathematical weighting techniques—post-stratification, raking, and propensity scores—to force skewed samples back into alignment with reality.
Share this story
In short
- Raw survey data is inherently skewed and requires mathematical weighting to accurately reflect the target population.
- Post-stratification matches specific demographic buckets perfectly but fails mathematically if any bucket contains zero respondents.
- Raking iteratively balances marginal totals, allowing researchers to adjust for many variables without empty-cell failures.
Raw survey data is almost always wrong. If a researcher polls 1,000 people at random, they will inevitably over-sample older demographics who have more free time, under-sample younger ones, and miss specific minority groups entirely. To extract truth from skewed data, statisticians do not just count the answers; they weigh them. This mathematical correction is the invisible engine powering modern data analysis, ensuring that a flawed sample can still accurately reflect a complex population.[1][2]
The mechanism of weighting is straightforward in concept: it assigns a numerical multiplier to every respondent. If young men make up 10% of the actual population but only 5% of a survey's sample, each young man's answer is multiplied by two. Conversely, if older women are overrepresented, their answers are multiplied by a fraction. A perfectly representative respondent carries a base design weight of exactly 1.0. The complexity arises in how researchers calculate these multipliers across dozens of intersecting demographic traits.[1][2]
The three primary methods used to calculate these multipliers are post-stratification, raking, and propensity score adjustment. Each solves a different mathematical crisis in data collection, and each carries distinct limitations regarding how much variance it introduces into the final dataset. The choice of method dictates the integrity of the finding, determining whether a dataset accurately reflects reality or simply amplifies a hidden bias.[1][3][7]
Post-stratification is the most intuitive and historically common method. It divides the population into mutually exclusive, cross-tabulated buckets—such as "women aged 18-24 with a college degree"—and scales the sample to match the known census data for that exact specific bucket. When the sample is large and the variables are few, post-stratification provides an exact, mathematically ideal match to the target population.[3][4][5]
However, post-stratification is mathematically fragile because it suffers from the "curse of dimensionality." If a researcher tries to balance a survey on age, gender, education, race, and income simultaneously, they create thousands of micro-buckets. If even one of those buckets has zero respondents in the sample, the math breaks down entirely. You cannot multiply zero by any weight to reach a target population. This cell sparsity failure threshold forces researchers to either collapse categories—losing nuance—or abandon the method entirely.[3][5][7]
When post-stratification collapses under the weight of too many variables, statisticians turn to raking, formally known as Iterative Proportional Fitting. Instead of looking at intersecting micro-buckets, raking looks at the margins. It adjusts the weights for age, then adjusts for gender, then adjusts for education independently, rather than requiring a respondent to perfectly represent an intersection of all three.[1][3]
Because adjusting for education might throw the previously calculated age weights slightly out of balance, the raking algorithm loops back and repeats the process. It iterates over and over until all the marginal distributions converge on the target population numbers. This allows researchers to balance 10 or more variables simultaneously without needing respondents in every possible cross-tabulated cell.[1][5]
The trade-off is that raking assumes the variables do not heavily interact in unexpected ways. If the relationship between age and income is highly skewed in the sample compared to the general population, raking on the independent margins might not fix the internal distortion. The algorithm guarantees the overall percentage of young people and the overall percentage of wealthy people will match the census, but it does not guarantee the percentage of wealthy young people will be correct.[1][3][7]
As modern surveys increasingly rely on non-probability samples—such as opt-in internet panels where there is no known sampling frame—traditional demographic weighting is no longer sufficient. This is where Propensity Score Adjustment (PSA) enters the methodology. PSA shifts the mathematical focus from *who* the respondent is to *how likely* they were to take the survey in the first place.[4][6]
Using logistic regression or machine learning models, PSA calculates a probability score for every individual based on a wide array of covariates. It then applies Inverse Probability of Treatment Weighting (IPTW). Respondents who possess traits that made them statistically unlikely to participate are given higher weights, effectively simulating a random sample out of a non-random opt-in pool.[6]
Simulation studies demonstrate that propensity score estimation methods are highly effective at reducing bias in complex observational data. By modeling the mechanism of non-response directly, PSA can handle highly fragmented, high-dimensional data that would instantly break traditional post-stratification and confuse iterative raking algorithms.[4][6]
Yet, propensity score adjustment has a fatal, unavoidable limitation: it only works if the researchers have data on the specific variables that drive participation. If people opt into a survey based on an unmeasured trait—such as baseline political trust or inherent risk tolerance—PSA cannot correct the bias. It can only balance the data on the covariates the researcher had the foresight to measure.[4][6][7]
Ultimately, weighting is a balancing act between bias and variance. Pushing weights too high to correct a severe imbalance reduces bias but inflates the margin of error, making the final data highly sensitive to the answers of a few heavily-weighted individuals. Understanding whether a dataset used raking, post-stratification, or propensity scores is essential to understanding the limits of its claims.[1][2][7]
How we did this
- Method
- A comparative normalisation of the dimensional limits and sample-size decay rates across the three weighting methodologies when applied to highly fragmented modern survey datasets.
- What we found
- While post-stratification is mathematically ideal for simple demographics, modern survey fragmentation forces a mathematical phase transition: raking and propensity score adjustments become mandatory not because they are inherently more accurate, but because post-stratification mathematically collapses under the 'curse of dimensionality' when cross-tabulated cells inevitably drop to zero respondents.
- What we worked from
- Cell sparsity failure threshold in cross-tabulated post-stratification: 0 respondents per cell — MetricGate
- Convergence capabilities in high-dimensional iterative proportional fitting: Independent marginal looping — CASRAI
- Covariate overlap requirements for stable inverse probability weighting: Measured participation drivers — PMC
- Limits of this analysis
- This analysis evaluates mathematical limits and dimensional scaling, but cannot account for unmeasured confounding variables that none of these weighting methods can fix.
Key terms
- Design Weight
- The base multiplier assigned to a respondent before demographic adjustments, usually calculated as the inverse of their probability of being selected.
- Marginal Distribution
- The total frequency of a single variable (like age) in a population, ignoring its intersection with other variables (like income).
- Inverse Probability Weighting
- A technique that gives higher mathematical importance to respondents who possess traits that made them unlikely to participate in the data collection.
- Non-probability Sample
- A dataset where participants self-select or opt-in, meaning the baseline probability of any specific person being included is unknown.
Viewpoints in depth
Traditional Methodologists
Argue that strict probability sampling combined with post-stratification or raking remains the gold standard for reliable inference.
Traditional survey statisticians maintain that the foundation of reliable data is the probability sample, where every individual has a known chance of selection. From this baseline, post-stratification and raking are viewed as necessary but minor corrections to account for random sampling variance and standard non-response. This camp argues that moving away from probability sampling fundamentally compromises the mathematical guarantees of the data, making it impossible to calculate a true margin of error regardless of how sophisticated the subsequent weighting algorithms are.
Modern Data Scientists
Emphasize that the collapse of response rates requires advanced propensity score modeling and machine learning to salvage opt-in data.
Modern data scientists argue that traditional probability sampling is effectively dead, as single-digit response rates mean all modern surveys are essentially observational data. Therefore, they advocate for embracing non-probability samples and relying on advanced propensity score adjustments and machine learning models to synthesize representativeness. This camp views weighting not as a minor correction, but as the primary mechanism of data generation, arguing that a well-modeled opt-in sample can outperform a poorly executed probability sample.
Data Skeptics
Warn that no mathematical weighting technique can fully correct for unmeasured confounding variables in fundamentally broken samples.
Skeptics within the statistical community caution against the over-reliance on complex weighting schemes, pointing out that algorithms cannot create data that isn't there. They emphasize that propensity score adjustments only work on measured covariates. If a survey sample is heavily skewed by an unmeasured psychological trait—such as a high propensity to trust institutions—no amount of raking or inverse probability weighting on age and income will fix the underlying bias. They warn that extreme weighting often just inflates variance while providing a false sense of precision.
- Traditional Methodologists
- Argue that strict probability sampling combined with post-stratification or raking remains the gold standard for reliable inference.
- Modern Data Scientists
- Emphasize that the collapse of response rates requires advanced propensity score modeling and machine learning to salvage opt-in data.
- Data Skeptics
- Warn that no mathematical weighting technique can fully correct for unmeasured confounding variables in fundamentally broken samples.
Perspectives this story doesn't cover
- Commercial pollsters who rely on proprietary, black-box weighting algorithms
- Policymakers who consume weighted data without understanding the underlying variance
Sources
[1]CASRAITraditional MethodologistsSurvey Weighting: Design Weights, Post-Stratification, and Raking
Read on CASRAI →
[2]LensymData SkepticsSurvey Weighting Explained: Methods, Examples & Pitfalls
Read on Lensym →
[3]MetricGateTraditional MethodologistsPost-Stratification vs Raking Weights
Read on MetricGate →
[4]Survey PracticeModern Data ScientistsPost-stratification or non-response adjustment?
Read on Survey Practice →
[5]r-surveyTraditional MethodologistsPost-stratification and calibration
Read on r-survey →
[6]PMCModern Data ScientistsComparative Effectiveness of Propensity Score Estimation Methods for Inverse Probability of Treatment Weighting Analysis with Complex Survey Data: A Simulation Study
Read on PMC →
[7]Factlen Editorial TeamData SkepticsSynthesis by Factlen editorial team
Read on Factlen Editorial Team →
More in Data & Analysis
See all →Model Evaluation
Evaluating Classification Models: How ROC Curves and AUC Measure Discriminatory Power
6 sources
Cancer Screening
Data From 140,000-Person Trial Paves Way for Single Blood Test to Screen for 50 Cancers
6 sources
Inflation Metrics
BEA Methodology Change Will Retroactively Revise US Inflation Data Back to 2021, Lowering PCE Index
1 sources
Mechanistic AI
Mechanistic Machine Learning Models Uncover Physical Laws, Shifting AI From Pattern Recognition to Active Scientific Discovery
6 sources
Comments
Every angle. Every day.
Get Data & Analysis stories with full source coverage and perspective breakdowns, free every day.




