The pointwise log-likelihood of the observed data, suitable for loo::loo().
Usage
# S3 method for class 'kb_fit'
log_lik(object, ...)Details
Each value is the log density of the response as recorded (for example
weight in kg, not log weight), so models of the same response can be
compared with loo::loo_compare().
See also
loo.kb_fit() for leave-one-out cross-validation of a fit.
Other fit methods:
augment.kb_fit(),
coef.kb_fit(),
fitted.kb_fit(),
glance.kb_fit(),
kb_model_describe(),
kb_samples(),
kb_stancode(),
posterior_epred.kb_fit(),
posterior_linpred.kb_fit(),
posterior_predict.kb_fit(),
prior_summary.kb_fit(),
residuals.kb_fit(),
summary.kb_fit(),
tidy.kb_fit()