Learn R Programming

BioGeoBEARS (version 0.2.1)

rel_likes_from_deltaAICs: Calculate the relative likelihoods of the models, from the deltaAIC

Description

Given deltaAIC (Akaike Information Criterion), the absolute difference between the best model (lowest AIC) and other models, calculate the relative likelihoods of the models.

Usage

rel_likes_from_deltaAICs(deltaAICs)

Arguments

deltaAICs
A vector of deltaAIC values.

Value

rel_likes_AIC A vector of relative likelihoods.

Details

See Burnham et al. (2002) and http://www.brianomeara.info/tutorials/aic for discussion of AIC and its uses.

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster http://www.brianomeara.info/tutorials/aic

Burnham_Anderson_2002

Matzke_2012_IBS

See Also

get_Akaike_weights_from_rel_likes, rel_likes_from_deltaAICs, getAIC

Examples

Run this code
test=1

AICvals = c(40, 50, 60)
deltaAICs = get_deltaAIC(AICvals)
deltaAICs

rel_likes_AIC = rel_likes_from_deltaAICs(deltaAICs)
rel_likes_AIC

Run the code above in your browser using DataLab