Compute leave-one-out cross-validation using Pareto-smoothed importance sampling (PSIS-LOO).
Details
The pointwise log-likelihood is reconstructed from the posterior draws and
the model (see ratiod_compare()); it works on any fit produced by the
hmc, ess, sghmc, or vi backend. The score is conditional on the fixed-effect
(population-level) linear predictor.