SS-PSE population size estimator by Handcock, Gile and Mar

get_study_est_sspse(
  data,
  prior_mean = 0.1 * nrow(data),
  n_coupons = 3,
  total = 2000,
  mcmc_params = list(interval = 5, burnin = 2000, samplesize = 500),
  additional_params = list(),
  prefix = "rds",
  label = "sspse"
)

Arguments

data

pass-through population data frame

prior_mean

the mean of the prior distribution on the population size for SS-PSE estimation

n_coupons

The number of recruitment coupons distributed to each enrolled subject (i.e. the maximum number of recruitees for any subject). By default it is taken by the attribute or data, else the maximum recorded number of coupons.

total

integer giving the total size of population

mcmc_params

named list of parameters passed to sspse::posteriorsize for MCMC sampling,

additional_params

named list of additional parameter passed to sspse::posteriorsize . If empty sspse::posteriorsize uses default parameters.

prefix

character prefix used for RDS sample variables

label

character string describing the estimator

Value

Data frame of SS-PSE estimates for a single study

References

Handcock, Mark S., Krista J. Gile, and Corinne M. Mar. “Estimating Hidden Population Size Using Respondent-Driven Sampling Data.” Electronic Journal of Statistics 8, no. 1 (2014): 1491–1521. https://doi.org/10.1214/14-EJS923.