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. Small-area estimation.

Version: 4.4-2
Depends: R (≥ 4.1.0), grid, methods, Matrix, survival
Imports: stats, graphics, splines, lattice, minqa, numDeriv, mitools (≥ 2.4), Rcpp (≥ 0.12.8)
LinkingTo: Rcpp, RcppArmadillo
Suggests: foreign, MASS, KernSmooth, hexbin, RSQLite, quantreg, parallel, CompQuadForm, DBI, AER, SUMMER (≥ 1.4.0), R.rsp
Published: 2024-03-20
DOI: 10.32614/CRAN.package.survey
Author: Thomas Lumley, Peter Gao, Ben Schneider
Maintainer: "Thomas Lumley" <t.lumley at auckland.ac.nz>
License: GPL-2 | GPL-3
URL: http://r-survey.r-forge.r-project.org/survey/
NeedsCompilation: yes
Citation: survey citation info
Materials: NEWS
In views: OfficialStatistics, Survival
CRAN checks: survey results

Documentation:

Reference manual: survey.pdf
Vignettes: Small area estimation
Estimates in subpopulations
Two-phase designs in epidemiology
Analysing PPS designs
Pre-calibrated weights
Quantile rules
A survey analysis example

Downloads:

Package source: survey_4.4-2.tar.gz
Windows binaries: r-devel: survey_4.4-2.zip, r-release: survey_4.4-2.zip, r-oldrel: survey_4.4-2.zip
macOS binaries: r-release (arm64): survey_4.4-2.tgz, r-oldrel (arm64): survey_4.4-2.tgz, r-release (x86_64): survey_4.4-2.tgz, r-oldrel (x86_64): survey_4.4-2.tgz
Old sources: survey archive

Reverse dependencies:

Reverse depends: CalibrateSSB, cjoint, csurvey, eatRep, ggsurvey, hopit, mapStats, nonprobsvy, pedgene, relaimpo, sae2, samplingbook, spsurvey, StatMatch, svydiags, svylme, svyVGAM
Reverse imports: anthro, apc, APCI, AuxSurvey, calidad, capm, causaldrf, childfree, CMMs, convey, COVIDIBGE, dearseq, DHS.rates, dvmisc, ech, effects, EpiForsk, ergm.ego, FamAgg, GB2, GJRM, glm.predict, GreedyExperimentalDesign, healthequal, httk, ICS, ICtest, idcnrba, iNZightPlots, iNZightTools, IRexamples, jointCalib, jskm, jsmodule, jstable, lboxcox, LLM, mase, MatchThem, MCM, microsynth, mixcure, MixedIndTests, mpitbR, nrba, OmnibusFisher, OVtool, PNADcIBGE, PNDSIBGE, PNSIBGE, poliscidata, povmap, pricesensitivitymeter, RCPA3, RNHANES, robsurvey, SAIGEgds, SAMBA, sampcompR, SBdecomp, SightabilityModel, srvyr, ssfit, StroupGLMM, subsampling, SUMMER, SurveyCC, surveyCV, surveynnet, surveyPrev, surveytable, svrep, svycdiff, SvyNom, svyROC, svyVarSel, svyweight, tab, tableone, twang, twangContinuous, twangMediation
Reverse suggests: anthroplus, apyramid, BIFIEsurvey, broom, broom.helpers, car, cardx, clarify, cpsvote, egor, finalfit, finnsurveytext, GENESIS, ggeffects, ggstats, grattan, gtsummary, hbsae, hutils, inca, inctools, insight, interactions, iNZightRegression, ipw, jtools, kyotil, logmult, marginaleffects, mcmcsae, modelsummary, modi, optimall, optmatch, parameters, performance, PracTools, Qtools, questionr, rbw, rdhs, RDS, RegParallel, rineq, SDaA, SIPDIBGE, sirt, sjPlot, sjstats, sregsurvey, survivalVignettes, tidycensus, vtable
Reverse enhances: margins, prediction, stargazer

Linking:

Please use the canonical form https://CRAN.R-project.org/package=survey to link to this page.