Useful for example to recompute SBC ranks with a different choice of thin_ranks or added generated quantities.

recompute_statistics(
  old_results,
  datasets,
  backend,
  thin_ranks = SBC_backend_default_thin_ranks(backend),
  gen_quants = NULL
)

Arguments

backend

backend used to fit the results. Used to pull various defaults and other setting influencing the computation of statistics.

Value

An S3 object of class SBC_results with updated $stats and $default_diagnostics fields.