Tools for Creating, Updating, and Analyzing Survey Replicate Weights
Add inactive replicates to a survey design object
Convert a survey design object to a bootstrap replicate design
Convert a survey design object to a data frame with weights stored as ...
Convert a survey design object to a replication design using Fay's gen...
Convert a survey design object to a generalized bootstrap replicate de...
Convert a survey design object to a random-groups jackknife design
Calibrate weights from a primary survey to estimated totals from a con...
Calibrate weights from a primary survey to estimated totals from a con...
Produce a compressed representation of a survey design object
Helper function to turn a cluster-level matrix into an element-level m...
Estimate the number of bootstrap replicates needed to reduce the boots...
Estimate the bootstrap simulation error
Determine the quadratic form matrix of a variance estimator for a surv...
Approximates a symmetric, real matrix by the nearest positive semidefi...
Get variables from a database
Compute the matrix of joint inclusion probabilities from the quadratic...
Check whether a matrix is positive semidefinite
Public Libraries Survey (PLS): A Census of U.S. Public Libraries in FY...
Create a quadratic form's matrix for a Deville-Tillé variance estimato...
Form replication factors using Fay's generalized replication method
Creates replicate factors for the generalized survey bootstrap
Create a quadratic form's matrix to represent a variance estimator for...
Represent a variance estimator as a quadratic form
Create bootstrap replicate weights for a general survey design, using ...
Create a quadratic form's matrix to represent a successive-difference ...
Create a quadratic form's matrix to represent the basic variance estim...
Combine quadratic forms from each phase of a two phase design
Redistribute weight from one group to another
Rescale replicate factors
(Internal function) Shift weight from one set of cases to another
Shuffle the order of replicates in a survey design object
Stack replicate designs, combining data and weights into a single obje...
Retain only a random subset of the replicates in a design
Summarize the replicate weights
svrep: Tools for Creating, Updating, and Analyzing Survey Replicate We...
Compare survey statistics calculated separately from different sets of...
Variance Estimators
Create the "hat matrix" for weighted least squares regression
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.
Useful links