Mathematics-of-Epidemics-on-Networks icon indicating copy to clipboard operation
Mathematics-of-Epidemics-on-Networks copied to clipboard

estimate_R0

Open jsheen opened this issue 3 years ago • 3 comments

Hi Joel,

I think there's a small typo in the estimate_R0 method. In the second line of the estimate_R0 method in the source code, there is:

if tau is None or beta is None:

but I think this is meant to be:

if tau is None or gamma is None:

I was also wondering whether this method is equivalent to calculating the R0 of a network that will have an SEIR epidemic. Since the only addition is the 'E' class, I thought this wouldn't affect the R0 estimation since it doesn't affect the transmissibility, but was curious if you had any thoughts on this.

All the best, Justin

jsheen avatar Jun 17 '21 21:06 jsheen

Agreed on the typo.

& yes, the standard SEIR model will have the same R0 as the corresponding SIR model.

joelmiller avatar Jun 18 '21 02:06 joelmiller

@jsheen - if you have a chance to do a pull request on this, please go ahead. I'm just a bit too busy to fix things right now.

joelmiller avatar Jun 21 '21 12:06 joelmiller

just created one!

and thank you for the comments!

jsheen avatar Jun 21 '21 21:06 jsheen