Abstract
In this paper, we study the dynamical behavior of a multigroup SIQS epidemic model, which is formulated as a piecewise deterministic Markov process. Sufficient conditions for extinction and persistence in the mean of the diseases are obtained. In addition, in the case of diseases persistence, we establish sufficient conditions for the existence of positive recurrence of the solutions to the model by using the stochastic Lyapunov function with regime switching.