Provides tools for creating and working with survey replicate weights, extending functionality of the 'survey' package from Lumley (2004) <doi:10.18637/jss.v009.i08>. Implements bootstrap methods for complex surveys, including the generalized survey bootstrap as described by Beaumont and Patak (2012) <doi:10.1111/j.1751-5823.2011.00166.x>. Methods are provided for applying nonresponse adjustments to both full-sample and replicate weights as described by Rust and Rao (1996) <doi:10.1177/096228029600500305>. Implements methods for sample-based calibration described by Opsomer and Erciulescu (2021) <https://www150.statcan.gc.ca/n1/pub/12-001-x/2021002/article/00006-eng.htm>. Diagnostic functions are included to compare weights and weighted estimates from different sets of replicate weights.
| Version: | 0.9.1 |
| Depends: | R (≥ 4.1.0), survey (≥ 4.1) |
| Imports: | DBI, Matrix, methods, mvtnorm, rlang, sampling, stats, utils |
| Suggests: | knitr, covr, testthat (≥ 3.0.0), rmarkdown, tidycensus, dplyr, srvyr, withr, prettydoc, RSQLite, torch, ggplot2, scales |
| Published: | 2025-10-08 |
| DOI: | 10.32614/CRAN.package.svrep |
| Author: | Ben Schneider |
| Maintainer: | Ben Schneider <benjamin.julius.schneider at gmail.com> |
| BugReports: | https://github.com/bschneidr/svrep/issues |
| License: | GPL (≥ 3) |
| URL: | https://bschneidr.github.io/svrep/, https://github.com/bschneidr/svrep |
| NeedsCompilation: | no |
| Citation: | svrep citation info |
| Materials: | README, NEWS |
| In views: | OfficialStatistics |
| CRAN checks: | svrep results |
| Reference manual: | svrep.html , svrep.pdf |
| Vignettes: |
Bootstrap Methods for Surveys (source, R code) Nonresponse Adjustments (source, R code) Calibrating to Estimated Control Totals (source, R code) Replication Methods for Two-phase Sampling (source, R code) |
| Package source: | svrep_0.9.1.tar.gz |
| Windows binaries: | r-devel: svrep_0.9.1.zip, r-release: svrep_0.9.1.zip, r-oldrel: svrep_0.9.1.zip |
| macOS binaries: | r-release (arm64): svrep_0.9.1.tgz, r-oldrel (arm64): svrep_0.9.1.tgz, r-release (x86_64): svrep_0.9.1.tgz, r-oldrel (x86_64): svrep_0.9.1.tgz |
| Old sources: | svrep archive |
| Reverse imports: | nrba, sampcompR |
Please use the canonical form https://CRAN.R-project.org/package=svrep to link to this page.