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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("survey")

4.5 by Thomas Lumley, 8 months ago


http://r-survey.r-forge.r-project.org/survey/


Browse source code at https://github.com/cran/survey


Authors: "Thomas Lumley" [cre] , Peter Gao [aut] , Ben Schneider [aut] , Stas Kolenkikov [aut]


Documentation:   PDF Manual  


GPL-2 | GPL-3 license


Imports stats, graphics, splines, lattice, minqa, numDeriv, mitools, Rcpp

Depends on grid, methods, Matrix, survival

Suggests foreign, MASS, KernSmooth, hexbin, RSQLite, quantreg, parallel, CompQuadForm, DBI, AER, SUMMER, R.rsp, knitr, testthat

Linking to Rcpp, RcppArmadillo


Imported by APCI, AuxSurvey, CMMs, COVIDIBGE, DHS.rates, EHRmuse, EpiForsk, GB2, GJRM, ICEHmeasures, ICS, ICtest, IRexamples, MAPCtools, MCM, MatchThem, MixedIndTests, OVtool, PNADcIBGE, PNSIBGE, PSweight, R4VN, RCPA3, SAMBA, SBdecomp, SUMMER, SightabilityModel, StroupGLMM, SurveyCC, SurveyNCD, SvyNom, anthro, auxvecLASSO, calidad, causaldrf, citcdf, complexr, convey, ctablerseh, dcortools, dextergui, dosr, effects, ergm.ego, fonctionr, ggstratify, glm.predict, hatsurvey, healthequal, httk, iNZightTools, idcnrba, jointCalib, jskm, jsmodule, jstable, lapop, mapnhanespa, mase, mcmsector, metasurvey, microsynth, mixcure, modgo, mpitbR, nonprobsampling, nrba, poliscidata, pricesensitivitymeter, robsurvey, rwetools, sae.projection, sae4health, saeproj.multilevel, sampcompR, sate, scf, senseweight, srvyr, ssfit, statAfrikR, stepssurvey, subsampling, surveyCV, surveytable, surveyverse, svyCausalGLM, svyROC, svySE, svyVarSel, svycdiff, svycoxme, svymargins, svytest, svyweight, tab, tableone, tabxplor, tidycreel, twang, twangContinuous, twangMediation, waou.

Depended on by CalibrateSSB, StatMatch, cjoint, csurvey, eatRep, ggsurvey, hopit, lboxcox, mapStats, nonprobsvy, pedgene, relaimpo, sae2, samplingbook, spsurvey, surveyPrev, svrep, svyVGAM, svydiags, svylme.

Suggested by BIFIEsurvey, HawaSpatial, NMAR, PracTools, Qtools, RDS, SDaA, SIPDIBGE, WFC, adrftools, anthroplus, apyramid, brfssdata, broom, broom.helpers, car, cardx, clarify, cpsvote, descriptio, egor, finalfit, finnsurveytext, foresty, ggeffects, ggstats, grattan, gtsummary, guideR, halfmoon, hbsae, healthbR, heteroTests, hutils, ihsMW, inca, inctools, insight, interactions, ipw, jtools, kyotil, labelled, logmult, marginaleffects, mariposa, mcmcsae, modelsummary, modi, mpindex, nhanesA, nhanesR, optimall, optmatch, parameters, performance, prLogistic, prodlim, psAve, questionr, rbw, rdhs, rineq, saros, sirt, sitrep, sjPlot, sjstats, spicy, splineplot, sregsurvey, sumExtras, survinger, survivalVignettes, table1, tidycensus, vtable, weightflow.

Enhanced by margins, prediction, stargazer.


See at CRAN