Learn R Programming

kim (version 0.6.1)

akaike_weights: 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)

Value

the output will be a data.table showing AIC weights, their evidence ratio(s), etc.

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), tools:::Rd_expr_doi("10.3758/BF03206482")

Examples

Run this code
# default reference AIC value is the minimum AIC value, e.g., 202 below.
akaike_weights(c(204, 202, 206, 206, 214))

Run the code above in your browser using DataLab