PathSpecificTransitionPriors: Build a path specific TransitionPriors object, which governs...

Description Usage Arguments Details See Also Examples

View source: R/transitionPriors.R

Description

Build a path specific TransitionPriors object, which governs how individuals move from the exposed to infectious and infectious to removed compartments.

Usage

1
PathSpecificTransitionPriors(Z1 = NA, Z2 = NA, truncation_prob = 1e-06)

Arguments

Z1

a probability density function for the length of time individuals spend in the latent state

Z2

a probability density function for the length of time individuals spend in the infectious state

truncation_prob

ABSEIR precomputes the maximum number of discrete time points during which a person may remain in the latent and infectious states. We therefore require a probability cutoff. The trunction probability is the minimum that the conditional probability of remaining in a disease state can become before individuals are forced to transition.

Details

The TransitionPriors component of spatial SEIR(S) models captures the process by which individuals move from the exposed to infectious compartment, and from the infectious to removed compartment. This component thus governs the duration of the latent and infectious periods of the disease of interest, on the discrete timescale employed.

See Also

TransitionPriors, ExponentialTransitionPriors WeibullTransitionPriors

Examples

1
2
transitionPriors <- PathSpecificTransitionPriors(Z1 = function(x){dunif(x, 2, 10)},
                                        Z2 = function(x){dunif(x, 7, 24)})

grantbrown/ABSEIR documentation built on Oct. 14, 2021, 2:32 p.m.