Description Usage Arguments Details Value References Examples
Sort and display the sum of the log of CPO's of INLA models.
1 |
... |
objects of |
failure_cutoff |
value between 0 and 1. CPO's with a failure score greater than |
decreasing |
logical. If |
rnd |
integer indicating the number of decimal places to be used. |
control.compute = list(cpo = TRUE)
must be used within inla
function.
matrix
with the sum of the log of CPO's and the proportion of failures of each models' CPO.
Blangiardo, M., Cameletti, M., Baio, G., & Rue, H. (2013). Spatial and spatio-temporal models with R-INLA. Spatial and spatio-temporal epidemiology, 7, 39-55.
1 2 3 4 5 6 7 8 9 10 11 | data(sp)
mod1 <- inla(aan ~ f(id, model = 'bym', graph = sp.adj),
family = 'poisson', data = spn, E = eaan,
control.compute = list(cpo = TRUE))
mod2 <- inla(aan ~ shvn + f(id, model = 'bym', graph = sp.adj),
family = 'poisson', data = spn, E = eaan,
control.compute = list(cpo = TRUE))
CPO(mod1, mod2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.