Description Usage Arguments Value Examples
Function to simulate the stochastic TSIR assuming stochasticity in transmission and a Poisson birth-death process
1 2 |
alpha |
the exponent on I |
B |
the birth rate |
beta |
the transmission rate |
sdbeta |
the standard deviation on beta |
S0 |
the initial susceptible fraction |
I0 |
the initial number of infecteds |
IT |
the length of simulation |
N |
the population size |
A list with time series of simulated infected and susceptible hosts
1 | out = SimTsir()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.