Survey weights
Large surveys rarely give everyone an equal chance of selection. They oversample small groups to get enough of them, or sample some regions more heavily. Weights undo those imbalances so the results describe the population the survey was designed to represent.
What a weight means
If a school was selected with probability 1 in 30, its weight is 30: it represents itself and 29 schools like it. Weights can also adjust for non-response and match known population totals (post-stratification).
Worked example: California schools
R’s survey::apistrat data are a stratified sample of 200 California schools from a population of about 6,200. The sample has 100 elementary, 50 middle and 50 high schools, but in the population elementary schools are far more common.
| School type | Unweighted share | Weighted share (95% CI) |
|---|---|---|
| Elementary | 50% | 71% [66%, 77%] |
| Middle | 25% | 16% [12%, 21%] |
| High | 25% | 12% [9%, 16%] |
Unweighted figures would badly misdescribe the population. Weighting restores the true mix.
A weighted regression
Predicting a school’s academic performance score (API) from the percentage of students on free meals, the percentage of English-language learners, and school type, with design-based standard errors:
- Overall Wald test: F(4, 195) = 171.41, p < .001.
- Free meals: b = −3.43 points per percentage point, p < .001.
- English learners: b = −0.56, p = .109. No evidence of an additional association once meals are accounted for.
- School type (vs elementary): high schools −128.3 and middle schools −60.5 points, both p < .001.
These estimates and the Wald test match R’s survey package in Analytika’s test suite.
APA write-up
Using survey weights and design-based standard errors, school performance was negatively associated with the percentage of students receiving free meals, b = −3.43, p < .001, controlling for English-learner percentage and school type, overall F(4, 195) = 171.41, p < .001.
Good practice
- Use the weights supplied with the survey, and read its documentation on which weight to use.
- Account for the full design (strata, clusters) when it’s available. It affects standard errors.
- Don’t treat weights as frequency counts. That shrinks standard errors wrongly.
- Report that analyses were weighted, and how.
See also population vs sample and the weighted mean.
References
- Lumley, T. (2004). Analysis of complex survey samples. Journal of Statistical Software, 9(8), 1–19.
More in Advanced methods
Run this on your own data
Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.