compare_MLL {EMC2} | R Documentation |
Calculate a table of model probabilities based for a list of samples objects based on samples of marginal log-likelihood (MLL) added to these objects by run_IS2. Probabilities estimated by a bootstrap ath picks a vector of MLLs, one for each model in the list randomly with replacement nboot times, calculates model probabilities and averages
compare_MLL(mll, nboot = 1e+05, digits = 2, print_summary = TRUE)
mll |
List of samples objects with IS_samples attribute added by by run_IS2 |
nboot |
Integer number of bootstrap samples, the default (1e5) usually gives stable results at 2 decimal places. |
digits |
Integer, significant digits in printed table |
print_summary |
Boolean (default TRUE) print table of results |
Vector of model probabilities with names from samples list.