deviance_avg: Estimated average deviance

Description Usage Arguments Details Value Author(s) References

Description

Deviance averaged over the posterior distribution.

Usage

1
deviance_avg(I0, pij, R, si, x)

Arguments

I0

list of matrices. Each element in the list is the incidence matrix for a single simulation.

pij

list of matrices. Each matrix is the probability of movement for a single simulation. If the list is shorter than other lists, it will be recycled.

R

list of reproduction vectors. Same as for the other parameters.

si

list of serial intervals.

Details

\hat{D}_{avg}(y) = \frac{1}{L}∑_{l = 1}^{L}{D(y, θ^{l})}

Value

Deviance averaged over the simulations.

Author(s)

Sangeeta Bhatia

References

Gelman, Andrew, et al. Bayesian data analysis. Chapman and Hall/CRC, 1995.


annecori/mRIIDSprocessData documentation built on May 29, 2019, 1:16 p.m.