loo.disbayes function

Leave-one-out cross validation for disbayes models

Leave-one-out cross validation for disbayes models

## S3 method for class 'disbayes' loo(x, outcome = "overall", ...)

Arguments

  • x: A model fitted by disbayes. Any of the computation methods are supported.
  • outcome: 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).

Returns

An object of class "loo" as defined by the loo package.

See Also

loo_indiv to return tidied observation-specific contributions to the overall model fit computed here.

  • Maintainer: Christopher Jackson
  • License: GPL-3
  • Last published: 2023-09-09