Background

Allopatric speciation is an enigma in many marine organisms because larval dispersal can potentially connect disjoint populations and thereby prevent the reproductive and morphological divergence that arises from prolonged isolation [17]. This is especially enigmatic in the Indo-Pacific region where many species range freely across this expanse without evidence for barriers to genetic exchange. This marine region harbors the planet's highest species diversity and endemism of marine fauna, and with the absence of explicit barriers, some have pushed controversial models of sympatric speciation to explain this elevated diversity [8, 9]. Even the proposed competing models of geographic speciation in the Indo-Pacific remain contentious and generally involve different facets of the classic dispersal or vicariance models for speciation. Under the one model (the "soft vicariance" model), speciations in peripheral archipelagoes result from a large widespread patchy ancestral species range connected by long distance gene flow that is eventually interrupted by oceanographic changes in temperature, sea level and/or currents [1012] which leads to peripheral isolation and endemism. Under a second model (the "colonization" model), speciations in peripheral (i.e peripatric) archipelagoes emerge from sweepstakes centrifugal colonizations from high-diversity central areas followed by prolonged periods of isolation with potential inward range shifts towards the central region [8, 9, 13, 14]. As in the case of terrestrial systems, using genetic data to distinguish these two scenarios is difficult because their expected genetic signatures are often similar, a situation that is exacerbated if demographic changes such as expansions and bottlenecks occur after an isolating event [10, 1517].

Likewise, discerning the modes of isolation and speciation using phylogenetic and phylogeographic data is often fraught with uncertainty because species can potentially shift their ranges [18] or loose the population genetic patterns associated with colonization >> 2N generations subsequent to isolation. Traditionally, vicariance and dispersal histories have been tested using phylogenetic approaches that use area cladograms [19, 20], consensus methods [21], or parsimony [22] in combination with some method of ancestral character state reconstruction. Although many of these classic methods were biased to find vicariance, recent methods incorporate more complex biogeography histories [23, 24] such as maximum likelihood [25, 26] and Bayesian methods that use both distributional and phylogenetic data [27]. Likewise, empirical studies have increasingly found dispersal/colonization to be a more common force behind allopatric speciation [15, 16, 2831]. Regardless, such analyses are often circular or ambiguous [32], and ancestral character reconstruction methods are always going to be hindered when elevated homoplasy in biogeographic patterns obscures the inferences in the older parts of a phylogeny [18, 31, 33].

Here we present an entirely different approach to testing for vicariance and dispersal histories. Instead of using phylogenetic comparative methods, we use coalescent population genetics to estimate ancestral demographic patterns across co-distributed taxa within a community. While this is in the spirit of previous suggested approaches that blend systematics and population genetics [34], the hierarchical Bayesian approach presented here tests vicariance and dispersal across taxon-pairs instead of doing so one at a time. Specifically we extend a hierarchical approximate Bayesian model (HABC) [35, 36] in order to quantify the strength of these two alternative models of allopatric isolation across marine endemic taxa that are co-distributed in peripheral archipelagoes.

Using HABC allows sidestepping the requirement of an explicit likelihood function. Instead, it uses a probabilistic simulation model to generate data sets to compare with the empirical data. By using summary statistics, one can easily compare the simulated and empirical data in order to estimate parameters of the simulation model via an approximate sample of the posterior distribution. In HABC we use hyper-parameters that describe processes across co-distributed taxon-pairs as well as sub-parameters that describe the demographic history of each taxon-pair.

First we describe the population genetic models whose hyper-parameters we want to estimate, and then we describe HABC. After detailing the HABC model, the summary statistics and the HABC implementation, we test these two biogeographic hypotheses given two comparative phylogeographic datasets: mtDNA CO1 data collected from multiple cowrie gastropod species that are endemic to the Hawaiian and Marquesan archipelagos. Specifically we use HABC to test whether marine vicariance ("soft vicariance") (H 1 ) or colonization (H 2 ) is the dominant isolating mechanism in either of these two marine communities. After using HABC to choose the best model of community isolation, we then use HABC to estimate temporal congruence in soft vicariance and/or colonization. We specifically use mtDNA sequence data collected from each co-distributed peripheral endemic taxon as well as each of the respective sister species which are usually more geographically widespread (Additional file 1).

Although this method specifically addresses questions relevant to the species diversity and patterns of endemism in the Indo-Pacific, it will be broadly applicable to many comparative phylogeographic datasets and biogeographic settings.

Methods description

Soft vicariance and colonization

Rather than classical terrestrial vicariance where a large ancestral population is broken up into two isolated sister populations (Figure 1A), our "soft vicariance" scenario (H1; Figure 1B) has two ancestral populations with effective sizes (θ τ )1 and (θ τ )2 that are connected by high to moderate gene flow (M 1 = 1.0 to 100.0 migrants per generation) until τ V , when M 1 decreases to 0.0 – 1.0 migrants per generation (M 2 ). If this second period is prolonged, then effective isolation and divergence can occur [37]. At τ V , the sizes of the two sister populations ((θ τ )1 and (θ τ )2) remain the same size or begin to grow exponentially until they reach their present sizes (θ 1 and θ 2 ) at τ = 0 depending on the draw from the prior (Figure 1B). As in [16, 17], time of vicariance, population sizes and migration rates are all free to vary across taxon-pairs according to their prior distributions.

Figure 1
figure 1

Three models of allopatric isolation. (A) Classic vicariance where a large ancestral population is broken up into two isolated sister populations. (B) Marine vicariance or "soft vicariance" where two ancestral populations with effective sizes (θ τ )1 and (θ τ )2 are connected by high to moderate gene flow (M 1 = 1.0 to 100.0 migrants per generation) until τ V , when M 1 decreases to 0.0 – 1.0 migrants per generation (M 2 ). (C) Isolation by colonization, where one of the sister populations is founded by a very small number of individuals (θ τ )2 that come from a larger source population (θ τ )1 at the time of colonization, τ C .

Under the colonization scenario (H 2 ; Figure 1C), one of the sister populations is founded by a very small number of individuals (θ τ )2 that come from a larger source population (θ τ )1 at the time of colonization, τ C with subsequent isolation. The small colonizing population (θ τ )2, then grows exponentially until it reaches its present effective size of θ2 at τ = 0. The primary parametric expectation that distinguishes marine vicariance (H 1 ) from colonization (H 2 ) is the relatively small effective population size of the colonized population ((θ τ )2) at the putative time of colonization (τ C ). Secondarily, the possibility of gene flow subsequent to the vicariance event τ V further distinguishes H 1 and H 2 , although this assumption can potentially be relaxed. With regards to different patterns in the molecular genetic data under H 1 and H 2 , under colonization (H 2 ) samples from peripheral populations will likely accumulate a surplus of rare alleles due to having a current effective population size that greatly expanded from a small size after the colonization time τ C . In addition, there is likely to be generally more genetic diversity under soft vicariance (H 1 ) due to there being two ancestral populations rather than just one.

To statistically quantify the relative support of these two hypotheses (H 1 and H 2 ) across Y co-distributed peripheral endemics and their sister taxa given DNA sequence data, we extend and modify the hierarchical approximate Bayesian computation (HABC) framework of [35, 36]. We also use this framework to estimate the temporal congruence of both vicariance and colonization across the Y phylogeographic data sets.

Although one could independently estimate (θ τ )2 in each of the Y data sets and use all of the independent posterior densities of (θ τ )2 to measure the support of H 1 and H 2 across the Y pairs, implementation of a hierarchical model accomplishes this from a single analysis and uses more information from the data via "borrowing strength" [3840].

Hierarchical approximate Bayesian computation

Our implementation of HABC is based on the framework presented in [35, 36, 41], and we review the important features here. In HABC, sub-parameters (Φ; within taxon-pair parameters) are conditional on "hyper-parameters" (φ) that quantify the variability of Φ among the Y taxon-pairs. Instead of explicitly calculating the likelihood expression P(Data|φ, Φ) to get a posterior distribution, we sample from the posterior distribution P((φ, Φ)|Data) by simulating the data K times under a coalescent model using candidate parameters randomly drawn from the joint hyper-prior and sub-prior distribution P(φ, Φ). A summary statistic vector D i for each simulated dataset is then compared to the observed summary statistic vector D* in order to generate random observations from the joint posterior distribution f(φ i , Φ i |D i ) by way of a rejection/acceptance algorithm followed by a weighted local linear regression step [42].

The rejection/acceptance algorithm involves calculating a summary statistic vector from the observed data and each of the K simulated data sets. Each simulated data set is generated using parameters that are randomly drawn from the joint prior. Following [35, 42], K Euclidian distances between the normalized observed summary statistic vector D* and each of the K normalized summary statistic vectors are then calculated (||D i - D*|| = d). An arbitrary proportion (tolerance) of the K simulations with the lowest d values are then used to obtain an approximate sample from the joint posterior after weighting and transforming the accepted parameter values using local linear regression [35, 42]. After the local linear regression step, accepted and transformed parameter values that fall outside their respective prior bounds are subsequently transformed to have the values of their respective prior boundaries. For example, if an accepted parameter value with a uniform prior of [0.0,1.0] is transformed by local linear regression to a negative number, it is subsequently transformed to 0.0.

Hierarchical Model of Community Colonization and Vicariance

Model hyper-parameters and sub-parameters are listed and described in Additional file 2. Three hyper-parameters are drawn from their respective hyper-prior distributions (Additional file 2A), and these include: 1.) Z, the number of descendent populations per Y taxon-pairs that arise by colonization at times T C = { τ C 1 , ... , τ C Z } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemivaq1aaSbaaSqaaiabdoeadbqabaGccqGH9aqpcqGG7bWEcqaHepaDdaqhaaWcbaGaem4qameabaGaeGymaedaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeqiXdq3aa0baaSqaaiabdoeadbqaaiabdQfaAbaakiabc2ha9baa@3F00@ ; 2.) the number of different vicariance times Ψ ¯ V = { t V 1 , ... , t V Ψ V } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafuiQdKLbaebadaWgaaWcbaGaemOvayfabeaakiabg2da9iabcUha7jabdsha0naaDaaaleaacqWGwbGvaeaacqaIXaqmaaGccqGGSaalcqGGUaGlcqGGUaGlcqGGUaGlcqGGSaalcqWG0baDdaqhaaWcbaGaemOvayfabaGaeuiQdK1aaSbaaWqaaiabdAfawbqabaaaaOGaeiyFa0haaa@40F4@ across (Y-Z) actual vicariance times T V = { τ V 1 , ... , τ V ( Y Z ) } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemivaq1aaSbaaSqaaiabdAfawbqabaGccqGH9aqpcqGG7bWEcqaHepaDdaqhaaWcbaGaemOvayfabaGaeGymaedaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeqiXdq3aa0baaSqaaiabdAfawbqaaiabcIcaOiabdMfazjabgkHiTiabdQfaAjabcMcaPaaakiabc2ha9baa@434C@ and 3.) Ψ C , the number of different colonization times Ψ ¯ C = { t C 1 , ... , t C Ψ C } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafuiQdKLbaebadaWgaaWcbaGaem4qameabeaakiabg2da9iabcUha7jabdsha0naaDaaaleaacqWGdbWqaeaacqaIXaqmaaGccqGGSaalcqGGUaGlcqGGUaGlcqGGUaGlcqGGSaalcqWG0baDdaqhaaWcbaGaem4qameabaGaeuiQdK1aaSbaaWqaaiabdoeadbqabaaaaOGaeiyFa0haaa@405C@ across Z actual colonization times T C = { τ C 1 , ... , τ C Z } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemivaq1aaSbaaSqaaiabdoeadbqabaGccqGH9aqpcqGG7bWEcqaHepaDdaqhaaWcbaGaem4qameabaGaeGymaedaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeqiXdq3aa0baaSqaaiabdoeadbqaaiabdQfaAbaakiabc2ha9baa@3F00@ .

The Z colonized populations (H 2 ) and remaining (Y-Z) population-pairs that arise via vicariance (H 1 ) then draw their population mutation sub-parameters ( θ MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiUdeNba4aaaaa@2DA0@ = {θ1,..., θY}, θ 1 = { θ 1 1 , ... , θ 1 Y } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiUdeNba4aadaWgaaWcbaGaeGymaedabeaakiabg2da9iabcUha7jabeI7aXnaaDaaaleaacqaIXaqmaeaacqaIXaqmaaGccqGGSaalcqGGUaGlcqGGUaGlcqGGUaGlcqGGSaalcqaH4oqCdaqhaaWcbaGaeGymaedabaGaemywaKfaaOGaeiyFa0haaa@3F1D@ , and θ 2 = { θ 2 1 , ... , θ 2 Y } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafqiUdeNba4aadaWgaaWcbaGaeGOmaidabeaakiabg2da9iabcUha7jabeI7aXnaaDaaaleaacqaIYaGmaeaacqaIXaqmaaGccqGGSaalcqGGUaGlcqGGUaGlcqGGUaGlcqGGSaalcqaH4oqCdaqhaaWcbaGaeGOmaidabaGaemywaKfaaOGaeiyFa0haaa@3F23@ ) from their respective sub-priors (Additional file 2C). Each taxon-pair's population mutation parameter θiis equal to the sum of θ 1 i MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeqiUde3aa0baaSqaaiabigdaXaqaaiabdMgaPbaaaaa@3003@ and θ 2 i MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeqiUde3aa0baaSqaaiabikdaYaqaaiabdMgaPbaaaaa@3005@ , the population mutation parameters of the descendent taxon-pairs at τ = 0 (present time). In this case θ = 2 (2N is the sum of the two haploid effective female population sizes of each pair of descendent populations and μ is the per gene per generation mutation rate).

Subsequently, each of the Y taxon-pairs draw their remaining sub-parameters from two different sets of sub-priors (Additional file 2D) that differentially characterize the two different histories (H 1 and H 2 ). Importantly, the uniform sub-prior for (θ τ )2 is [0.0, 0.05] for each of the Z species-pairs that arose via colonization (H 2 ), but (θ τ )2 is drawn from the uniform sub-prior [0.0, 1.0] for each of the other (Y - Z) taxon-pairs that arose through vicariance (H 1 ). Additionally, two sets of migration sub-parameters ( M 1 = { M 1 1 , ... , M 1 ( Y Z ) } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafmyta0Kba4aadaWgaaWcbaGaeGymaedabeaakiabg2da9iabcUha7jabd2eannaaDaaaleaacqaIXaqmaeaacqaIXaqmaaGccqGGSaalcqGGUaGlcqGGUaGlcqGGUaGlcqGGSaalcqWGnbqtdaqhaaWcbaGaeGymaedabaGaeiikaGIaemywaKLaeyOeI0IaemOwaOLaeiykaKcaaOGaeiyFa0haaa@4140@ and M 2 = { M 2 1 , ... , M 2 ( Y Z ) } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafmyta0Kba4aadaWgaaWcbaGaeGOmaidabeaakiabg2da9iabcUha7jabd2eannaaDaaaleaacqaIYaGmaeaacqaIXaqmaaGccqGGSaalcqGGUaGlcqGGUaGlcqGGUaGlcqGGSaalcqWGnbqtdaqhaaWcbaGaeGOmaidabaGaeiikaGIaemywaKLaeyOeI0IaemOwaOLaeiykaKcaaOGaeiyFa0haaa@4146@ ) are drawn from their respective sub-priors for the (Y - Z) taxon-pairs that arose through vicariance (H 1 ), whereas there is no migration under the colonization model (Figure 1C; Additional file 2D). In both vicariance and colonization models, the relative effective size of the ancestral central populations ( ( θ τ ) 1 = { ( θ τ ) 1 1 , ... , ( θ τ ) 1 ( Y Z ) } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeiikaGIafqiUdeNba4aadaWgaaWcbaGaeqiXdqhabeaakiabcMcaPmaaBaaaleaacqaIXaqmaeqaaOGaeyypa0Jaei4EaSNaeiikaGIaeqiUde3aaSbaaSqaaiabes8a0bqabaGccqGGPaqkdaqhaaWcbaGaeGymaedabaGaeGymaedaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeiikaGIaeqiUde3aaSbaaSqaaiabes8a0bqabaGccqGGPaqkdaqhaaWcbaGaeGymaedabaGaeiikaGIaemywaKLaeyOeI0IaemOwaOLaeiykaKcaaOGaeiyFa0haaa@4E00@ and ( θ τ ) 1 = { ( θ τ ) 1 1 , ... , ( θ τ ) 1 Z } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeiikaGIafqiUdeNba4aadaWgaaWcbaGaeqiXdqhabeaakiabcMcaPmaaBaaaleaacqaIXaqmaeqaaOGaeyypa0Jaei4EaSNaeiikaGIaeqiUde3aaSbaaSqaaiabes8a0bqabaGccqGGPaqkdaqhaaWcbaGaeGymaedabaGaeGymaedaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeiikaGIaeqiUde3aaSbaaSqaaiabes8a0bqabaGccqGGPaqkdaqhaaWcbaGaeGymaedabaGaemOwaOfaaOGaeiyFa0haaa@4A26@ ) are also drawn from their respective sub-priors [0.5, 1.0]. If (Y - Z) ≥ 1, the Ψ V different vicariance times ( Ψ V = { t V 1 , ... , t V Ψ V } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafuiQdKLba4aadaWgaaWcbaGaemOvayfabeaakiabg2da9iabcUha7jabdsha0naaDaaaleaacqWGwbGvaeaacqaIXaqmaaGccqGGSaalcqGGUaGlcqGGUaGlcqGGUaGlcqGGSaalcqWG0baDdaqhaaWcbaGaemOvayfabaGaeuiQdK1aaSbaaWqaaiabdAfawbqabaaaaOGaeiyFa0haaa@40F1@ ) are drawn from the uniform prior [0.0, 5.0]. Likewise, if Z ≥ 1, the Ψ C different colonization times ( Ψ ¯ C = { t C 1 , ... , t C Ψ C } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafuiQdKLbaebadaWgaaWcbaGaem4qameabeaakiabg2da9iabcUha7jabdsha0naaDaaaleaacqWGdbWqaeaacqaIXaqmaaGccqGGSaalcqGGUaGlcqGGUaGlcqGGUaGlcqGGSaalcqWG0baDdaqhaaWcbaGaem4qameabaGaeuiQdK1aaSbaaWqaaiabdoeadbqabaaaaOGaeiyFa0haaa@405C@ ) are drawn from the uniform prior [0.0, 5.0]. After the Ψ V MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafuiQdKLba4aadaWgaaWcbaGaemOvayfabeaaaaa@2EDA@ different viciarance times are drawn, they are randomly assigned to the (Y - Z) taxon-pairs that arose through vicariance, such that the (Y - Z) actual vicariance times are T V = { τ V 1 , ... , τ V ( Y Z ) } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemivaq1aaSbaaSqaaiabdAfawbqabaGccqGH9aqpcqGG7bWEcqaHepaDdaqhaaWcbaGaemOvayfabaGaeGymaedaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeqiXdq3aa0baaSqaaiabdAfawbqaaiabcIcaOiabdMfazjabgkHiTiabdQfaAjabcMcaPaaakiabc2ha9baa@434C@ . Specifically, the Ψ V different vicariance times ( t V 1 , ... , t V Ψ V MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiDaq3aa0baaSqaaiabdAfawbqaaiabigdaXaaakiabcYcaSiabc6caUiabc6caUiabc6caUiabcYcaSiabdsha0naaDaaaleaacqWGwbGvaeaacqqHOoqwdaWgaaadbaGaemOvayfabeaaaaaaaa@39D2@ ) are sequentially assigned to the first Ψ V actual times τ V 1 , ... , τ V Ψ V MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeqiXdq3aa0baaSqaaiabdAfawbqaaiabigdaXaaakiabcYcaSiabc6caUiabc6caUiabc6caUiabcYcaSiabes8a0naaDaaaleaacqWGwbGvaeaacqqHOoqwdaWgaaadbaGaemOvayfabeaaaaaaaa@3A7A@ . The remaining actual times ( τ V ( Ψ V + 1 ) , ... , τ V ( Y Z ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeqiXdq3aa0baaSqaaiabdAfawbqaaiabcIcaOiabfI6aznaaBaaameaacqWGwbGvaeqaaSGaey4kaSIaeGymaeJaeiykaKcaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeqiXdq3aa0baaSqaaiabdAfawbqaaiabcIcaOiabdMfazjabgkHiTiabdQfaAjabcMcaPaaaaaa@4230@ ) are assigned by randomly drawing with replacement from the Ψ V MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafuiQdKLba4aadaWgaaWcbaGaemOvayfabeaaaaa@2EDA@ matrix of different times { t V 1 , ... , t V Ψ V MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiDaq3aa0baaSqaaiabdAfawbqaaiabigdaXaaakiabcYcaSiabc6caUiabc6caUiabc6caUiabcYcaSiabdsha0naaDaaaleaacqWGwbGvaeaacqqHOoqwdaWgaaadbaGaemOvayfabeaaaaaaaa@39D2@ }. Likewise, the actual colonization times ( T C = { τ C 1 , ... , τ C Z } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemivaq1aaSbaaSqaaiabdoeadbqabaGccqGH9aqpcqGG7bWEcqaHepaDdaqhaaWcbaGaem4qameabaGaeGymaedaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeqiXdq3aa0baaSqaaiabdoeadbqaaiabdQfaAbaakiabc2ha9baa@3F00@ ) are drawn using the same method (Additional file 2D). Both sets of actual vicariance and actual colonization times (T V and T C ) are in units of θi/μ generations, where θiis each taxon-pair's population mutation parameter and μ is the per gene per generation mutation rate.

In addition to hyper-parameter estimation, we also use the HABC algorithm to sample from the posterior distributions of sub-parameter summaries (Additional file 2E) in order to quantify the support for H 1 and H 2 and secondarily estimate levels of temporal congruence in colonization and/or soft vicariance. Namely, we obtain estimates of the arithmetic means of three sub-parameters (E((θ τ )2), E(τ C ), E(τ V )), as well as the dispersion indexes of τ C and τ V C and Ω V respectively). The sub-parameter summary E((θ τ )2) is expected to be < 0.05 if H2 is dominate across the Y taxon-pairs (Z = Y). The dispersion indexes Ω C and Ω V of the Z colonization times ( τ C 1 , ... , τ V Z MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeqiXdq3aa0baaSqaaiabdoeadbqaaiabigdaXaaakiabcYcaSiabc6caUiabc6caUiabc6caUiabcYcaSiabes8a0naaDaaaleaacqWGwbGvaeaacqWGAbGwaaaaaa@38A0@ ) and the (Y - Z) vicariance times ( τ V 1 , ... , τ V ( Y Z ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeqiXdq3aa0baaSqaaiabdAfawbqaaiabigdaXaaakiabcYcaSiabc6caUiabc6caUiabc6caUiabcYcaSiabes8a0naaDaaaleaacqWGwbGvaeaacqGGOaakcqWGzbqwcqGHsislcqWGAbGwcqGGPaqkaaaaaa@3CA0@ ) measure the ratio of the variance to the mean of these two sets of times and are therefore expected to be ≈ 0.0 when if there is temporal congruence in colonization or soft vicariance.

Two Stage Model Implementation

We implement the hierarchical analysis in two stages. In stage 1, an unconstrained general model is used to quantify the support for H 1 and H 2 across the Y taxon pairs. This first stage is accomplished by simulating K random draws from a general hyper-prior and using the HABC algorithm to sample from the posteriors of? Z and E((θ τ )2). Under our hierarchical model, H 1 and H 2 are equally probable because Z is a hyper-parameter drawn from the discrete uniform hyper-prior distribution [0, Y].

In the stage 2 analysis, K random draws are taken from a constrained hyper-prior where Z is fixed to be the mode of its posterior distribution obtained in stage 1. There are equal numbers of hyper-prior draws (K) obtained in both stages. The stage 2 analysis allows obtaining posterior samples of hyper-parameters and sub-parameter summaries (Additional file 2B &2E) that quantify and summarize the levels of temporal concordance in colonization ( T C = { τ C 1 , ... , τ C Z } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemivaq1aaSbaaSqaaiabdoeadbqabaGccqGH9aqpcqGG7bWEcqaHepaDdaqhaaWcbaGaem4qameabaGaeGymaedaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeqiXdq3aa0baaSqaaiabdoeadbqaaiabdQfaAbaakiabc2ha9baa@3F00@ ) and/or vicariance ( T V = { τ V 1 , ... , τ V ( Y Z ) } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemivaq1aaSbaaSqaaiabdAfawbqabaGccqGH9aqpcqGG7bWEcqaHepaDdaqhaaWcbaGaemOvayfabaGaeGymaedaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeqiXdq3aa0baaSqaaiabdAfawbqaaiabcIcaOiabdMfazjabgkHiTiabdQfaAjabcMcaPaaakiabc2ha9baa@434C@ ). These include: 1.) Ψ C , the number of different colonization times per Z colonization events; 2.) Ψ V , the number of different vicariance times per (Y - Z) vicariance events; 3.) Ω C , the dispersion index of τ C (the ratio of the variance to the mean in the Z actual colonization times, T C ); and 4.) Ω V , the dispersion index of τ V (the ratio of the variance to the mean in (Y - Z) actual vicariance times, T V ).

Summary Statistic Vector for HABC Acceptance/Rejection Algorithm

In order to implement the HABC procedure, we use two modified versions of the summary statistic vector D used in [35]. For the Marquesas summary statistic vector (D Marquesas ), we calculate eight summary statistics collected from each taxon-pair (56 total). This includes π b (average pairwise differences between each central and peripheral Marquasan taxon-pair), π (average pairwise differences among all individuals within each taxon-pair), π w (average pairwise differences within descendent populations of each taxon-pair), θ W (Watterson's estimator of θ of each taxon-pair), and Var(π - θ W ). For π, θ W and Var(π - θ W ), each of the Y taxon-pairs are treated as a single population sample ( n 1 + n 2 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafmOBa4Mba4aadaWgaaWcbaGaeGymaedabeaakiabgUcaRiqbd6gaUzaaoaWaaSbaaSqaaiabikdaYaqabaaaaa@31EF@ ). The Marquesas summary statistic vector, D Marquesas also includes calculating π, θ W , and Var(π - θ W ) in each of the Y peripheral Marquasan samples ( n 2 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafmOBa4Mba4aadaWgaaWcbaGaeGOmaidabeaaaaa@2E6D@ ) that are putatively colonized and we denote these as π2, (θ W )2, and Var(π - θ W )2. Under this scheme, the vector D Marquesas is

D M a r q u e s a s = { π 1 π w 1 θ W 1 Var( π θ W ) 1 π 2 1 ( θ W ) 2 1 Var( π θ W ) 2 1 π b 1 . . . . . . . . . . . . . . . . . . . . . . . . π Y π w Y θ W Y Var( π θ W ) Y π 2 Y ( θ W ) 2 Y Var( π θ W ) 2 Y π b Y } , MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeCiraq0aaSbaaSqaaiabd2eanjabdggaHjabdkhaYjabdghaXjabdwha1jabdwgaLjabdohaZjabdggaHjabdohaZbqabaGccqGH9aqpdaGadaqaauaabeqafGaaaaaaaeaacqaHapaCdaahaaWcbeqaaiabigdaXaaaaOqaaiabec8aWnaaDaaaleaacqWG3bWDaeaacqaIXaqmaaaakeaacqaH4oqCdaqhaaWcbaGaem4vaCfabaGaeGymaedaaaGcbaGaeeOvayLaeeyyaeMaeeOCaiNaeeikaGIaeqiWdaNaeyOeI0IaeqiUde3aaSbaaSqaaiabdEfaxbqabaGccqqGPaqkdaahaaWcbeqaaiabigdaXaaaaOqaaiabec8aWnaaDaaaleaacqaIYaGmaeaacqaIXaqmaaaakeaacqGGOaakcqaH4oqCdaWgaaWcbaGaem4vaCfabeaakiabcMcaPmaaDaaaleaacqaIYaGmaeaacqaIXaqmaaaakeaacqqGwbGvcqqGHbqycqqGYbGCcqqGOaakcqaHapaCcqGHsislcqaH4oqCdaWgaaWcbaGaem4vaCfabeaakiabbMcaPmaaDaaaleaacqaIYaGmaeaacqaIXaqmaaaakeaacqaHapaCdaqhaaWcbaGaemOyaigabaGaeGymaedaaaGcbaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeiOla4cabaGaeqiWda3aaWbaaSqabeaacqWGzbqwaaaakeaacqaHapaCdaqhaaWcbaGaem4DaChabaGaemywaKfaaaGcbaGaeqiUde3aa0baaSqaaiabdEfaxbqaaiabdMfazbaaaOqaaiabbAfawjabbggaHjabbkhaYjabbIcaOiabec8aWjabgkHiTiabeI7aXnaaBaaaleaacqWGxbWvaeqaaOGaeeykaKYaaWbaaSqabeaacqWGzbqwaaaakeaacqaHapaCdaqhaaWcbaGaeGOmaidabaGaemywaKfaaaGcbaGaeiikaGIaeqiUde3aaSbaaSqaaiabdEfaxbqabaGccqGGPaqkdaqhaaWcbaGaeGOmaidabaGaemywaKfaaaGcbaGaeeOvayLaeeyyaeMaeeOCaiNaeeikaGIaeqiWdaNaeyOeI0IaeqiUde3aaSbaaSqaaiabdEfaxbqabaGccqqGPaqkdaqhaaWcbaGaeGOmaidabaGaemywaKfaaaGcbaGaeqiWda3aa0baaSqaaiabdkgaIbqaaiabdMfazbaaaaaakiaawUhacaGL9baacqGGSaalaaa@BE4F@

where each of the Y rows correspond to the Y taxon-pairs (Y = 7) and the eight columns correspond to the eight summary statistic classes. After these 8 × Y summary statistics are calculated, we must choose a way to consistently order the Y rows within D Marquesas . Instead of consistently ordering the rows by each taxon-pair's sample size, we increase the efficiency of our HABC estimator by ordering the rows based on the taxon-pair's Tajima's D [43] calculated from the taxon-pair's peripheral population sample ( n 2 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGafmOBa4Mba4aadaWgaaWcbaGaeGOmaidabeaaaaa@2E6D@ ). For example, row 1 would contain the eight summary statistics collected from the taxon-pair with the lowest Tajima's D, and the Ythrow would contain the eight summary statistics collected from the taxon-pair with the highest Tajima's D.

The motive for this ordering procedure is to extract more information from the data with respect to the estimated hyper-parameters than would be accomplished by ordering consistently by sample size [35]. For an efficient HABC estimator, there should be a strong correlation between pair-wise differences in hyper-parameter values (i.e. E(θ τ )2 or Z) and Euclidian distances between corresponding pairs of summary statistic vectors from corresponding pairs of simulated data sets. If ordering by sample size rather than ranked values of an informative summary statistic, pair-wise values of Z or E(θ τ )2 are not predicted to correlate with Euclidian distances of D calculated from corresponding pairwise simulated data sets. This is because sample size has no bearing on how each of the Y taxon-pairs are assigned to histories H 1 and H 2 when drawing values of Z from the hyper-prior. On the other hand, ordering by an informative summary statistic will minimize Euclidian distances among data sets with equal or similar values of Z regardless of which of the Y taxon pairs were assigned histories H 1 and H 2 . The consequent improved accuracy in HABC estimation that results from this ordering procedure is based on the exchangeability of the Y rows within D Marquesa (D1,...,D Y ). If Φ i and D i are invariant to the permutations of the indexes (1 ,..., Y) and the ithtaxon-pair's sample size is unrelated to the expectation of its Φ i or D i , there is exchangeability in the model [44]. We order by the peripheral Tajima's D because it is a summary statistic that is predicted to be informative with respect to demographic parameter differences between histories H 1 and H 2 (i.e. the ratio of each taxon-pair's (θ τ )2 and θ2).

For the analysis of the 11 Hawaiian taxon-pairs, we use a reduced summary statistic vector D Hawaii to avoid null values that would arise in population samples that only included one individual (Additional file 1B). The vector D Hawaii in this case is

D H a w a i i = { π 1 θ W 1 Var( π θ W ) 1 π b 1 . . . . . . . . . . . . ( π ) Y θ W Y Var( π θ W ) Y π b Y } , MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeCiraq0aaSbaaSqaaiabdIeaijabdggaHjabdEha3jabdggaHjabdMgaPjabdMgaPbqabaGccqGH9aqpdaGadaqaauaabeqafqaaaaaabaGaeqiWda3aaWbaaSqabeaacqaIXaqmaaaakeaacqaH4oqCdaqhaaWcbaGaem4vaCfabaGaeGymaedaaaGcbaGaeeOvayLaeeyyaeMaeeOCaiNaeeikaGIaeqiWdaNaeyOeI0IaeqiUde3aaSbaaSqaaiabdEfaxbqabaGccqqGPaqkdaahaaWcbeqaaiabigdaXaaaaOqaaiabec8aWnaaDaaaleaacqWGIbGyaeaacqaIXaqmaaaakeaacqGGUaGlaeaacqGGUaGlaeaacqGGUaGlaeaacqGGUaGlaeaacqGGUaGlaeaacqGGUaGlaeaacqGGUaGlaeaacqGGUaGlaeaacqGGUaGlaeaacqGGUaGlaeaacqGGUaGlaeaacqGGUaGlaeaacqGGOaakcqaHapaCcqGGPaqkdaahaaWcbeqaaiabdMfazbaaaOqaaiabeI7aXnaaDaaaleaacqWGxbWvaeaacqWGzbqwaaaakeaacqqGwbGvcqqGHbqycqqGYbGCcqqGOaakcqaHapaCcqGHsislcqaH4oqCdaWgaaWcbaGaem4vaCfabeaakiabbMcaPmaaCaaaleqabaGaemywaKfaaaGcbaGaeqiWda3aa0baaSqaaiabdkgaIbqaaiabdMfazbaaaaaakiaawUhacaGL9baacqGGSaalaaa@767C@

and the rows were likewise sorted by Tajima's D calculated from the peripheral populations.

Application on real data sets

Two Comparative Phylogeographic Implementations

We use this HABC method on two comparative phylogeographic data sets of Pacific cowrie gastropods (Cypraeidae). The first dataset consists of seven sister taxon-pairs of cowries that each consist of a descendent endemic species or sub-species that is distributed within the peripherally located Marquesas archipelago as well each sister taxon that is more geographically widespread (Additional file 1A). The second dataset consists of eleven sister taxon-pairs of cowries co-distributed within the peripherally located Hawaiian archipelago. Like in the former data set, each pair consists of a Hawaiian endemic and a more widespread sister (Additional file 1B). Both data sets consisted of 614 base pairs of the CO1 mtDNA locus collected from 2–93 individuals per taxon-pair (Additional file 1). The HABC procedure was implemented using a modified version of the MSBAYES comparative phylogeographic software pipeline [35, 36] consisting of several C and R programs that are run with a Perl "front-end" and utilizes a finite sites version of Hudson's classic coalescent simulator [45]. For both analyses, 2,000,000 random draws were sampled from the hyper-prior and 1,000 – 2,000 accepted draws were used to construct hyper-posterior samples (tolerance of 0.0005 and 0.001 respectively) using the HABC acceptance/rejection algorithm.

The prior bounds for hyper-parameters and sub-parameters are given in Additional file 2. To explore the sensitivity of using different prior assumptions, we used two different upper bounds of θ (θ MAX = 25.0 and 50.0 for the Marquesas data; θ MAX = 50.0 and 100.0 for the Hawaiian data). These values correspond to 2× to 4× the range of within species θ estimates, where the average number of pairwise differences was used as an estimator of each species specific θ [46]. To further explore how sensitive results are to model assumptions, we alternatively ran the stage 1 analysis with the post-colonization migration prior allowed to be [0.0, 1.0] instead of zero under the colonization model (H 2 ), as well as allowing post-isolation migration (M2) to be zero under the soft vicariance model (H 1 ).

We calculate Bayes factors to compare the relative hyper-posterior support of either history (soft vicariance and colonization) being dominate across all Y taxon pairs (e.g Z = 0 or Z = Y) against all other scenarios including mixed scenarios. We accomplish this by comparing relative hyper-posterior support of these two scenarios while accounting for the relative hyper-prior support for these two scenarios [47]. To calculate this Bayes factor, we use an arbitrary partition of hyper-parameter space to delineate where H 1 or H 2 is dominate across all Y taxon-pairs. For example, to evaluate the evidence of colonization being dominate across all Y taxon pairs (Z = Y) against all other scenarios (Z <Y), the approximate Bayes factor B(Z = Y, Z <Y) is the ratio of the two approximate hyper-posteriors of these two scenarios divided by the ratio of the two hyper-priors of these two scenarios,

B(Z = Y, Z <Y) = (P(Z = Y|D = D*)/P(Z <Y|D = D*))/(P(Z = Y)/P(Z <Y))

Alternately, we examine these two scenarios by using an arbitrary partition of E((θ τ )2) such that E((θ τ )2) = 0.05 represents a scenario where colonization is dominant across all Y taxon pairs, and E((θ τ )2) > 0.05 represents all other scenarios. In this case, the approximate Bayes factor is

B ( E ( ( θ τ ) 2 ) 0.05 , E ( ( θ τ ) 2 ) > 0.05 ) = ( P ( E ( ( θ τ ) 2 ) 0.05 | D = D * ) / P ( E ( ( θ τ ) 2 ) > 0.05 | D = D * ) ) ( P ( E ( ( θ τ ) 2 ) 0.05 ) / P ( E ( ( θ τ ) 2 ) > 0.05 ) ) . MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemOqaiKaeiikaGIaemyrauKaeiikaGIaeiikaGIaeqiUde3aaSbaaSqaaiabes8a0bqabaGccqGGPaqkdaWgaaWcbaGaeGOmaidabeaakiabcMcaPiabgsMiJkabicdaWiabc6caUiabicdaWiabiwda1iabcYcaSiabdweafjabcIcaOiabcIcaOiabeI7aXnaaBaaaleaacqaHepaDaeqaaOGaeiykaKYaaSbaaSqaaiabikdaYaqabaGccqGGPaqkcqGH+aGpcqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqGGPaqkcqGH9aqpjuaGdaWcaaqaaiabcIcaOmaalyaabaGaemiuaaLaeiikaGIaemyrauKaeiikaGIaeiikaGIaeqiUde3aaSbaaeaacqaHepaDaeqaaiabcMcaPmaaBaaabaGaeGOmaidabeaacqGGPaqkcqGHKjYOcqaIWaamcqGGUaGlcqaIWaamcqaI1aqndaabbaqaaiabhseaejabg2da9iabhseaenaaCaaabeqaaiabcQcaQaaacqGGPaqkaiaawEa7aaqaaiabdcfaqjabcIcaOiabdweafjabcIcaOiabcIcaOiabeI7aXnaaBaaabaGaeqiXdqhabeaacqGGPaqkdaWgaaqaaiabikdaYaqabaGaeiykaKIaeyOpa4JaeGimaaJaeiOla4IaeGimaaJaeGynauZaaqqaaeaacqWHebarcqGH9aqpcqWHebardaahaaqabeaacqGGQaGkaaGaeiykaKIaeiykaKcacaGLhWoaaaaabaWaaSGbaeaacqGGOaakcqWGqbaucqGGOaakcqWGfbqrcqGGOaakcqGGOaakcqaH4oqCdaWgaaqaaiabes8a0bqabaGaeiykaKYaaSbaaeaacqaIYaGmaeqaaiabcMcaPiabgsMiJkabicdaWiabc6caUiabicdaWiabiwda1iabcMcaPaqaaiabdcfaqjabcIcaOiabdweafjabcIcaOiabcIcaOiabeI7aXnaaBaaabaGaeqiXdqhabeaacqGGPaqkdaWgaaqaaiabikdaYaqabaGaeiykaKIaeyOpa4JaeGimaaJaeiOla4IaeGimaaJaeGynauJaeiykaKcaaiabcMcaPaaakiabc6caUaaa@A293@

Evaluating the evidence of soft vicariance being dominant across all Y taxon-pairs (Z = 0) against all other scenarios (Z > 0) is identically accomplished by calculating the two corresponding Bayes factors B(Z = 0, Z > 0) and B(E((θ τ )2) > 0.05, E((θ τ )2) ≤ 0.05). To calculate each Bayes factor, we use the accepted hyper-parameter values from the hyper-posterior sample and the random draws from the hyper-prior.

Marquesas Results

The HABC analysis yielded a hyper-posterior that strongly supports H 2 , where colonization histories (Figures 2A &2B) are inferred across all seven Marquesan endemics. Irrespective of tolerance (0.0005 or 0.001), prior assumptions on the upper bound of θ, (θ MAX ), the hyper-parameter mode estimates of Z and E((θ τ )2) were 7.00 and 0.00 – 0.07 respectively (Figures 2A &2B; Additional file 3A &3B). Furthermore, when using the raw untransformed accepted values to obtain our posterior sample of Z, a history of community colonization is also inferred (mode estimate of Z is 7.0) albeit the 95% credibility intervals were wider. This suggests that the dominant mode of speciation has generally been from colonization by a small number of individuals followed by at least a 20-fold demographic expansion to current population levels. Both Bayes factors evaluating the evidence for colonization across all Y = 7 taxon-pairs against all other histories (Z < 7) indicate moderate support for the former scenario (B(Z = Y, Z <Y) = 6.23; B(E((θ τ )2) > 0.05, E((θ τ )2) ≤ 0.05) = 6.79).

Figure 2
figure 2

Hyper-posterior and Hyper-prior samples given Marquesas DNA sequence data (seven taxon-pairs). Dashed lines depict hyper-prior distributions and solid lines depict hyper-posterior distributions. Stage 1 hyper-parameter estimates: (A) Average effective population size E((θ τ )2) of the putatively colonized endemic populations at the seven isolation times (T C and T V ). (B) The number of descendent populations per seven (Y) taxon-pairs that arise by colonization at times T C = { τ C 1 , ... , τ C Z } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemivaq1aaSbaaSqaaiabdoeadbqabaGccqGH9aqpcqGG7bWEcqaHepaDdaqhaaWcbaGaem4qameabaGaeGymaedaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeqiXdq3aa0baaSqaaiabdoeadbqaaiabdQfaAbaakiabc2ha9baa@3F00@ . Stage 2 hyper-parameter estimates where hyper-prior is conditional given constant value of Z = 7: (C) ΩC dispersion index of Z = 7 colonization times; Ω C = Var(τ C )/E(τ C ) where τ C is colonization time. (D) E(τ C ), average colonization time across Z = 7 colonization times. For each estimate, tolerance was 0.001 (2,000 accepted draws) using the local regression algorithm.

In stage 2, where we constrained the hyper-parameter Z to be 7, the hyper-posterior best supported temporal concordance in colonization across all seven Marquesas endemics. In this case, estimates of Ψ C and Ω C were 1.00 (95% quantiles: 1.00 – 2.14) and 0.00 (95% quantiles: 0.00 – 0.17) respectively (Additional file 3A; Figure 2). The mean time of colonization E(τ C ) was 1.58 My ago if we assume a 1% divergence rate per My (Figure 2D). The Bayes factor evaluating the evidence for simultaneous colonization (Ω C < 0.05) against non-simultaneous colonization (Ω C = 0.05) yielded strong support for simultaneous colonization (B C < 0.05, Ω C = 0.05) = 36.73). In this case the Bayes factor is calculated from an arbitrary partition of hyper-posterior space conditional on Z = 7. In this case the arbitrary threshold of simultaneous colonization is Ω C < 0.05 such that the Bayes factor is

B C < 0.05, Ω C ≥ 0.05) = (P C < 0.05|D = D*)/P C ≥ 0.05|D = D*))/(P C < 0.05)/P C ≥ 0.05)).

Furthermore, the hyper-posterior estimates were not sensitive to assumptions about post-isolation migration. Under the stage 1 analysis, estimates of Z and E((θ τ )2) were 6.99 and 0.02 (95% credibility intervals of 3.34 – 7.00 and 0.00 – 0.32) when the post-colonization migration prior was [0.0, 1.0] instead of 0.0 under the colonization model (H 2 ).

Hawaii Results

In contrast to the Marquesas analysis, the hyper-posteriors were much more similar to the hyper-priors (Figure 3). The less informative posteriors are consistent with the lower Hawaiian sample sizes (Additional file 1B) and consequence of using of a reduced number of summary statistics (D Hawaii ) for the HABC acceptance/rejection algorithm. Although the hyper-posterior of Z given the Hawaiian data suggests a mixed history of both colonization and soft vicariance (Figure 3), larger sample sizes will be required to verify this. This weak inference is demonstrated by Bayes factors giving weak support for vicariance or colonization across all 11 Hawaiian endemics. Specifically, the calculated Bayes factors B(Z = 0, Z > 0), B(Z = 11, Z < 11), B(E((θ τ )2) < 0.05, (E((θ τ )2) = 0.05) < 1.0) and B(E((θ τ )2) = 0.05, E((θ τ )2) < 0.05) < 1.0) where all weak (< 1.0). Although the Hawaiian data yielded weak inference, the credibility intervals for Z ranged from 0.00 to 9.22 (Additional file 3C and 3D), suggesting that the history of isolation likely involved both soft vicariance and colonization. Likewise, estimates of Ω C and Ω V did not suggest simultaneous vicariance or colonization, and likewise yielded less informative posteriors than obtained in the Marquesas analysis (Figures 3C &3D). As was the case of the Marquesas analysis, hyper-posterior estimates were not sensitive to tolerance, prior assumptions on the upper bound of θ, (Additional file 3C &3D), and prior assumptions of post-isolation migration. Under the stage 1 analysis using the alternative model assumptions where post-vicariance migration (M2) was 0.0 under the soft vicariance model, estimates of Z and E((θ τ )2) were respectively 3.64 and 0.66 (95% credibility intervals 0.00 – 9.74 and 0.35 – 0.97).

Figure 3
figure 3

Hyper-posterior and Hyper-prior samples given Hawaiian DNA sequence data (11 taxon-pairs). Dashed lines depict hyper-prior distributions and solid lines depict hyper-posterior distributions. Stage 1 hyper-parameter estimates: (A) Average effective population size E((θ τ )2) of the putatively colonized endemic populations at times the 11 isolation times (T C and T V ) across the seven (Y) taxon-pairs. (B) The number of descendent populations per seven (Y) taxon-pairs that arise by colonization at times T C = { τ C 1 , ... , τ C Z } MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemivaq1aaSbaaSqaaiabdoeadbqabaGccqGH9aqpcqGG7bWEcqaHepaDdaqhaaWcbaGaem4qameabaGaeGymaedaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeqiXdq3aa0baaSqaaiabdoeadbqaaiabdQfaAbaakiabc2ha9baa@3F00@ . Stage 2 hyper-parameter estimates where hyper-prior is conditional given constant value of Z = 4: (C) ΩC dispersion index of Z = 4 colonization times; Ω C = Var(τ C )/E(τ C ) where τ C is colonization time. (D) Ω V dispersion index of Z = 7 soft vicariance times; Ω V = Var(τ V )/E(τ V ) where τ V is soft vicariance time time. (E) E(τ C ), average colonization time across Z = 4 colonization times. (F) E(τ V ), average soft vicariance time across 7 soft vicariance times. For each estimate, tolerance was 0.001 (2,000 accepted draws) using the local regression algorithm.

Simulation testing

Simulated Data Sets

One of the chief advantages of HABC and ABC methods is the ease at which one can evaluate the performance, bias, and precision of the estimator via simulations. Specifically, we can simulate pseudo-observed data sets with known hyper-parameter values and compare estimates with their true values. Even though the most time-consuming task is to simulate a large enough prior and/or hyper-prior in ABC and HABC, once it is produced for the analysis of the real observed data set, it can subsequently be used to quantify bias and precision on the pseudo-observed data sets.

To this end, we simulate pseudo-observed data sets with known values of Z and E((θ τ )2) under the general model (stage 1), and Ψ C , Ψ V , E(τ C ), E(τ V ), Ω C , and Ω V under the constrained model (stage 2). We repeat this for both sample sizes used in the empirical implementation (D Marquesas and D Hawaii ). To simulate a data set (pseudo-observed data), all hyper-parameters and sub-parameters were randomly drawn from the prior and a corresponding D Marquesas or D Hawaii was subsequently calculated. For each corresponding pseudo-observed D Marquesas and D Hawaii , a hyper-posterior sample was obtained from the HABC rejection-sampling algorithm given 2,000,000 random draws from the hyper-prior. For every pseudo-observed (simulated) data set, an estimate is obtained from the posterior mode. We report estimates using a tolerance of 0.001 corresponding to 2,000 accepted draws from the hyper-prior. For both D Marquesas and D Hawaii and stage 1 and two, 250 estimates were made from 250 simulated pseudo-observed datasets.

In addition to these evaluations, we assess the ability to distinguish H 1 and H 2 when the true history is a special asymmetrical case of soft vicariance (H 1 ). To this end, we obtain HABC estimates of Z and E((θ τ )2) on 250 pseudo-observed datasets of size D Marquesas simulated under H 1 where true values of Z and E((θ τ )2) are 0 and 0.0 – 0.05 respectively. Estimates for Z and E((θ τ )2) were obtained using a general prior (stage 1).

Another factor we explored was three other methods of post-acceptance transformation other than local linear regression (LLR) for obtaining a sample of the hyper-posterior distribution of the Z hyper-parameter. Because Z is a discrete integer (ranging from 0 to Y), it might be most appropriate to preserve Z as a discrete integer when using an ABC regression technique that implements polychotomous logit regression (PLR) [4850]. We therefore used simulations to compare the effectiveness of LLR with: 1. PLR; 2. using the raw accepted values (RAW); and 3. a cumulative logit regression model (CLR). To compare the estimator bias and precision of these four methods, we calculated the root mean square error (RMSE) from 1000 estimates using each of these four methods on 1000 simulated pseudo-observed data sets with parameters randomly drawn from the priors. The methods for CLR and PLR are implemented in the VGAM package distributed by T. Yee under R http://www.stat.aukland.ac.nz/~yee. The LLR method is implemented from R functions made available by M. Beaumont.

Results of Simulation Testing

Our simulations identified conditions under which the HABC estimator is reliable as well as conditions under which it is less reliable. At stage 1 of the HABC analysis, the estimates of E((θ τ )2) were consistently close to the corresponding true values of E((θ τ )2), although the larger sample sizes matching the Marquesas data set (D Marquesas ) yielded more accurate estimates of E((θ τ )2) than using sample sizes matching the smaller Hawaii data set (D Hawaii ; Figures 4A &4B). On the other hand, estimates of Z were less accurate, yet using D Marquesas resulted in more accurate estimates of Z than when using D Hawaii (Figures 4C &4D). Additionally, estimates of Z representing colonization across all Y taxon-pairs never resulted in false positives given D Marquesas (Figure 4C). Specifically, when estimates of Z were 6 or 7, true Z values were always 6 or 7. Conversely, lower true values of Z yielded less accurate estimates of Z (Figures 4C &4D). For example, when estimates of Z were 0, true values ranged from 0 – 4 given D Marquesas (Figure 4C). In general, the simulation analysis verified the statistical confidence in the empirical inference of colonization across all seven Marquesas endemics, yet demonstrated there to be more uncertainty in the inferred history of the 11 Hawaiian endemics.

Figure 4
figure 4

Estimator Performance: 250 true hyper-parameter values plotted against their posterior mode estimates (stage 1 model). Panels (A) and (C) are given samples sizes that are identical to the Marquesas sample sizes. Panels (B) and (D) are given samples sizes that are identical to the Hawaiian sample sizes. For each estimate, tolerance was 0.001 (2,000 accepted draws) using the local linear regression algorithm.

Under the constrained stage 2 model, the simulations revealed a strategy for estimating the variability in the Z colonization times. Specifically, the best strategy would be to use estimates of Ω C rather than Ψ C (Figure 5). However, there was less accuracy and precision in the Ω C estimates given D Hawaii (Figure 5E). Unlike estimates of Ω C , estimates of Ω V or E(τ V ) were not as reliable (Figure 5H), perhaps due to the very small amount of migration (0 to 1.0 migrants per generation) after each "soft vicariance" event (τ V ) under H 1 .

Figure 5
figure 5

Estimator Performance: 250 true hyper-parameter values plotted against their posterior mode estimates (stage 2 model). Panels (A), (B) and (C) are given samples sizes that are identical to the Marquesas sample sizes and are obtained with the hyper-prior of Z fixed at 7 (stage 2 model). Panels (D) through (I) are given samples sizes that are identical to the Hawaiian sample sizes and are obtained with the hyper-prior of Z fixed at 4 (stage 2 model). For each estimate, tolerance was 0.001 (2,000 accepted draws) using the local linear regression algorithm.

The simulations also revealed that we have the ability to distinguish H 1 and H 2 when the true history is a special asymmetrical case of vicariance (H 1 ) where Z = 0 and each (θ τ )2 ranges from 0.0 to 0.05 under the D Marquesas sample size configuration (Figure 6). In this case, 63% of the Z estimates were ≤ 1 (Figure 6A &6B). Likewise, estimates of E((θ τ )2) were a reliable indicator of detecting H 1 under this special asymmetrical case of vicariance (H 1 ). Even though true values of E((θ τ )2) ranged from 0.0 to 0.05, estimates of E((θ τ )2) in this case were upwardly bias, with 90% of the E((θ τ )2) estimates ranging from 0.21 to 0.48 (Figure 6C). Even though the E((θ τ )2) estimator is upwardly biased given this special case, it is upwardly biased in the direction of correct inference of H 1 if one uses the criterion of E((θ τ )2) >> 0.05 to distinguish H 1 from H 2 . In this case, our empirical estimates of Z and E((θ τ )2) given the Marquesas data were not likely the result of extreme asymmetrical soft vicariance.

Figure 6
figure 6

Estimator performance under constrained history of asymmetrical soft vicariance (True Z = 0; True E (( θ τ ) 2 ) < 0.05; stage 1 model). Each panel depicts a frequency histogram of 250 mode estimates of Z (A and B) and E((θ τ )2) (C and D) under a constrained history of asymmetrical soft vicariance where Z = 0 and E((θ τ )2) < 0.05. For all mode estimates, tolerance was 0.001 (2,000 accepted draws). Mode estimates for panels (A) and (C) are obtained using the local linear regression algorithm, whereas the mode estimates for panels (B) and (D) are obtained using the raw 2,000 accepted values.

The root mean square error (RMSE) from the simulation study also revealed local linear regression (LLR) to outperform the three other methods that all keep the accepted values of Z as discrete integers (LLR RMSE = 1.32; RAW RMSE = 1.90; CLR RMSE = 1.95; MPR RMSE = 2.15). However, we use all four methods for the empirical data sets to check for consistency.

Discussion

Model Assumptions and Robustness

While previous studies have used multi-locus population genetic data to reconstruct the demography and geography of speciation [5155], here we use single locus mtDNA data to look at patterns across multiple co-distributed taxa. Although single locus inference can be hazardous in the face of coalescent variance and the possibility of selection, our approach offers the possibility to look at patterns of community assembly when the community consists of many non-model organisms where only "barcode" DNA sequence data can be feasibly collected. Not only does our model incorporate the stochasticity of single-locus coalescent variance across taxa, by combining datasets into a hierarchical Bayesian analysis we gain statistical "borrowing strength" [38]. The "borrowing strength" of HABC is achieved by making inferences across groups (i.e. co-distributed taxa) by pooling information across the groups without assuming the groups are from the same population [39, 40]. This allows estimating congruence across groups in sub-parameters while borrowing strength from the full comparative phylogeographic sample. This "borrowing strength" translates into higher sample size depending on the magnitude of the "pooling factor" which represents the degree to which sub-parameter estimates (Φ) are pooled together from hyper-parameter estimates of φ, rather than estimated independently from each phylogeographic dataset [56].

The possibility of selection at the tightly linked mtDNA genome could bias results of our analytical method [57], especially if balancing selection occurred in the mtDNA genome in ancestral or descendent taxa such that coalescent events were much older than neutral expectations. Likewise, if positive selective sweeps occurred on the mtDNA genome after colonization or vicariance, estimates of Z and E((θ τ )2) could be biased to reflect colonization [58, 59]. However, if positive selection only occurred at the mtDNA genome before colonization or vicariance, then the timing of these isolation events could be better estimated due to reduction of ancestral polymorphism. Furthermore, because selection and demography are ultimately confounding, our method will be less reliable if mitochondrial positive selection is prevalent in the comparative phylogeographic sample. This could be especially troublesome if peripatric speciation by colonization or vicariance involves positive selection at mtDNA genes that allow adaptive divergence in novel peripheral habitats [6062]. Nonetheless, results from our HABC method can be considered conservative with respect to inferring the geographic and demographic history of isolation across a peripheral community. For example, a strong inference of colonization across an entire data set could result from both strong positive selection and/or small effective colonizing population sizes, but it would be extraordinary if strong positive selection occurred at the mtDNA genome of all Y co-distributed taxon-pairs.

A strong result of temporal concordance in isolation is also conservative with respect to violations from a uniform molecular clock model. If rate variation occurred across the Y taxa, then we would expect an inference in temporal discordance unless rates were inversely proportional with actual isolation times. Nevertheless, this HABC method will be most useful when applied to co-distributed taxon-pairs that are closely related. Our empirical application was restricted to cowrie gastropods (Cypraeidae) and the COI loci we used only marginally rejected rate constancy [63].

Although Bayesian methods are less robust if results are heavily dependent on prior bounds, results from the empirical data were not sensitive to our exploration of different prior assumptions. The overall inferences and hyper-posterior estimates from the empirical data were not sensitive to model assumptions regarding the priors of θ (Additional file 3) or post-isolation migration. Additionally, all four methods of post-acceptance transformation (LLR, PLR, CLR and RAW) yielded identical mode estimates of Z given the Marquesas data and similar mode estimates of Z given the Hawaii data (ranging from 4 – 5).

Another consideration is how deviations from a panmictic Wright-Fisher model could have affected our HABC estimates. Although the sampling scale is large in some of the source species (Additional file 1), the cowrie gastropod taxa we included have high dispersal capabilities and are therefore not likely to have elevated within species subdivision [63]. This is confirmed by the relatively low levels of within species average pair-wise differences (π1 and π2) in both data sets (Additional file 1). If intra-species migration rates are > 1, our idealized coalescent model assuming intra-species panmixia is somewhat appropriate (Slatkin 1985). Even with some population some structure, a standard coalescent model can suffice if a species consists of many small demes with at least moderate migration such that number of demes is approximated by a scaled effective population size [6467]. If ancestral population structure is approximately scaled by ancestral effective population size, then our chosen priors are conservative because we allow for ancestral population sizes that are two to four times as large as the observed pair-wise distances of extant population sizes (π1 and π2; Additional file 1). However, our method should not be applied to populations that are heavily structured over large geographic scales.

Vicariance and Dispersal in Marine Communities

Vicariance and dispersal speciation could be hugely relevant in the marine realm, especially within the highly diverse Indo-Pacific region that is dominated by islands rather than long continuous coastlines. Explanations for elevated Indo-Pacific diversity in the centrally located "coral triangle" portion of this Indo-Pacific region (Philippines, Malay Peninsula, and New Guinea) usually revolve around sympatric speciation followed by outward range shifts [68] or peripatric speciation followed by inward range shifts [69, 70]. However, the plausibility of the first hypothesis of sympatric speciation is very controversial on theoretical grounds [71, 72] as well as being very difficult to test empirically [18]. On the other hand, the second hypothesis of peripatric speciation is a much more likely force behind Indo-Pacific diversification if long distance oceanic dispersal to peripheral populations is sufficiently low for isolation and subsequent reproductive or ecological divergence to emerge between central and peripheral archipelagoes [17].

Instead of the classic vicariance model, under our marine vicariance model (or "soft vicariance") an ancestral range is inter-connected by long distance gene flow that is interrupted by oceanographic changes in temperature, sea level and/or currents [1012]. In this case we might predict that co-distributed peripheral endemics became isolated simultaneously in taxa with lower dispersal capability. On the other hand, our marine colonization model is more similar to the classic dispersal or peripatric model. Here, allopatric isolation arises via sweepstakes colonization where the timing of colonization could be predicted to occur randomly across the co-distributed endemics after an archipelago emerges from geological processes.

Hawaiian vs Marquesas Dynamics

Both Hawaii and the Marquesas have some of the highest levels of endemism in all of Oceania [7375], but HABC analyses support different histories for their endemic species. The Hawaiian archipelago is the most isolated island chain in the Indo-West Pacific and has existed for > 70 My with coral reefs since at least 35 My [76]. It is now well established that terrestrial endemics can be older than the oldest emergent island in the archipelago, a pattern resulting from initial colonization of older, now subsided islands, followed by dispersal to new islands after emergence [77]. Thus, there has been ample opportunity for isolation and speciation, perhaps even more so for marine taxa. Although the lower sample sizes lead to greater uncertainty associated with the Hawaiian estimates (Figure 3), the hyper-parameter 95% credibility intervals suggest a strong inference of isolation via soft vicariance in at least a subset of the Hawaiian taxon-pairs (Z = 0.0 – 9.22; E((θ τ )2) = 0.30–0.95). If this is the case, then occupation of the Hawaiian archipelago was much older than the Marquesas archipelago, consistent with geologic evidence. Moreover, the inference of soft vicariance in a number of the taxon pairs suggests that there was greater potential for migrants between this archipelago and the central Pacific and Indo-Pacific triangle regions during older periods. Such connectivity of the Hawaiian chain to the remaining Indo-West Pacific via Johnston Atoll has been suggested in other studies [7880].

In contrast, we find strong inference of isolation via colonization across all seven cowrie gastropod endemics co-distributed in the Marquesas, as well as a strong inference of temporal concordance in this colonization. Unlike other island chains in the Pacific Ocean that have older seamounts and atolls trending away from most recent island (e.g. Hawaii), the Marquesan hotspot is unusual in being quite young. The ages of Marquesan islands range from 1.3 My (Fatu Hiva) to 6.0 My (Eiao) [81]. If we apply a molecular clock of 1% divergence per My [63], the inferred timing of simultaneous colonization of the Marquesas archipelago is from 0.84 – 1.90 My (Additional file 3A), and is consistent with the young origins of the islands. If we accept our strong inference of temporal concordance, it could be argued that this assemblage of cowries colonized via an episodic oceanographic event that caused a surge in gene flow from the central Pacific region. Given that the Marquesas has one of the highest levels of marine endemism in Oceania [73, 74], it will be interesting to see if HABC analyses on other taxon-pairs show similarly young divergences and temporal congruence.

Conclusion

Although soft vicariance and colonization are likely to produce relatively similar genetic patterns when only a single taxon-pair is considered, our simulation analysis shows that our hierarchical Bayesian model can potentially detect if either history is a dominant process across a marine community. The empirical implementation of our method yields a strong inference of isolation via simultaneous colonization across all seven cowrie gastropod endemics co-distributed in the Marquesas. In contrast, our method shows a strong inference of isolation via soft vicariance in at least a subset of the 11 Hawaiian taxon-pairs, although the smaller sample size resulted in less certainty in our estimates.

Our HABC method exemplifies the utility in "statistical phylogeographic" approaches [82, 83] rather then qualitative and descriptive approaches that make large inferences from the small details observed from gene trees [84]. The HABC approach accomplishes this by analyzing all the phylogeographic datasets at once in order to make across taxon-pair inferences about biogeographic processes while explicitly allowing for uncertainty in the demographic differences within each taxon-pair.

Although the approach described here uses HABC to test for two particular biogeographic explanations of allopatric diversification across co-distributed taxa, the HABC framework is flexible and therefore can provide a skeleton for testing other biogeographic models from comparative phylogeographic data. Indeed, one of the original objectives of phylogeography comparative was to resolve deep-seated questions about how climate change drives community assembly and evolution of whole biotas [85]. However, this goal has so far been unrealized [8688] because comparative phylogeographic studies rarely involve more than a handful of co-distributed species. Comparative phylogeographic datasets are bound to have explosive growth as collecting DNA sequence data across a wide diversity of co-distributed taxa scales up to the level of comprehensive ecosystem sampling. Such "community-scale" comparative phylogeographic data sets could potentially test classic biogeographic hypotheses (e.g. vicariance versus dispersal) at the community level [89, 90], as well as test controversial and fundamental hypotheses in community ecology such as Hubbell's Neutral theory [91], Tillman's stochastic competitive assembly model [92], and Diamond's niche assembly rules [93, 94]. As comparative phylogeographic datasets grow to include > 100 co-distributed taxon-pairs, the HABC approach will be well suited to dissect temporal patterns in community assembly and thereby provide a bridge linking comparative phylogeography with community ecology.