get_Akaike_weight_ratio_from_Akaike_pairwise_weights: Get the ratio between the pairwise Akaike Weights

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

Description

Given the relative likelihoods of the models, calculate the Akaike weight of the models. Akaike weights sum to 1.

Usage

1

Arguments

Akaike_weights_pairwise

A 2-column data.frame of Akaike Weights for each pair of models.

Details

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

Value

Akaike_weight_ratios_pairwise A data.frame of Akaike Weight Ratios for each row (column 1) and the reference model (column 2). Note that only 2 models are being compared in each row, not all of them.

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_pairwise, get_Akaike_weights_from_rel_likes, rel_likes_from_deltaAICs, getAIC

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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

Akaike_weights_pairwise = get_Akaike_weights_from_rel_likes_pairwise(
rel_likes_AIC_pairwise)
Akaike_weights_pairwise

Akaike_weight_ratios_pairwise = get_Akaike_weight_ratio_from_Akaike_pairwise_weights(
Akaike_weights_pairwise)
Akaike_weight_ratios_pairwise


Search within the BioGeoBEARS package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.