Learn R Programming

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

survey (version 2.8-3)

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

73,193

Version

2.8-3

License

LGPL

Maintainer

Thomas Lumley

Last Published

March 20th, 2024

Functions in survey (2.8-3)

svyglm

Survey-weighted generalised linear models.
svy.varcoef

Sandwich variance estimator for glms
rake

Raking of replicate weight design
postStratify

Post-stratify a survey
brrweights

Compute replicate weights
crowd

Household crowding
svrVar

Compute variance from replicates
hadamard

Hadamard matrices
compressWeights

Compress replicate weight matrix
as.svrepdesign

Convert a survey design to use replicate weights
svycoxph

Survey-weighted generalised linear models.
update.survey.design

Add variables to a survey design
ftable.svystat

Lay out tables of survey statistics
api

Student performance in California schools
svymle

Maximum pseudolikelihood estimation in complex surveys
surveysummary

Summary statistics for sample surveys
nonresponse

Experimental: Construct non-response weights
svydesign

Survey sample analysis.
svyquantile

Quantiles for sample surveys
subset.survey.design

Subset of survey
svrepdesign

Specify survey design with replicate weights
withReplicates

Compute variances by replicate weighting
svyratio

Ratio estimation
svyby

Survey statistics on subsets
svytable

Contingency tables for survey data
weights.survey.design

Survey design weights
svyplot

Plots for survey data
svyCprod

Computations for survey variances
regTermTest

Wald test for a term in a regression model
SE

Extract standard errors
scd

Survival in cardiac arrest
hospital

Sample of obstetric hospitals
fpc

Small survey example