# R: Function to simulate the stocastic TSIR

SimTsir {epimdr} | R Documentation

## Function to simulate the stocastic TSIR

### Description

Function to simulate the stocastic TSIR assuming stochasticity in transmission and a Poisson birth-death process

### Usage

    SimTsir(alpha = 0.97, B = 2300, beta = 25, sdbeta = 0, S0 = 0.06,
      I0 = 180, IT = 520, N = 3300000)

### Arguments

`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

### Value

A list with time series of simulated infected and susceptible hosts

### Examples

    out = SimTsir()

[Package epimdr version 0.6-4 Index]