Probability of final outbreak size with offspring distribution parameters switched after two generations of transmission
Source:R/pFinalSizeSwitch2.R
pFinalSizeSwitch2.Rd
pFinalSizeSwitch2 is the probability that n initial cases lead to an extinguished outbreak of total size j after any number of transmission generations (j includes the n initial cases), for a branching process with offspring distribution parameters (R0,k0) during the first 2 transmission generations and (Rc,kc) during subsequent generations
Arguments
- n
Number of initial cases in generation 0
- j
Total outbreak size (>= n).
- R0
Mean of negative binomial offspring distribution before the switch
- k0
Dispersion of negative binomial offspring distribution before the switch
- Rc
Mean of negative binomial offspring distribution after the switch
- kc
Dispersion of negative binomial offspring distribution before the switch