Summary statistics, two-sample tests, rank tests, generalised linear models, cumulative link models, Cox models, loglinear models, and general maximum pseudolikelihood estimation for multistage stratified, cluster-sampled, unequally weighted survey samples. Variances by Taylor series linearisation or replicate weights. Post-stratification, calibration, and raking. Two-phase subsampling designs. Graphics. PPS sampling without replacement. Principal components, factor analysis.

Author | Thomas Lumley |

Date of publication | 2016-12-08 02:19:11 |

Maintainer | "Thomas Lumley" <t.lumley@auckland.ac.nz> |

License | GPL-2 | GPL-3 |

Version | 3.31-7 |

http://r-survey.r-forge.r-project.org/survey/ |

**anova.svyglm:** Model comparison for glms.

**api:** Student performance in California schools

**as.fpc:** Package sample and population size data

**as.svrepdesign:** Convert a survey design to use replicate weights

**as.svydesign2:** Update to the new survey design format

**barplot.svystat:** Barplots and Dotplots

**bootweights:** Compute survey bootstrap weights

**brrweights:** Compute replicate weights

**calibrate:** Calibration (GREG) estimators

**compressWeights:** Compress replicate weight matrix

**confint.svyglm:** Confidence intervals for regression parameters

**crowd:** Household crowding

**dimnames.DBIsvydesign:** Dimensions of survey designs

**election:** US 2004 presidential election data at state or county level

**estweights:** Estimated weights for missing data

**fpc:** Small survey example

**ftable.svystat:** Lay out tables of survey statistics

**hadamard:** Hadamard matrices

**hospital:** Sample of obstetric hospitals

**HR:** Wrappers for specifying PPS designs

**make.calfun:** Calibration metrics

**marginpred:** Standardised predictions (predictive margins) for regression...

**mu284:** Two-stage sample from MU284

**nhanes:** Cholesterol data from a US survey

**nonresponse:** Experimental: Construct non-response weights

**open.DBIsvydesign:** Open and close DBI connections

**paley:** Paley-type Hadamard matrices

**pchisqsum:** Distribution of quadratic forms

**postStratify:** Post-stratify a survey

**rake:** Raking of replicate weight design

**regTermTest:** Wald test for a term in a regression model

**scd:** Survival in cardiac arrest

**SE:** Extract standard errors

**stratsample:** Take a stratified sample

**subset.survey.design:** Subset of survey

**surveyoptions:** Options for the survey package

**surveysummary:** Summary statistics for sample surveys

**svrepdesign:** Specify survey design with replicate weights

**svrVar:** Compute variance from replicates

**svyby:** Survey statistics on subsets

**svycdf:** Cumulative Distribution Function

**svychisq:** Contingency tables for survey data

**svyciprop:** Confidence intervals for proportions

**svycontrast:** Linear and nonlinearconstrasts of survey statistics

**svycoplot:** Conditioning plots of survey data

**svycoxph:** Survey-weighted Cox models.

**svyCprod:** Computations for survey variances

**svydesign:** Survey sample analysis.

**svyfactanal:** Factor analysis in complex surveys (experimental).

**svyglm:** Survey-weighted generalised linear models.

**svyhist:** Histograms and boxplots

**svykappa:** Cohen's kappa for agreement

**svykm:** Estimate survival function.

**svyloglin:** Loglinear models

**svylogrank:** Compare survival distributions

**svymle:** Maximum pseudolikelihood estimation in complex surveys

**svyolr:** Proportional odds and related models

**svyplot:** Plots for survey data

**svyprcomp:** Sampling-weighted principal component analysis

**svypredmeans:** Predictive marginal means

**svyquantile:** Quantiles for sample surveys

**svyranktest:** Design-based rank tests

**svyratio:** Ratio estimation

**svyrecvar:** Variance estimation for multistage surveys

**svysmooth:** Scatterplot smoothing and density estimation

**svystandardize:** Direct standardization within domains

**svyttest:** Design-based t-test

**svy.varcoef:** Sandwich variance estimator for glms

**trimWeights:** Trim sampling weights

**twophase:** Two-phase designs

**update.survey.design:** Add variables to a survey design

**weights.survey.design:** Survey design weights

**withReplicates:** Compute variances by replicate weighting

**with.svyimputationList:** Analyse multiple imputations

**yrbs:** One variable from the Youth Risk Behaviors Survey, 2015.

survey/DESCRIPTION

survey/INDEX

survey/NAMESPACE

survey/R

survey/R/DBI.R
survey/R/anova.svyglm.R
survey/R/bootstrap.R
survey/R/chisqsum.R
survey/R/compressweights.R
survey/R/confint.R
survey/R/count.R
survey/R/dbiupdate.R
survey/R/ftable.svystat.R
survey/R/grake.R
survey/R/greg.R
survey/R/ht.R
survey/R/loglin.R
survey/R/logrank.R
survey/R/margins.R
survey/R/mrb.R
survey/R/mse.R
survey/R/multistage.R
survey/R/multivariate.R
survey/R/odbc.R
survey/R/olr.R
survey/R/pFsum.R
survey/R/paley.R
survey/R/pps.R
survey/R/regtest.R
survey/R/stdize.R
survey/R/stratsample.R
survey/R/survey.R
survey/R/surveyby.R
survey/R/surveychisq.R
survey/R/surveygraph.R
survey/R/surveyrep.R
survey/R/svycdf.R
survey/R/svyhist.R
survey/R/svykappa.R
survey/R/svykm.R
survey/R/svymi.R
survey/R/svypredmeans.R
survey/R/svyranktest.R
survey/R/svysmooth.R
survey/R/svyttest.R
survey/R/sysdata.rda

survey/R/transform.R
survey/R/twophase.R
survey/R/twophase2.R
survey/R/weightconstruction.R
survey/THANKS

survey/TODO

survey/build

survey/build/vignette.rds

survey/data

survey/data/api.rda

survey/data/crowd.rda

survey/data/election.rda

survey/data/fpc.rda

survey/data/hospital.rda

survey/data/mu284.rda

survey/data/nhanes.rda

survey/data/scd.rda

survey/data/yrbs.rda

survey/inst

survey/inst/BUGS

survey/inst/CITATION

survey/inst/COPYING

survey/inst/NEWS

survey/inst/api.db

survey/inst/disclaimer

survey/inst/doc

survey/inst/doc/domain.R

survey/inst/doc/domain.Rnw

survey/inst/doc/domain.pdf

survey/inst/doc/epi.R

survey/inst/doc/epi.Rnw

survey/inst/doc/epi.pdf

survey/inst/doc/nwtco-subcohort.rda

survey/inst/doc/nwts.rda

survey/inst/doc/phase1.R

survey/inst/doc/phase1.Rnw

survey/inst/doc/phase1.pdf

survey/inst/doc/pps.R

survey/inst/doc/pps.Rnw

survey/inst/doc/pps.pdf

survey/inst/doc/survey.R

survey/inst/doc/survey.Rnw

survey/inst/doc/survey.pdf

survey/inst/porting.to.S

survey/inst/twostage.pdf

survey/inst/ucla-examples.pdf

survey/man

survey/man/HR.Rd
survey/man/SE.Rd
survey/man/anova.svyglm.Rd
survey/man/api.Rd
survey/man/as.fpc.Rd
survey/man/as.svrepdesign.Rd
survey/man/as.svydesign2.Rd
survey/man/barplot.svystat.Rd
survey/man/bootweights.Rd
survey/man/brrweights.Rd
survey/man/calibrate.Rd
survey/man/compressWeights.Rd
survey/man/confint.svyglm.Rd
survey/man/crowd.Rd
survey/man/dimnames.DBIsvydesign.Rd
survey/man/election.Rd
survey/man/estweights.Rd
survey/man/fpc.Rd
survey/man/ftable.svystat.Rd
survey/man/hadamard.Rd
survey/man/hospital.Rd
survey/man/make.calfun.Rd
survey/man/marginpred.Rd
survey/man/mu284.Rd
survey/man/nhanes.Rd
survey/man/nonresponse.Rd
survey/man/open.DBIsvydesign.Rd
survey/man/paley.Rd
survey/man/pchisqsum.Rd
survey/man/postStratify.Rd
survey/man/rake.Rd
survey/man/regTermTest.Rd
survey/man/scd.Rd
survey/man/stratsample.Rd
survey/man/subset.survey.design.Rd
survey/man/surveyoptions.Rd
survey/man/surveysummary.Rd
survey/man/svrVar.Rd
survey/man/svrepdesign.Rd
survey/man/svy.varcoef.Rd
survey/man/svyCprod.Rd
survey/man/svyby.Rd
survey/man/svycdf.Rd
survey/man/svychisq.Rd
survey/man/svyciprop.Rd
survey/man/svycontrast.Rd
survey/man/svycoplot.Rd
survey/man/svycoxph.Rd
survey/man/svydesign.Rd
survey/man/svyfactanal.Rd
survey/man/svyglm.Rd
survey/man/svyhist.Rd
survey/man/svykappa.Rd
survey/man/svykm.Rd
survey/man/svyloglin.Rd
survey/man/svylogrank.Rd
survey/man/svymle.Rd
survey/man/svyolr.Rd
survey/man/svyplot.Rd
survey/man/svyprcomp.Rd
survey/man/svypredmeans.Rd
survey/man/svyquantile.Rd
survey/man/svyranktest.Rd
survey/man/svyratio.Rd
survey/man/svyrecvar.Rd
survey/man/svysmooth.Rd
survey/man/svystandardize.Rd
survey/man/svyttest.Rd
survey/man/trimWeights.Rd
survey/man/twophase.Rd
survey/man/update.survey.design.Rd
survey/man/weights.survey.design.Rd
survey/man/with.svyimputationList.Rd
survey/man/withReplicates.Rd
survey/man/yrbs.Rd
survey/tests

survey/tests/DBIcheck.R

survey/tests/DBIcheck.Rout.save

survey/tests/README

survey/tests/api.R

survey/tests/api.Rout.save

survey/tests/badcal.R

survey/tests/badcal.Rout.save

survey/tests/bycovmat.R

survey/tests/bycovmat.Rout.save

survey/tests/caleg.R

survey/tests/caleg.Rout.save

survey/tests/check.R

survey/tests/check.Rout.save

survey/tests/deff.R

survey/tests/deff.Rout.save

survey/tests/domain.R

survey/tests/domain.Rout.save

survey/tests/fpc.R

survey/tests/fpc.Rout.save

survey/tests/kalton.R

survey/tests/kalton.Rout.save

survey/tests/lonely.psu.R

survey/tests/lonely.psu.Rout.save

survey/tests/multistage.R

survey/tests/multistage.Rout.save

survey/tests/nwtco-subcohort.rda

survey/tests/nwts-cch.R

survey/tests/nwts-cch.Rout.save

survey/tests/nwts.R

survey/tests/nwts.Rout.save

survey/tests/nwts.rda

survey/tests/pps.R

survey/tests/pps.Rout.save

survey/tests/quantile.R

survey/tests/quantile.Rout.save

survey/tests/rakecheck.R

survey/tests/rakecheck.Rout.save

survey/tests/raowuboot.R

survey/tests/raowuboot.Rout.save

survey/tests/regpredict.R

survey/tests/regpredict.Rout.save

survey/tests/scoping.R

survey/tests/scoping.Rout.save

survey/tests/survcurve.R

survey/tests/survcurve.Rout.save

survey/tests/twophase.R

survey/tests/twophase.Rout.save

survey/vignettes

survey/vignettes/domain.Rnw

survey/vignettes/epi.Rnw

survey/vignettes/phase1.Rnw

survey/vignettes/pps.Rnw

survey/vignettes/survey.Rnw

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.