akaike_weights {kim} | R Documentation |
Akaike Weights
Description
Compare adequacy of different models by calculating their Akaike weights and the associated evidence ratio.
Usage
akaike_weights(aic_values = NULL, print_output_explanation = TRUE)
Arguments
aic_values |
a vector of AIC values |
print_output_explanation |
logical. Should an explanation about how to read the output be printed? (default = TRUE). |
Details
Please refer to Wagenmakers & Farrell (2004), doi:10.3758/BF03206482
Value
the output will be a data.table showing AIC weights, their evidence ratio(s), etc.
Examples
# default reference AIC value is the minimum AIC value, e.g., 202 below.
akaike_weights(c(204, 202, 206, 206, 214))
[Package kim version 0.5.422 Index]