Leave-one-out cross validation for disbayes models
# S3 method for disbayes
loo(x, outcome = "overall", ...)
A model fitted by disbayes
. Any of the computation methods
are supported.
Either "overall"
, to assess the fit to all data, or
one of "inc"
, "prev"
, "mort"
or "rem"
, to assess the fit
to the incidence data, prevalence data, mortalidy data or remission data, respectively.
Other arguments (currently unused).
An object of class "loo"
as defined by the loo package.
loo_indiv
to return tidied observation-specific contributions
to the overall model fit computed here.