A systematic discussion of the development of stochastic, statistical and state space models of the HIV epidemic and of HIV pathogenesis in HIV-infected individuals. It presents the applications of these models and provides an analysis of deterministic and statistical models in the literature.