Analyzing the effect of restrictions on the COVID-19 outbreak for some US states