A survey might first divide a country into geographic strata, then sample communities within each stratum, and finally sample residents within those communities. To generalize the results to the population, the analysis needs to account for respondents’ chances of selection, the strata in which sampling took place, and the sampling units they share.[1]
Design-based inference treats the values in a finite population as fixed and the sampling process as the source of randomness. It asks how an estimate would vary if samples were repeatedly drawn under the same design. Stratification, clustering and weights describe different parts of that process, so each must be carried into the analysis.[1]
What each piece of design information does
Stratification divides the population into nonoverlapping groups before sampling, with samples drawn within each group. A survey might, for example, sample communities separately in urban and rural strata. When units within strata are relatively similar on the outcome of interest, stratification often improves precision for a given sample size. Variance estimation retains the strata, compares sampled primary sampling units within them, and combines their contributions.[1]
Cluster sampling selects groups and then surveys all or some units within them. If communities are selected first and residents sampled within them, a community is a first-stage primary sampling unit, or PSU. Residents of the same community may have similar answers, so additional respondents in one community often supply less information than the same number spread across independent communities. Positive within-cluster correlation generally reduces precision for a given sample size, although concentrated fieldwork can reduce survey costs.[1]
A sampling weight expresses the population representation assigned to a sampled unit. If its inclusion probability is π, its basic weight is typically 1/π: a person with a smaller chance of selection represents more people in a population estimate. A survey’s final weights may also include nonresponse adjustments, post-stratification or calibration, so they are not necessarily simple inverses of selection probabilities. Use the weight intended for the target population and analysis variables.[1]
Consider an illustrative population with 8,000 people in stratum A and 2,000 in stratum B. Draw 100 people by equal-probability sampling independently within each stratum, and suppose everyone responds. The basic weights are 80 in A and 20 in B. If 50% of the A sample and 20% of the B sample have a characteristic, the estimated population proportion is 0.8 × 50% + 0.2 × 20% = 44%. Simply averaging the two sample proportions gives 35%. The uncertainty around the estimate must still be calculated using the sampling design.
From weighted estimates to standard errors
Weights determine observations’ contributions to a population estimate; standard errors must also reflect the sampling structure. Entering survey weights into the weight argument of an ordinary regression does not automatically produce standard errors that account for strata and clusters. Survey weights represent selection and population representation, whereas ordinary regression weights can have a different meaning. Means, proportions and regression coefficients need estimation and variance methods that handle the survey design.[1]
Two common routes estimate that variance. Taylor linearization approximates the variation of a statistic, such as a mean, proportion or regression coefficient, by the variation of a quantity whose variance can be estimated under the design. It uses differences among PSUs within strata. Replicate-weight methods instead recompute the statistic using each set of weights constructed for the survey, then combine the resulting differences using the replication scheme’s prescribed scaling and center.[1]
The design effect compares the variance of an estimate under the actual design with the variance of the corresponding estimate under simple random sampling of the same size. A ratio above 1 means the actual design has greater variance; a ratio below 1 means less. This comparison belongs to a particular outcome and estimator: stratification, clustering and weighting act together, so sample size or a single design feature cannot determine it alone.[1]
Bring the design into the analysis
Start by defining the target population and the quantity to estimate. Then assemble the survey design information: sampling units at each stage, stratum identifiers, the applicable final weight, and any supplied replicate weights or finite population correction. Connect these details to the survey data before estimating a mean or proportion or fitting a regression.[1][2]
A finite population correction reflects the reduction in sampling variance when a substantial fraction of a finite population is sampled. It uses the population number of sampling units or the sampling fraction at the relevant stage. If the first stage samples communities, for example, the relevant count is the number of communities in the stratum, rather than the number of residents. Supply this information when it is known and applicable.[2]
For example, in R’s survey package, suppose data frame d contains PSU identifiers in psu, strata in stratum and the applicable weights in w. Declare the design and then estimate the population mean of y:[2]
library(survey)
des <- svydesign(ids = ~psu, strata = ~stratum,
weights = ~w, data = d)
svymean(~y, design = des)
The declaration must match the survey. With no clusters, ids can be ~1; for multistage sampling, identifiers can be specified from the largest stage to the smallest. If PSU identifiers are reused across strata, nest = TRUE relabels them within strata. A known and applicable finite population correction can be supplied for the relevant stage.[2]
For a subpopulation, such as adults, first construct the full survey design and then select the domain through the design object. This preserves design information for variance estimation. Deleting other people from the raw data first can discard information about the domain’s sampling structure across strata and PSUs.[1][2]
Alongside the estimate and confidence interval, report the target population, weight, strata and PSU information, and whether the standard error used linearization or a specified replicate-weight scheme. These details show whom the estimate represents and how its uncertainty reflects the sampling design.
References
-
Lumley T. Analysis of Complex Survey Samples. Journal of Statistical Software. 2004;9(8):1–19. https://doi.org/10.18637/jss.v009.i08
-
Lumley T. Survey sample analysis: svydesign. survey package documentation. https://r-survey.r-forge.r-project.org/pkgdown/docs/reference/svydesign.html