svrep0.9.1 package

Tools for Creating, Updating, and Analyzing Survey Replicate Weights

add_inactive_replicates

Add Inactive Replicates to a Survey Design Object

as_bootstrap_design

Convert Survey Design to Bootstrap Replicate Design

as_data_frame_with_weights

Convert Survey Design to Data Frame

as_fays_gen_rep_design

Convert Survey Design to Fay's Generalized Replication Design

as_gen_boot_design

Convert Survey Design to Generalized Bootstrap Replicate Design

as_random_group_jackknife_design

Convert Survey Design to Random Group Jackknife Replicate Design

as_sdr_design

Convert Survey Design to Successive Differences Replicate Design

assign_hadamard_rows

Row Assignment for Successive Difference Replication

calibrate_to_estimate

Sample-based Calibration to An Estimate

calibrate_to_sample

Sample-based Calibration with Replicates

compress_design

Produce a compressed representation of a survey design object

compute_eigen_decomposition

Compute the eigendecomposition of a matrix

distribute_matrix_across_clusters

Helper function to turn a cluster-level matrix into an element-level m...

draw_antal_tille_resample

Draw a replicate sample using the method of Antal and Tille (2014)

draw_doubled_half_sample

Draw a doubled half-sample

estimate_boot_reps_for_target_cv

Control Bootstrap Simulation Error

estimate_boot_sim_cv

Estimate Bootstrap Simulation Error

find_minimum_hadamard_order

Find the smallest Hadamard order available in the 'survey' package

get_design_quad_form

Quadratic Form Matrix of Variance Estimator for a Survey Design

get_nearest_psd_matrix

Positive Semidefinite Matrix Approximation

get_rep_scale_coefs

Access Replication Scale Coefficients

get_rep_type

Access Type of Replication Method

getvars

Get variables from a database

ht_matrix_to_joint_probs

Compute the matrix of joint inclusion probabilities from the quadratic...

is_psd_matrix

Check if Matrix is Positive Semidefinite

libraries

U.S. Public Libraries Survey

make_deville_tille_matrix

Create a quadratic form's matrix for a Deville-Tillé variance estimato...

make_doubled_half_bootstrap_weights

Weights for "Doubled Half Bootstrap" of Antal and Tillé (2014)

make_fays_gen_rep_factors

Factors for Fay's Generalized Replication Method

make_gen_boot_factors

Factors for the Generalized Survey Bootstrap

make_kernel_var_matrix

Quadratic Form Matrix of Kernel-based Variance Estimator

make_ppswor_approx_matrix

Create a quadratic form's matrix to represent a variance estimator for...

make_quad_form_matrix

Get Variance Estimator's Quadratic Form Matrix

make_rwyb_bootstrap_weights

Weights for Rao-Wu-Yue-Beaumont Bootstrap

make_sd_matrix

Create a quadratic form's matrix to represent a successive-difference ...

make_sdr_replicate_factors

Factors for the Successive Difference Replication Method

make_srswor_matrix

Create a quadratic form's matrix to represent the basic variance estim...

make_twophase_quad_form

Quadratic Form Matrix for a Two-phase Design

redistribute_weights

Weighting Class Adjustment

rescale_replicates

Rescale Replicate Factors

shift_weight

(Internal function) Shift weight from one set of cases to another

shuffle_replicates

Shuffle Order of Replicates in a Replicate Design Object

stack_replicate_designs

Combine Replicate Designs by Stacking

subsample_replicates

Subsample Replicates in a Replicate Design Object

summarize_rep_weights

Summarize Replicate Weights in a Replicate Design

svrep-package-options

Package-level Options for svrep

svrep-package

svrep: Tools for Creating, Updating, and Analyzing Survey Replicate We...

svyby_repwts

Survey Statistics for Multiple Replicate Design Objects

variance-estimators

Variance Estimators

wls_hat_matrix

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.

  • Maintainer: Ben Schneider
  • License: GPL (>= 3)
  • Last published: 2025-10-08