RDocumentation
Moon
Search all packages and functions
Readme not available 😞
Copy Link
Copy
Link to current version
Version
Version
4.1-1
4.0
3.37
3.36
3.35-1
3.35
3.34
3.33-2
3.33
3.32-1
3.32
3.31-5
3.31-2
3.31
3.30-3
3.30-2
3.29-5
3.29-4
3.28-2
3.28-1
3.27
3.26-1
3.25
3.24
3.23-3
3.23-2
3.23-1
3.22-4
3.22-3
3.22-2
3.22-1
3.21-2
3.21-1
3.20
3.19
3.18
3.17
3.16
3.15
3.14
3.13
3.12
3.11-2
3.11-1
3.10-1
3.9-1
3.8-1
3.7
3.6-13
3.6-12
3.6-11
3.6-10
3.6-9
3.6-8
3.6-6
3.6-5
3.6-4
3.6-3
3.6-2
3.6-1
3.5
3.4-4
3.4-3
3.4-2
3.4-1
3.3-2
3.3-1
3.2-1
3.1
3.0-1
2.9-1
2.8-3
2.8-1
2.6-2
2.5
2.4
2.3-2
2.0
1.9-2
1.4
1.3
1.2
1.1
1.0
0.9-4
0.9-3
0.9-1
Down Chevron
Install
install.packages('survey')
Monthly Downloads
74,163
Version
4.1-1
License
GPL-2 | GPL-3
Maintainer
Thomas Lumley
Last Published
July 19th, 2021
Functions in survey (4.1-1)
Search functions
api
Student performance in California schools
SE
Extract standard errors
brrweights
Compute replicate weights
as.svydesign2
Update to the new survey design format
as.fpc
Package sample and population size data
barplot.svystat
Barplots and Dotplots
bootweights
Compute survey bootstrap weights
HR
Wrappers for specifying PPS designs
as.svrepdesign
Convert a survey design to use replicate weights
anova.svyglm
Model comparison for glms.
fpc
Small survey example
dimnames.DBIsvydesign
Dimensions of survey designs
estweights
Estimated weights for missing data
ftable.svystat
Lay out tables of survey statistics
hadamard
Hadamard matrices
open.DBIsvydesign
Open and close DBI connections
compressWeights
Compress replicate weight matrix
calibrate
Calibration (GREG) estimators
oldsvyquantile
Deprecated implementation of quantiles
crowd
Household crowding
nhanes
Cholesterol data from a US survey
marginpred
Standardised predictions (predictive margins) for regression models.
confint.svyglm
Confidence intervals for regression parameters
nonresponse
Experimental: Construct non-response weights
paley
Paley-type Hadamard matrices
pchisqsum
Distribution of quadratic forms
mu284
Two-stage sample from MU284
hospital
Sample of obstetric hospitals
stratsample
Take a stratified sample
rake
Raking of replicate weight design
make.calfun
Calibration metrics
psrsq
Pseudo-Rsquareds
poisson_sampling
Specify Poisson sampling design
election
US 2004 presidential election data at state or county level
surveyoptions
Options for the survey package
regTermTest
Wald test for a term in a regression model
subset.survey.design
Subset of survey
postStratify
Post-stratify a survey
scd
Survival in cardiac arrest
surveysummary
Summary statistics for sample surveys
svyciprop
Confidence intervals for proportions
svytable
Contingency tables for survey data
svyby
Survey statistics on subsets
svycdf
Cumulative Distribution Function
svycoplot
Conditioning plots of survey data
svycontrast
Linear and nonlinearconstrasts of survey statistics
svy.varcoef
Sandwich variance estimator for glms
svyCprod
Computations for survey variances
svykm
Estimate survival function.
svykappa
Cohen's kappa for agreement
svrVar
Compute variance from replicates
svrepdesign
Specify survey design with replicate weights
svycoxph
Survey-weighted Cox models.
svygofchisq
Test of fit to known probabilities
svyfactanal
Factor analysis in complex surveys (experimental).
svydesign
Survey sample analysis.
svyglm
Survey-weighted generalised linear models.
svycralpha
Cronbach's alpha
svyqqplot
Quantile-quantile plots for survey data
svyivreg
Two-stage least-squares for instrumental variable regression
svyhist
Histograms and boxplots
svypredmeans
Predictive marginal means
svyprcomp
Sampling-weighted principal component analysis
svyloglin
Loglinear models
svylogrank
Compare survival distributions
newsvyquantile
Quantiles under complex sampling.
svynls
Probability-weighted nonlinear least squares
svymle
Maximum pseudolikelihood estimation in complex surveys
svyttest
Design-based t-test
trimWeights
Trim sampling weights
svysmooth
Scatterplot smoothing and density estimation
svyrecvar
Variance estimation for multistage surveys
twophase
Two-phase designs
update.survey.design
Add variables to a survey design
yrbs
One variable from the Youth Risk Behaviors Survey, 2015.
svysurvreg
Fit accelerated failure models to survey data
svyolr
Proportional odds and related models
svystandardize
Direct standardization within domains
weights.survey.design
Survey design weights
svyplot
Plots for survey data
withReplicates
Compute variances by replicate weighting
svyratio
Ratio estimation
svyranktest
Design-based rank tests
withPV.survey.design
Analyse plausible values in surveys
with.svyimputationList
Analyse multiple imputations