The feature is described here,
http://www.r-inla.org/faq#TOC-How-can-I-compute-cross-validation-
if you plot an inla-object, like
plot(result)
then you'll see the CPO and PIT values
the CPO_i is \pi( y_i | y_-i )
the PIT_i is \pi( y_i^new <= y_i | y_-i )
and is Uniform(0,1) for the true model.
the adjusted PIT (for discrete responce only) is
PIT_i^adjusted = PIT_i - 1/2 * CPO_i
so the `=y_i' is counted half only.
hope this helps.
H
PS: use 'inla.cpo(..)'; see the FAQ.
--
Håvard Rue
Department of Mathematical Sciences
Norwegian University of Science and Technology
N-7491 Trondheim, Norway
Voice: +47-7359-3533 URL : http://www.math.ntnu.no/~hrue
Fax : +47-7359-3524 Email: havar...@math.ntnu.no
This message was created in a Microsoft-free computing environment.