The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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 [issues need fixing before 2025-09-03]

Documentation:

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

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, causaldrf, CMMs, convey, COVIDIBGE, ctablerseh, dearseq, dextergui, DHS.rates, dvmisc, ech, effects, EHRmuse, EpiForsk, ergm.ego, FamAgg, GB2, GJRM, glm.predict, GreedyExperimentalDesign, healthequal, httk, ICS, ICtest, idcnrba, iNZightPlots, iNZightTools, IRexamples, jointCalib, jskm, jsmodule, jstable, lboxcox, LLM, MAPCtools, mase, MatchThem, MCM, microsynth, mixcure, MixedIndTests, mpitbR, nrba, OmnibusFisher, OVtool, PNADcIBGE, PNDSIBGE, PNSIBGE, poliscidata, povmap, pricesensitivitymeter, PSweight, RCPA3, RNHANES, robsurvey, sae.projection, sae4health, SAIGEgds, SAMBA, sampcompR, sate, SBdecomp, SightabilityModel, srvyr, ssfit, StroupGLMM, subsampling, SUMMER, SurveyCC, surveyCV, surveynnet, surveyPrev, surveytable, svrep, svycdiff, svycoxme, SvyNom, svyROC, svyVarSel, svyweight, tab, tableone, twang, twangContinuous, twangMediation
Reverse suggests: anthroplus, apyramid, BIFIEsurvey, broom, broom.helpers, car, cardx, clarify, cpsvote, descriptio, egor, finalfit, finnsurveytext, GENESIS, ggeffects, ggstats, grattan, gtsummary, guideR, hbsae, hutils, inca, inctools, insight, interactions, iNZightRegression, ipw, jtools, kyotil, logmult, marginaleffects, mcmcsae, modelsummary, modi, nhanesA, 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.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.