Detecting changes in the transmission rate of a stochastic epidemic model | Synapse