GI.resude: Generation interval distribution for the RESuDe epidemic...

Description Usage Arguments Value References

Description

Calculates the forward and backward generation interval distributions for the Renwal Equation with Susceptible Depletion (RESuDe) epidemic model, defined as: i(t) = R0*(S(t)/N)^alpha * exp(-kappa*t) sum_k=1^GI_span g(k) * i(t-k) S(t) = max(0; S(t-1) - i(t) ) with S the number of susceptible individuals, i the incidence, N the constant population size. The RESuDe model is specified directly with the intrinsic generation interval distribution, g, but it is not straightforward to calculate the backward and forward generation interval distributions. This function numericaly solves the backward and forward generation interval distributions (see [1] for theoretical framework).

Usage

1
2
GI.resude(cal.times.fwdbck, R0, alpha, kappa, GI_span, GI_mean, GI_var, GI_type,
  horizon, pop_size = 10000, I.init = 1)

Arguments

cal.times.fwdbck

Numeric vector. Times where the backward and forward generation interval distributions will be calculated

R0

Numeric. The basic reproduction number

alpha

Numeric. Mixing heterogeneity parameter

kappa

Numeric. Exponential rate decreasing the force of infection (for example because of interventions)

GI_span

Numeric. The support for the intrinsic generation interval distribution (the maximum value of the generation interval)

GI_mean

Numeric. Mean of the _intrinsic_ generation interval

GI_var

Numeric. Variance of the _intrinsic_ generation interval

GI_type

String. Distribution type for the generation interval. pois for Poisson, nbinom for negative binomial.

horizon

Numeric. Time until which the simultion is run. User must make sure it is beyond the end of the epidemic, else the calculation of generation interval distributions may be wrong!

pop_size

Integer. Constant population size. Default value at 1E4

I.init

Integer. Initial number of infectious individuals. Default value at 1

Value

Returns a named list.

References

[1] Champredon D, Dushoff J. Intrinsic and realized generation intervals in infectious-disease transmission. Proceedings of the Royal Society B: Biological Sciences 2015; 282: 20152026.


davidchampredon/GI documentation built on May 14, 2019, 11:08 p.m.