Service/Object multiplier estimator
get_study_est_multiplier(
data,
service_var = "service_use",
total_service = sum(data$service_use[data$hidden == 1]),
seed_condition = "rds_from == -999",
n_boot = 100,
parallel_boot = FALSE,
prefix = "rds",
label = "multiplier"
)
pass-through population data frame
name of variable that indicates service/object use by respondent
numeric value that indicates number of hidden population members who used the service. Defaults to truth from simulated dataset
character string containing condition to define seeds. Defaults to "rds_from == -999" that applies to simulated RDS samples
number of bootstrap resamples
logical, whether to compute bootstrap samples in parallel using foreach
package
character prefix used for RDS sample variables
character string describing the estimator
Data frame of service/object multiplier population size estimates for single study
Function currently requires variable "hidden_visible_out" to be present in the data supplied and represent the hidden population out-report
Salganik, Matthew J. "Variance estimation, design effects, and sample size calculations for respondent-driven sampling." Journal of Urban Health 83, no. 1 (2006): 98. https://doi.org/10.1007/s11524-006-9106-x