Generating functions and stability study of multivariate self-excited epidemic processes