powered by
Function to simulate the stochastic TSIR assuming stochasticity in transmission and a Poisson birth-death process
SimTsir(alpha = 0.97, B = 2300, beta = 25, sdbeta = 0, S0 = 0.06, I0 = 180, IT = 520, N = 3300000)
the exponent on I
the birth rate
the transmission rate
the standard deviation on beta
the initial susceptible fraction
the initial number of infecteds
the length of simulation
the population size
A list with time series of simulated infected and susceptible hosts
# NOT RUN { out = SimTsir() # }
Run the code above in your browser using DataLab