The CD4 model allowed for group-specific slopes (MSM and PWID) and was adjusted for age at ART initiation, AIDS occurrence before ART, and year of HIV diagnosis. Here, CD4 is linked to AIDS.