Transition Probabilities for Generalized SIR Epidemic Model