NSUM estimatior
get_study_est_nsum(
data,
known,
hidden,
survey_design = ~pps_cluster + strata(pps_strata),
degree_ratio = 1,
transmission_rate = 1,
n_boot = 1000,
parallel_boot = FALSE,
prefix = "pps",
label = "nsum"
)
pass-through population data frame
character vector containing names of known groups
character vector containing names of hidden groups
a formula describing the design of the survey
numeric value between 0 and 1 representing degree ratio
numeric value between 0 and 1 representing information transmission rate
number of bootstrap resamples
logical, whether to compute bootstrap samples in parallel using foreach
package
character prefix used for PPS sample variables
character string describing the estimator
Data frame of NSUM estimates for a single study with PPS sample
Dennis M. Feehan, Matthew J. Salganik. “The networkreporting package.” (2014). https://cran.r-project.org/package=networkreporting. Dennis M. Feehan, Matthew J. Salganik. “The surveybootstrap package.” (2016). https://cran.r-project.org/package=surveybootstrap. 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