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

## Documentation for package ‘svrep’ version 0.8.0

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

## Help Pages

svrep-package-options | Package-level options for svrep
add_inactive_replicates | Add inactive replicates to a survey design object
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_fays_gen_rep_design | Convert a survey design object to a replication design using Fay's generalized replication method
as_gen_boot_design | Convert a survey design object to a generalized bootstrap replicate design
as_random_group_jackknife_design | Convert a survey design object to a random-groups jackknife design
as_sdr_design | Convert a survey design object to a successive differences 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_doubled_half_bootstrap_weights | Create bootstrap replicate weights using the "doubled half bootstrap" method of Antal and Tillé (2014).
make_fays_gen_rep_factors | Form replication factors using Fay's generalized replication method
make_gen_boot_factors | Creates replicate factors for the generalized survey bootstrap
make_kernel_var_matrix | Make a quadratic form matrix for the kernel-based variance estimator of Breidt, Opsomer, and Sanchez-Borrego (2016)
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_sdr_replicate_factors | Create matrix of replicate factors to use for Successive Difference Replication 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_replicates | Rescale replicate factors
rescale_reps | Rescale replicate factors
shuffle_replicates | Shuffle the order of replicates in a survey design object
stack_replicate_designs | Stack replicate designs, combining data and weights into a single object
subsample_replicates | Retain only a random subset of the replicates in a design
summarize_rep_weights | Summarize the replicate weights
svyby_repwts | Compare survey statistics calculated separately from different sets of replicate weights
variance-estimators | Variance Estimators