# Tools for Creating, Updating, and Analyzing Survey Replicate Weights

## Documentation for package ‘svrep’ version 0.5.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

as_bootstrap_design | Convert a survey design object to a bootstrap replicate design
as_data_frame_with_weights | Convert a survey design object to a data frame with weights stored as columns
as_gen_boot_design | Convert a survey design object to a generalized boostrap replicate design
calibrate_to_estimate | Calibrate weights from a primary survey to estimated totals from a control survey, with replicate-weight adjustments that account for variance of the control totals
calibrate_to_sample | Calibrate weights from a primary survey to estimated totals from a control survey, with replicate-weight adjustments that account for variance of the control totals
estimate_boot_reps_for_target_cv | Estimate the number of bootstrap replicates needed to reduce the bootstrap simulation error to a target level
estimate_boot_sim_cv | Estimate the bootstrap simulation error
get_design_quad_form | Determine the quadratic form matrix of a variance estimator for a survey design object
get_nearest_psd_matrix | Approximates a symmetric, real matrix by the nearest positive semidefinite matrix.
is_psd_matrix | Check whether a matrix is positive semidefinite
libraries | Public Libraries Survey (PLS): A Census of U.S. Public Libraries in FY2020
library_census | Public Libraries Survey (PLS): A Census of U.S. Public Libraries in FY2020
library_multistage_sample | Public Libraries Survey (PLS): A Census of U.S. Public Libraries in FY2020
library_stsys_sample | Public Libraries Survey (PLS): A Census of U.S. Public Libraries in FY2020
lou_pums_microdata | ACS PUMS Data for Louisville
lou_vax_survey | Louisville Vaccination Survey
lou_vax_survey_control_totals | Control totals for the Louisville Vaccination Survey
make_gen_boot_factors | Creates replicate factors for the generalized survey bootstrap
make_quad_form_matrix | Represent a variance estimator as a quadratic form
make_rwyb_bootstrap_weights | Create bootstrap replicate weights for a general survey design, using the Rao-Wu-Yue-Beaumont bootstrap method
make_twophase_quad_form | Combine quadratic forms from each phase of a two phase design
redistribute_weights | Redistribute weight from one group to another
rescale_reps | Rescale replicate factors to have specified lower bound
stack_replicate_designs | Stack replicate designs, combining data and weights into a single object
summarize_rep_weights | Summarize the replicate weights
svyby_repwts | Compare survey statistics calculated separately from different sets of replicate weights