Analyzing stochastic processes over epidemic stages