| RDS.II.estimates | R Documentation |
This function computes the RDS-II estimates for a categorical variable or the RDS-II estimate for a numeric variable.
RDS.II.estimates(rds.data, outcome.variable, subset = NULL, to.factor = FALSE)
rds.data |
An |
outcome.variable |
A string giving the name of the variable in the
|
subset |
An optional criterion to subset |
to.factor |
force variable to be a factor |
An object of class rds.weighted.estimate.
Mark S. Handcock and W. Whipple Neely
Gile, Krista J., Handcock, Mark S., 2010. Respondent-driven Sampling: An Assessment of Current Methodology, Sociological Methodology, 40, 285-327. <doi:10.1111/j.1467-9531.2010.01223.x>
Gile, Krista J., Beaudry, Isabelle S. and Handcock, Mark S., 2018 Methods for Inference from Respondent-Driven Sampling Data, Annual Review of Statistics and Its Application <doi:10.1146/annurev-statistics-031017-100704>.
Salganik, M., Heckathorn, D. D., 2004. Sampling and estimation in hidden populations using respondent-driven sampling. Sociological Methodology 34, 193-239.
Volz, E., Heckathorn, D., 2008. Probability based estimation theory for Respondent Driven Sampling. The Journal of Official Statistics 24 (1), 79-97.
RDS.I.estimates, RDS.SS.estimates
data(faux)
RDS.II.estimates(rds.data=faux,outcome.variable='X')
RDS.II.estimates(rds.data=faux,outcome.variable='X',subset= Y!="blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.