Learn R Programming

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

survey (version 2.4)

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

75,808

Version

2.4

License

LGPL

Maintainer

Thomas Lumley

Last Published

March 20th, 2024

Functions in survey (2.4)

svyratio

Ratio estimation
svyCprod

Computations for survey variances
subset.survey.design

Subset of survey
withReplicates

Compute variances by replicate weighting
svy.varcoef

Sandwich variance estimator for glms
svyquantile

Quantiles for sample surveys
svydesign

Survey sample analysis.
svytable

Contingency tables for survey data
regTermTest

Wald test for a term in a regression model
svyglm

Survey-weighted generalised linear models.
postStratify

Post-stratify a replicate weight survey
rake

Raking of survey design
weights.survey.design

Survey design weights
surveysummary

Summary statistics for sample surveys
svrepdesign

Specify survey design with replicate weights
as.svrepdesign

Convert a survey design to use replicate weights
svymle

Maximum pseudolikelihood estimation in complex surveys
api

Student performance in California schools
svrVar

Compute variance from replicates
update.survey.design

Add variables to a survey design
svycoxph

Survey-weighted generalised linear models.
hadamard

Hadamard matrices
brrweights

Compute replicate weights
svyby

Survey statistics on subsets
fpc

Small survey example
scd

Survival in cardiac arrest
hospital

Sample of obstetric hospitals