akaike_weight: Compute akaike weights

Description Usage Arguments References Examples

View source: R/akaike_weight.R

Description

Compute akaike weights

Usage

1
akaike_weight(x, measure = c("aic", "loglikelihood"))

Arguments

x

A numeric vector or matrix with AIC or log likelihood values

measure

A string (default "aic"), the type of values in x. Can be one of "aic", "loglikelihood"; can be abbreviated.

References

Wagenmakers, E., & Farrell, S. (2004). AIC model selection using Akaike weights. Psychonomic Bulletin & Review, 11(1), 192–196. https://doi.org/10.3758/BF03206482

Examples

1
2
aic_values <- c(204, 202, 206, 206, 214) # some AIC values
akaike_weight(aic_values)

JanaJarecki/cognitiveutils documentation built on Sept. 9, 2020, 9:11 a.m.