Skip to content

Instantly share code, notes, and snippets.

@twiecki
Last active March 8, 2022 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save twiecki/fc63488e7c81d162af3f58ae68a32cd4 to your computer and use it in GitHub Desktop.
Save twiecki/fc63488e7c81d162af3f58ae68a32cd4 to your computer and use it in GitHub Desktop.
Generative-Modeling-rt-live.ipynb
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tvladeck
Copy link

tvladeck commented Jun 26, 2020

The implicit assumption in the generative process above is that people get sick and infectuous instantly, as they infect another person on the very next day.

In reality, it takes a while for a person to (i) become infectuous and (ii) pass the disease on. This delay is officially known as the "serial interval" and we will model it with a probability distribution which we get from this study30119-3/pdf).

the "serial interval" is the time between symptoms in the primary infection and symptoms in the secondary infection. the distribution that we care about is the "generation time" which is the interval between primary infection and secondary infection. we are using the serial interval as a proxy for the generation time, with the assumption that it is just shifted back in time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment