Learn R Programming

⚠️There's a newer version (4.4-2) of this package.Take me there.

survey (version 2.8-1)

analysis of complex survey samples

Description

Summary statistics, generalised linear models, and general maximum pseudolikelihood estimation for stratified, cluster-sampled, unequally weighted survey samples. Variances by Taylor series linearisation or replicate weights. Post-stratification and raking.

Copy Link

Version

Install

install.packages('survey')

Monthly Downloads

77,056

Version

2.8-1

License

LGPL

Maintainer

Thomas Lumley

Last Published

March 20th, 2024

Functions in survey (2.8-1)

svyCprod

Computations for survey variances
svymle

Maximum pseudolikelihood estimation in complex surveys
surveysummary

Summary statistics for sample surveys
subset.survey.design

Subset of survey
svrepdesign

Specify survey design with replicate weights
withReplicates

Compute variances by replicate weighting
svyglm

Survey-weighted generalised linear models.
svydesign

Survey sample analysis.
regTermTest

Wald test for a term in a regression model
svytable

Contingency tables for survey data
brrweights

Compute replicate weights
ftable.svystat

Lay out tables of survey statistics
hadamard

Hadamard matrices
svycoxph

Survey-weighted generalised linear models.
as.svrepdesign

Convert a survey design to use replicate weights
svy.varcoef

Sandwich variance estimator for glms
crowd

Household crowding
svrVar

Compute variance from replicates
postStratify

Post-stratify a survey
compressWeights

Compress replicate weight matrix
update.survey.design

Add variables to a survey design
rake

Raking of replicate weight design
SE

Extract standard errors
svyplot

Plots for survey data
nonresponse

Experimental: Construct non-response weights
svyratio

Ratio estimation
weights.survey.design

Survey design weights
api

Student performance in California schools
svyquantile

Quantiles for sample surveys
svyby

Survey statistics on subsets
fpc

Small survey example
scd

Survival in cardiac arrest
hospital

Sample of obstetric hospitals