The $log_lik()
method of an MRPModel
object
runs Stan's standalone generated quantities
and extracts log-likelihood values for leave-one-out cross-validation. This
method is called by the $compare_models()
method of an MRPWorkflow
object
and does not need to be called directly by users.