survey: Analysis of Complex Survey Samples

Summary statistics, two-sample tests, rank tests, generalised linear models, cumulative link models, Cox models, loglinear models, and general maximum pseudolikelihood estimation for multistage stratified, cluster-sampled, unequally weighted survey samples. Variances by Taylor series linearisation or replicate weights. Post-stratification, calibration, and raking. Two-phase and multiphase subsampling designs. Graphics. PPS sampling without replacement. Small-area estimation. Dual-frame designs.

Package details

Author"Thomas Lumley" [cre], Peter Gao [aut], Ben Schneider [aut], Stas Kolenkikov [aut]
Maintainer"Thomas Lumley" <t.lumley@auckland.ac.nz>
LicenseGPL-2 | GPL-3
Version4.5
URL http://r-survey.r-forge.r-project.org/survey/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("survey")

Try the survey package in your browser

Any scripts or data that you put into this service are public.

survey documentation built on Feb. 24, 2026, 5:10 p.m.