View source: R/akaike_weights.R
akaike_weights | R Documentation |
Compare adequacy of different models by calculating their Akaike weights and the associated evidence ratio.
akaike_weights(aic_values = NULL, print_output_explanation = TRUE)
aic_values |
a vector of AIC values |
print_output_explanation |
logical. Should an explanation about how to read the output be printed? (default = TRUE). |
Please refer to Wagenmakers & Farrell (2004), \Sexpr[results=rd]{tools:::Rd_expr_doi("10.3758/BF03206482")}
the output will be a data.table showing AIC weights, their evidence ratio(s), etc.
# default reference AIC value is the minimum AIC value, e.g., 202 below.
akaike_weights(c(204, 202, 206, 206, 214))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.