A methodological study of a stochastic model of an AIDS epidemic