Event-based analysis of host associations between fig wasp lineages and Ficus species implemented in TreeFitter. Event costs weighting schemes (left column) are ordered as follows: codivergence, duplication, sorting, and switching. Redundant exemplars of the same fig wasp and host-species association were removed for the purposes of the test. * Observed event significantly more than randomised trees P < 0.05. ** Observed events significantly less than randomised trees P < 0.05. *** Total event costs of observed trees were significantly less than the randomised trees P < 0.05.