akaike_weights: Akaike Weights

View source: R/akaike_weights.R

akaike_weightsR 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), \Sexpr[results=rd]{tools:::Rd_expr_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))

kim documentation built on May 29, 2024, 5:14 a.m.