Expected log pointwise predictive density
elpd.Rdelpd_loo() estimates leave-one-out cross-validation from one Bayesian
fit by Pareto-smoothed importance sampling (PSIS-LOO); elpd_waic()
computes WAIC. Both take the pointwise log-likelihood
log p(y_i | theta_s) of each posterior draw (rows) and observation
(columns), and match the loo package.
Value
A list: estimates (named elpd, se, p and ic, the
information criterion -2 elpd) and pointwise; for elpd_loo() also
pareto_k per observation and k_threshold, above which an
observation's estimate is unreliable.