An S4 class that contains priors and model structure input. See example for template code.
ncp
The number of change points in mortality.
Z_dist
Character. The probability distribution for the mortality rate. Currently supports lognormal
or uniform
.
Defaults to uniform
.
Z_par
A matrix with ncp+1
rows and 2 columns. Parameters describing the priors for the mortality rate.
If lognormal, the first column is the mean and the second column is the standard deviation of the prior (in normal space).
If uniform, the first column is the minimum and the second column is the maximum of the distribution. Defaults to uniform
with bounds 0 and 3.
alpha
The alpha vector of the Dirichlet distribution of length ncp+1
for parameterization the priors for the change points
(when ncp > 0
). Ignored if ncp = 0
. Defaults to rep(1, ncp + 1)
which is a relatively uninformative prior.
sigma_dist
The probability distribution for the standard deviation. Currently supports lognormal
or uniform
.
Defaults to uniform
.
sigma_par
A vector of length 2. Parameters describing the priors for the standard deviation.
If lognormal, the mean and standard deviation of the prior (in normal space).
If uniform, the first column is the minimum and the second column is the maximum of the distribution. Defaults to uniform
with bounds 0 and 1e5.
Q. Huynh
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.