Dstatistics
D-statistics, commonly referred to as the ABBA-BABA test, is a population-genetics statistic used to detect admixture or gene flow among populations or lineages. It analyzes genome-wide single nucleotide polymorphism data in a four-taxon framework consisting of an outgroup and three ingroup populations, testing whether the history deviates from a simple tree due to introgression.
In practice, the statistic compares two discordant allele-sharing patterns across many loci: ABBA and BABA. ABBA
Quantitatively, D is defined as D = (N_ABBA − N_BABA) / (N_ABBA + N_BABA), where N_ABBA and N_BABA are the
D-statistics do not specify the direction, timing, or proportion of admixture on their own. They are often