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 subsampling designs. Graphics. PPS sampling without replacement. Principal components, factor analysis.

Version: 3.30-3
Depends: R (≥ 2.14.0), grid
Suggests: foreign, survival, MASS, splines, KernSmooth, hexbin, mitools, lattice, RSQLite, RODBC, quantreg, Matrix, parallel, CompQuadForm
Published: 2014-08-15
Author: Thomas Lumley
Maintainer: "Thomas Lumley" <t.lumley at>
License: GPL-2 | GPL-3
NeedsCompilation: no
Citation: survey citation info
Materials: NEWS
In views: OfficialStatistics, SocialSciences, Survival
CRAN checks: survey results


Reference manual: survey.pdf
Vignettes: Estimates in subpopulations
Two-phase designs in epidemiology
Obsolete formulas for two-phase variances
Analysing PPS designs
A survey analysis example
Package source: survey_3.30-3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Snow Leopard binaries: r-release: survey_3.30-3.tgz, r-oldrel: survey_3.30-3.tgz
OS X Mavericks binaries: r-release: survey_3.30-3.tgz
Old sources: survey archive

Reverse dependencies:

Reverse depends: cjoint, ICS, lavaan.survey, mapStats, MOJOV, odfWeave.survey, pedgene, relaimpo, samplingbook, sptm, ssfit, StatMatch, svyPVpack, twang, VIMGUI
Reverse imports: capm, EffectLiteR, GB2, rareGE, SemiParBIVProbit, sirt, SvyNom, tab, tableone
Reverse suggests: BIFIEsurvey, car, ipw, logmult, PracTools, RDS, SDaA, Zelig
Reverse enhances: stargazer, texreg