Data set of 940 drug users in Badalona (Spain). The data come from the detoxification unit of Hospital Universitari Germans Trias i Pujol in Badalona, Spain
data(duser)A data frame with 940 observations on the following 5 variables.
leftLeft endpoint of time to HIV-infection
rightRight endpoint of time to HIV-infection
zperCalendar period
zgenGender (0: male; 1: female)
ageAge
Gómez, G., Calle, M. L., Egea, J. M. and Muga, R. (2000). Risk of HIV infection as a function of the duration of intravenous drug use: A non-parametric Bayesian approach. Statistics in Medicine 19, 2641--2656.
Oller, R. and Gómez, G. (2012). A generalized Fleming and Harrington's class of tests for interval-censored data. The Canadian Journal of Statistics 40, 501--516.