GetAICWeights: Compute model weights

View source: R/plotHisse.R

Compute Model WeightsR Documentation

Compute model weights

Description

Computes the Akaike model weights for a list of HiSSE, MiSSE, and/or GeoHiSSE model fits.

Usage

GetAICWeights(hisse.results, criterion="AIC")

Arguments

hisse.results

A list of models (such as from MiSSEGreedy or just putting individual hisse runs in a list)

criterion

Which criterion to use, AIC or AICc (with correction for sample size)

Details

Function computes the model weight from their AIC values using the formula:

“delta <- mod.AIC - min( mod.AIC )”

“AICw <- exp( -0.5 * delta) / sum( exp( -0.5 * delta) )”

Function will return vector of weights

Author(s)

Daniel Caetano


thej022214/hisse documentation built on Sept. 20, 2023, 12:40 a.m.