A Bayesian framework for modelling the preferential selection process in respondent-driven sampling. (June 2022)