Pareto-smoothed importance sampling leave-one-out cross-validation
Source:R/bayesian_diagnostics.R
loo.cpaic_mlnmr.RdThis is observation-level LOO: it measures within-study interpolation
(leaving out one IPD patient or one reconstructed pseudo-observation), which
is not the scientific question in a disconnected network. It does not
validate cross-gap prediction (a new study, a held-out treatment contrast, or
a held-out sub-network); a good pointwise LOO can coexist with a wrong
cross-gap extrapolation. Grouped leave-one-study-out is not yet implemented,
so unit accepts only "observation".
Arguments
- x
A
cmlnmr()fit.- unit
Predictive unit; only
"observation"is supported.- ...
Passed to
loo::loo.matrix().