- family
Character string defining the observation model. Options are
Negative binomial ("negbin"), the default, and Poisson.
- phi
A numeric vector of length 2, defaults to 0, 1. Indicates the
mean and standard deviation of the normal prior used for the observation
process.
- weight
Numeric, defaults to 1. Weight to give the observed data in
the log density.
- week_effect
Logical defaulting to TRUE
. Should a day of the week
effect be used in the observation model.
- week_length
Numeric assumed length of the week in days, defaulting to
7 days. This can be modified if data aggregated over a period other than a
week or if data has a non-weekly periodicity.
- scale
List, defaulting to an empty list. Should an scaling factor be
applied to map latent infections (convolved to date of report). If none empty a mean (mean
) and standard deviation (sd
) needs to be supplied
defining the normally distributed scaling factor.
- likelihood
Logical, defaults to TRUE
. Should the likelihood be
included in the model.
- return_likelihood
Logical, defaults to FALSE
. Should the likelihood
be returned by the model.