inla.cpo {INLA} | R Documentation |
Improve the estimates of the CPO/PIT-values be recomputing the model-fit by removing data-points.
inla.cpo(result, force = FALSE, mc.cores = NULL, verbose = TRUE, recompute.mode = TRUE)
result |
An object of class |
force |
If TRUE, then recompute all CPO/PIT values and not just
those with |
mc.cores |
The number of cores to use in |
verbose |
Run in verbose mode? |
recompute.mode |
Should be mode (and the integration points) be recomputed when a data-point is removed or not? |
The object returned is the same as result
but the
new improved estimates of the CPO/PIT values replaced.
Havard Rue hrue@r-inla.org
n = 10 y = rnorm(n) r = inla(y ~ 1, data = data.frame(y), control.compute = list(cpo=TRUE)) rr = inla.cpo(r, force=TRUE)