Quantifying the impact of COVID-19 control measures using a Bayesia