R/study_estimators.R
get_study_est_chords.Rd
Chords population size estimatior by Berchenko, Rosenblatt and Frost
get_study_est_chords(
data,
type = c("mle", "integrated", "jeffreys"),
seed_condition = "rds_from == -999",
prefix = "rds",
n_boot = 100,
parallel_boot = FALSE,
label = "chords"
)
pass-through population data frame
a character vector with the type of estimation. Can be one of mle
, integrated
, or jeffreys
. See ?chords::Estimate.b.k
and the original paper from the references for details
character string containing condition to define seeds. Defaults to "rds_from == -999" that applies to simulated RDS samples
character string prefix used for RDS sample variables
number of bootstrap resamples
logical, whether to compute bootstrap samples in parallel using foreach
package
character string describing the estimator
Data frame of Chords estimates for a single study with RDS sample
Berchenko, Yakir, Jonathan D. Rosenblatt, and Simon D. W. Frost. “Modeling and Analyzing Respondent-Driven Sampling as a Counting Process.” Biometrics 73, no. 4 (2017): 1189–98. https://doi.org/10.1111/biom.12678. 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