Description Usage Arguments Details Value Examples
Supply a vector containing AIC, AICc, WAIC, LOO-IC, BIC, DIC, etc.
1 | modelWeights(ICs)
|
ICs |
First a delta score is calculated, which is the difference between each model's score and the minimum model score of the vector. The best model has a delta of zero.
The model weights are calculated from the delta scores as in the equation below:
w_{m}=\frac{\exp ≤ft(-\frac{1}{2} Δ_{m}\right)}{∑_{j=1}^{M} \exp ≤ft(-\frac{1}{2} Δ_{j}\right)}
:
See: Wagenmakers, EJ. & Farrell, S. AIC model selection using Akaike weights Psychonomic Bulletin & Review (2004) 11: 192. https://doi.org/10.3758/BF03206482
Burnham, Kenneth P., Anderson, David R. (2002) Model Selection and Multimodel Inference: A Practical Information-Theoretic Approach 2nd Ed. Springer. https://doi.org/10.1007/b97636
a data frame of delta scores and model weights
1 | ICs(c(-923.13, -232.45, -896.12))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.