Assessing logistic regression applied to respondent-driven sampling studies: a simulation study with an application to empirical data