The present study evaluated the effect of several covariates and CD4 cell counts on TB and death caused by HIV using a joint model of longitudinal outcomes and competing risks. Here, CD4 is linked to tuberculosis.