loo_indiv | R Documentation |
Extract observation-specific contributions from a disbayes leave-one-out cross validation
loo_indiv(x, agg = FALSE)
looi_disbayes(x, agg = FALSE)
x |
For |
agg |
If |
A data frame with one row per observed age-specific mortality, incidence, prevalence and/or remission age-specific data-point, containing leave-one-out cross validation statistics representing how well the model would predict that observation if it were left out of the fit.
These are computed with the loo package.
loo_indiv
acts on the objects that are returned by running loo
on disbayes
objects. looi_disbayes
acts directly on disbayes
objects. Both of those functions return a data frame with LOO contributions for each data point.
looi_disbayes()
: Observation-level leave-one-out cross validation statistics for a disbayes model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.