Other packages > Find by keyword >

survey  

Analysis of Complex Survey Samples
View on CRAN: Click here


Download and install survey package within the R console
Install from CRAN:
install.packages("survey")

Install from Github:
library("remotes")
install_github("cran/survey")

Install by package version:
library("remotes")
install_version("survey", "4.4-8")



Attach the package and use:
library("survey")
Maintained by
"Thomas Lumley"
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2003-01-23
Latest Update: 2025-09-03
Description:
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.
How to cite:
"Thomas Lumley" (2003). survey: Analysis of Complex Survey Samples. R package version 4.4-8, https://cran.r-project.org/web/packages/survey. Accessed 04 Jun. 2026.
Previous versions and publish date:
0.9-1 (2003-01-23 19:05), 0.9-3 (2003-01-29 13:48), 0.9-4 (2003-01-31 12:35), 1.0 (2003-02-04 18:51), 1.1 (2003-02-24 22:17), 1.2 (2003-03-06 18:24), 1.3 (2003-04-04 19:52), 1.4 (2003-05-25 20:21), 1.9-2 (2003-08-15 17:05), 1.9 (2003-07-26 19:12), 2.0 (2003-08-21 20:11), 2.3-2 (2004-05-13 00:12), 2.3 (2004-04-22 18:13), 2.4 (2004-05-19 17:35), 2.5 (2004-06-02 10:40), 2.6-2 (2004-08-12 19:03), 2.6 (2004-07-08 12:34), 2.8-1 (2004-11-07 22:02), 2.8-3 (2004-11-23 10:03), 2.8 (2004-09-25 11:14), 2.9-1 (2005-04-06 09:39), 2.9 (2005-02-25 09:08), 3.0-1 (2005-05-25 13:14), 3.0 (2005-05-09 22:58), 3.1 (2005-06-14 09:46), 3.2-1 (2005-08-25 08:44), 3.2 (2005-07-18 12:59), 3.3-1 (2005-10-11 09:51), 3.3-2 (2005-11-15 09:30), 3.3 (2005-09-10 14:34), 3.4-1 (2006-01-01 22:54), 3.4-2 (2006-02-21 13:41), 3.4-3 (2006-03-17 12:27), 3.4-4 (2006-04-07 10:46), 3.4 (2005-12-11 21:15), 3.5 (2006-05-16 09:33), 3.6-1 (2006-07-13 09:33), 3.6-2 (2006-08-05 09:34), 3.6-3 (2006-09-29 12:32), 3.6-4 (2006-10-04 08:57), 3.6-5 (2006-10-19 19:07), 3.6-6 (2006-12-20 12:43), 3.6-8 (2007-01-21 20:23), 3.6-9 (2007-02-28 15:33), 3.6-10 (2007-04-20 22:07), 3.6-11 (2007-07-09 22:06), 3.6-12 (2007-09-25 20:45), 3.6-13 (2007-10-30 19:57), 3.6 (2006-06-28 09:27), 3.7 (2008-07-28 08:20), 3.8-1 (2008-08-22 13:12), 3.8 (2008-08-09 08:32), 3.9-1 (2008-09-11 11:30), 3.9 (2008-09-09 12:17), 3.10-1 (2009-01-08 18:00), 3.10 (2008-10-28 13:58), 3.11-1 (2009-02-08 11:42), 3.11-2 (2009-02-24 20:39), 3.11 (2009-02-03 21:05), 3.12 (2009-03-22 18:20), 3.13 (2009-03-27 09:11), 3.14 (2009-04-15 09:35), 3.15 (2009-05-18 19:31), 3.16 (2009-06-02 17:43), 3.17 (2009-09-18 22:33), 3.18 (2009-09-22 22:24), 3.19 (2010-01-20 09:00), 3.20 (2010-02-09 21:30), 3.21-1 (2010-03-16 18:07), 3.21-2 (2010-03-19 08:32), 3.21 (2010-03-10 11:21), 3.22-1 (2010-04-16 10:15), 3.22-2 (2010-05-05 10:09), 3.22-3 (2010-08-08 14:41), 3.22-4 (2010-10-13 09:35), 3.22 (2010-04-02 19:10), 3.23-1 (2011-03-03 07:54), 3.23-2 (2011-03-14 09:32), 3.23-3 (2011-03-28 11:47), 3.23 (2011-02-28 10:29), 3.24 (2011-04-15 07:24), 3.25 (2011-08-05 08:15), 3.26-1 (2011-11-15 07:50), 3.26 (2011-10-14 08:42), 3.27 (2012-01-06 07:12), 3.28-1 (2012-05-24 07:29), 3.28-2 (2012-07-03 08:32), 3.28 (2012-02-03 09:37), 3.29-4 (2013-03-11 07:36), 3.29-5 (2013-06-12 17:40), 3.29 (2012-09-26 04:51), 3.30-2 (2014-08-14 09:31), 3.30-3 (2014-08-15 07:26), 3.31-2 (2016-09-23 09:22), 3.31-5 (2016-12-01 21:20), 3.31 (2016-08-05 11:53), 3.32-1 (2017-06-23 00:12), 3.32 (2017-06-07 07:56), 3.33-2 (2018-03-13 01:01), 3.33 (2018-01-23 00:30), 3.34 (2018-10-12 06:40), 3.35-1 (2019-01-29 10:30), 3.35 (2018-12-18 00:10), 3.36 (2019-04-27 07:00), 3.37 (2020-01-21 10:40), 4.0 (2020-04-03 07:20), 4.1-1 (2021-07-19 10:40), 4.2-1 (2023-05-03 10:10), 4.4-1 (2024-03-08 21:40), 4.4-2 (2024-03-20 16:30), 4.4-8 (2025-08-28 06:30)
Other packages that cited survey R package
View survey citation profile
Other R packages that survey depends, imports, suggests or enhances
Complete documentation for survey
Functions, R codes and Examples using the survey R package
Some associated functions: HR . SE . anova.svyglm . api . as.fpc . as.svrepdesign . as.svydesign2 . barplot.svystat . bootweights . brrweights . calibrate . compressWeights . confint.svyglm . crowd . dimnames.DBIsvydesign . election . estweights . fpc . ftable.svystat . hadamard . hospital . make.calfun . marginpred . mu284 . myco . nhanes . nonresponse . oldsvyquantile . open.DBIsvydesign . paley . pchisqsum . poisson_sampling . postStratify . psrsq . rake . regTermTest . salamander . scd . stratsample . subset.survey.design . surveyoptions . surveysummary . svrVar . svrepdesign . svy.varcoef . svyCprod . svyby . svycdf . svychisq . svyciprop . svycontrast . svycoplot . svycoxph . svycralpha . svydesign . svyfactanal . svyglm . svygofchisq . svyhist . svyivreg . svykappa . svykm . svyloglin . svylogrank . svymle . svynls . svyolr . svyplot . svyprcomp . svypredmeans . svyqqplot . svyquantile . svyranktest . svyratio . svyrecvar . svyscoretest . svysmooth . svystandardize . svysurvreg . svyttest . trimWeights . twophase . update.survey.design . weights.survey.design . with.svyimputationList . withPV.survey.design . withReplicates . xdesign . yrbs . 
Some associated R codes: DBI.R . anova.svyglm.R . bootstrap.R . chisqsum.R . compressweights.R . confint.R . count.R . dAIC.R . dbiupdate.R . ftable.svystat.R . gofchisq.R . grake.R . greg.R . ht.R . loglin.R . logrank.R . margins.R . mrb.R . mse.R . multistage.R . multivariate.R . naa.R . newsvyquantile.R . olr.R . pFsum.R . paley.R . pps.R . qrule.R . recalibrate.R . regtest.R . rsquared.R . score.R . stdize.R . stratsample.R . survey.R . surveyby.R . surveychisq.R . surveygraph.R . surveyrep.R . svycdf.R . svycralpha.R . svyhist.R . svyivreg.R . svykappa.R . svykm.R . svymi.R . svynls.R . svypredmeans.R . svyqq.R . svyquantile.R . svyranktest.R . svysmooth.R . svysurvreg.R . svyttest.R . transform.R . twophase.R . twophase2.R . weightconstruction.R . withPV.R . xdesign.R .  Full survey package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA