id_priors.idbrms_convolution: Define priors for the delay convolution model

View source: R/convolution.R

id_priors.idbrms_convolutionR Documentation

Define priors for the delay convolution model

Description

Define priors for the delay convolution model

Usage

## S3 method for class 'idbrms_convolution'
id_priors(
  data,
  scale = c(round(log(0.1), 2), 1),
  cmean = c(2, 1),
  lcsd = c(-0.5, 0.25),
  ...
)

Arguments

data

A data.frame as produced by prepare that must contain the date, location (as loc), primary (the data that the outcome is a convolution of) and secondary (the observation of interest. Should have class "idbrms_convolution".

scale

Vector of length two defining the mean and the standard deviation of the normal prior for the scaling factor.

cmean

Vector of length two defining the mean and standard deviation of the log mean of the delay distribution.

lcsd

Vector of length two defining the mean and standard deviation of the log standard deviation logged. the standard deviation to be greater than 0 on the unconstrained scale.

...

Additional arguments for method.

Author(s)

Sam Abbott


epiforecasts/idbrms documentation built on Sept. 9, 2022, 9:48 p.m.