Description Usage Arguments Value References Examples
Probability of fitted values being higher than a cutoff value.
1 | FittedExcess(..., cutoff = 1, rnd = 3)
|
... |
objects of |
cutoff |
value above which fitted values would be in excess. |
rnd |
integer indicating the number of decimal places to be used. |
vector
if only one model with fitted values is evaluated; data.frame
or list
otherwise.
Blangiardo, Marta, and Michela Cameletti. Spatial and Spatio-temporal Bayesian Models with R-INLA. John Wiley & Sons, 2015.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(sp)
mod1 <- inla(aan ~ f(id, model = 'bym', graph = sp.adj),
E = eaan,
family = 'poisson', data = spn,
control.predictor = list(compute = TRUE))
mod2 <- inla(aan ~ shvn + f(id, model = 'bym', graph = sp.adj),
E = eaan,
family = 'poisson', data = spn,
control.predictor = list(compute = TRUE))
see <- RandomEffectsExcess(mod1, mod2, cutoff = 1)
summary(see)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.