Skip to main content
. 2016 Apr 1;65(6):1076–1084. doi: 10.1093/sysbio/syw026

Figure 1.

Figure 1.

The MEDUSA algorithm. 1) The one-rate model, M0, is first fit to the data using maximum likelihood. 2) Every possible two-rate model is then fit to the data, and the models are ranked by their likelihood score (with the best model, M1, at the bottom). 3) Every possible three-rate model that is consistent with the best two-rate model is then fit to the data, and the models are ranked as in the previous step. 4) Step 3 is repeated for increasingly complex models until the most complex model has been evaluated. 5) The AIC score is computed for the best model in each index (i.e., with 0,1, rate shifts). 6) The ΔAIC value is calculated for each pair of adjacent models (as the difference in their AIC scores). Each of the ΔAICi comparisons are evaluated in succession, where the more complex model is selected if the computed ΔAIC value exceeds some prespecified threshold, ΔAICcrit. This process continues until either the most complex model is accepted or the improvement in the AIC score is too small to exceed the ΔAICcrit threshold.