CD4 and tuberculosis: To capture the dynamics of population immunocompetence, model inputs included results from a modified version of the AIM HIV model (which includes detailed CD4 states and progression, totalling 5184 states) on the time-dependent incidence rate-ratios (IRRs) for incident TB relative to HIV-uninfected, and HIV-related mortality, specific to each age and sex state14,15.