LOO comparisons for flocker models.

loo_compare_flocker(model_list, model_names = NULL, thin = NULL)

Arguments

model_list

a list of flocker_fit objects.

model_names

An optional vector of names for the models.

thin

specify the amount of thinning required. 1 or NULL results in no thinning, 2 retains every other value, 3 every third, etc.

Value

a `compare.loo` matrix

Examples

# \donttest{
ml <- rep(list(example_flocker_model_single), 3)
loo_compare_flocker(ml)
#> Warning: Not enough tail samples to fit the generalized Pareto distribution in some or all columns of matrix of log importance ratios. Skipping the following columns: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ... [90 more not printed].
#> Warning: Some Pareto k diagnostic values are too high. See help('pareto-k-diagnostic') for details.
#> Warning: Not enough tail samples to fit the generalized Pareto distribution in some or all columns of matrix of log importance ratios. Skipping the following columns: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ... [90 more not printed].
#> Warning: Some Pareto k diagnostic values are too high. See help('pareto-k-diagnostic') for details.
#> Warning: Not enough tail samples to fit the generalized Pareto distribution in some or all columns of matrix of log importance ratios. Skipping the following columns: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ... [90 more not printed].
#> Warning: Some Pareto k diagnostic values are too high. See help('pareto-k-diagnostic') for details.
#>        elpd_diff se_diff
#> model1 0.0       0.0    
#> model2 0.0       0.0    
#> model3 0.0       0.0    
# }