Statistics for Modeling the dynamics of an epidemic under vaccination in two interacting populations