rel_likes_from_deltaAICs_pairwise: Calculate the relative likelihoods of the models, from the...

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/BioGeoBEARS_generics_v1.R

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

1
  rel_likes_from_deltaAICs_pairwise(deltaAICs_pairwise)

Arguments

deltaAICs_pairwise

A vector of AIC values.

Details

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

Value

rel_likes_AIC_pairwise A data.frame of relative likelihoods for each row (column 1) and the reference model (column 2).

Note

Go BEARS!

Author(s)

Nicholas J. Matzke matzke@berkeley.edu

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

1
2
3
4
5
6
7
8
test=1

AICvals = c(40, 50, 60)
deltaAICs = get_deltaAIC_pairwise_w_ref_model(AICvals, ref_model="best")
deltaAICs

rel_likes_AIC_pairwise = rel_likes_from_deltaAICs_pairwise(deltaAICs)
rel_likes_AIC_pairwise

BioGeoBEARS documentation built on May 29, 2017, 8:36 p.m.