ic_weights | R Documentation |
IC weights quantify the evidence in favor of different models in a set. This function normalizes the IC values to obtain IC weights, which sum to 1. The model with the highest weight is most supported by the data. The ratio of different weights gives the relative support in favor of one model over another.
ic_weights(x, ...)
x |
An object for which a method exists. |
... |
Additional arguments. |
A list
of class ic_weights
with elements $weights
, which
contains the model weights, and $comparison
, which contains the relative
support in favor of each model over the others.
Wagenmakers, E. J., & Farrell, S. (2004). AIC model selection using Akaike weights. Psychonomic bulletin & review, 11(1), 192-196. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.3758/BF03206482")}
ics <- c(100, 200, 102, 300)
ic_weights(ics)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.