Learn R Programming

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

survey (version 2.5)

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

Copy Link

Version

Install

install.packages('survey')

Monthly Downloads

77,056

Version

2.5

License

LGPL

Maintainer

Thomas Lumley

Last Published

March 20th, 2024

Functions in survey (2.5)

subset.survey.design

Subset of survey
svyratio

Ratio estimation
as.svrepdesign

Convert a survey design to use replicate weights
brrweights

Compute replicate weights
svymle

Maximum pseudolikelihood estimation in complex surveys
svrVar

Compute variance from replicates
svyquantile

Quantiles for sample surveys
svytable

Contingency tables for survey data
postStratify

Post-stratify a replicate weight survey
svyCprod

Computations for survey variances
svycoxph

Survey-weighted generalised linear models.
svyby

Survey statistics on subsets
svrepdesign

Specify survey design with replicate weights
api

Student performance in California schools
svyglm

Survey-weighted generalised linear models.
svy.varcoef

Sandwich variance estimator for glms
svyplot

Plots for survey data
rake

Raking of survey design
weights.survey.design

Survey design weights
update.survey.design

Add variables to a survey design
regTermTest

Wald test for a term in a regression model
svydesign

Survey sample analysis.
surveysummary

Summary statistics for sample surveys
hadamard

Hadamard matrices
withReplicates

Compute variances by replicate weighting
scd

Survival in cardiac arrest
hospital

Sample of obstetric hospitals
fpc

Small survey example