qpAdm is a statistical tool from the ADMIXTOOLS software that models a target genome or population as a mixture of source populations and tests whether that mixture fits the data. Most published ancient-DNA admixture claims rest on it, and it is routinely misread, usually by treating it as a percentage generator that happens to print extra numbers.
Introduction1 min
Those extra numbers are the method.
This is a practical guide to reading a qpAdm result: what it computes, what each figure licenses you to say, and what to do when a model fails.
What qpAdm is
1 min
qpAdm works from allele-frequency statistics rather than coordinate distances. It was developed in the Reich lab as part of ADMIXTOOLS, and it is implemented today in ADMIXTOOLS 2.
You give it three things:
- a target: the genome or population being modelled;
- a left set: the candidate sources whose mixture you propose for it;
- a right set: outgroups, used as reference points, never as candidate sources.
It returns a weight per source, an uncertainty on each weight, and a single p-value for the model.
What separates it from every coordinate-fitting method is that qpAdm can reject a model. A method that always returns an answer cannot tell you that you asked a bad question.
The three numbers
1 min
p-value: is this model admissible at all?#
The p-value asks whether the observed pattern of shared drift is compatible with the mixture you proposed. Above the threshold, conventionally 0.05, the data do not contradict the model. Below it the model is incompatible with the data and should be discarded.
It is not the probability that the model is true, and it is not a measure of how much ancestry came from anywhere. It is a compatibility test on one specific proposal. Several mutually contradictory models can all pass: passing means “not refuted”, never “confirmed”. A higher p does not make a passing model better either. In the simulations of Harney and colleagues (2021), the best model had the highest p-value in only 48% of cases, so read p as pass or fail and never rank passing models by it.
Standard error: how well is this weight pinned down?#
Each source’s weight carries a standard error. A weight of 40% ± 3% is a finding. The same 40% ± 18% is barely distinguishable from anything.
SE depends far more on coverage, how many markers survive the merge between your genotypes and the reference panel, than on how long anyone searched for the model. This is the single most misunderstood point in consumer qpAdm: analyst effort cannot shrink a standard error that a sparse file has already fixed. It also answers whether qpAdm works on a 23andMe file. It does, because the method does not care which company genotyped you, only which positions your file carries and how many of them survive the merge (what each company’s file can support).
Z-score: is this source distinguishable from zero?#
The z-score is the weight divided by its standard error: how many standard errors it sits from nothing at all. A source with a low |Z| is not measurably contributing, whatever its headline percentage says. A “12% contribution” with |Z| of 1.2 is not a 12% contribution; it is an unresolvable one.
Left and right sets: where models are actually won or lost
1 min
Most bad qpAdm results are bad because of the right set, not the left.
Outgroups give the method its power to discriminate. They are what allow it to tell two candidate sources apart. It follows that:
- A right set that is too small accepts almost anything. With too few outgroups the test has little power, so models pass that should not. A high p-value from a thin right set is not evidence. A testable model needs at least one more right population than it has sources, and the standard published sets run from nine to thirteen.
- A right set can also be too large. In the simulations of Harney and colleagues (2021), qpAdm began to reject models that would otherwise be deemed plausible when as few as 30 additional populations were added to it.
- A right set that relates to every source in the same way has nothing to discriminate on. Harney and colleagues avoid the word “outgroup” because it suggests exactly that arrangement: if all the right populations are symmetrically related to all the sources, qpAdm “will not produce meaningful results”. At least some of them must sit closer to some sources than to others.
- A right set too closely related to your sources misleads in both directions. Drift that an outgroup shares with a source and the target lacks leaks into the test, where it can reject a true model or admit a false one. On the simulated stepping-stone landscapes of Flegontova and colleagues (2025), a right set close to the left made p-values smaller on average.
- The right set must be reported. A weight without the outgroup list it was computed against cannot be evaluated by anyone. This is why we publish the complete right set alongside every model.
Temporal sanity matters too: a source that postdates the target cannot be its ancestor, and it is easy to assemble a model that is arithmetically fine and chronologically impossible.
A worked example
1 min
Suppose you are modelling a Bronze Age population from the Balkans and you propose two sources: a local Neolithic farmer population and a steppe pastoralist population. You run it against a right set of a dozen deliberately distant outgroups and get:
p-value: 0.412
Farmer_Neolithic 0.612 ± 0.031 Z = 19.7
Steppe_Pastoralist 0.388 ± 0.031 Z = 12.5
Read it in this order:
- The p-value is 0.412
Above 0.05, so the model is admissible. The data do not contradict a two-source mixture of these populations.
- Both standard errors are 0.031
That is tight. This file has the coverage to resolve the split.
- Both z-scores are large
Each source is unambiguously distinguishable from zero, so the model needs two components rather than one source plus noise.
A fit like this describes the target’s composition relative to the sampled groups. It can summarise where a target sits between them without those groups ever having mixed, so a migration needs evidence from outside qpAdm (the audits have the simulations behind this).
Now suppose instead you had seen:
p-value: 0.088
Farmer_Neolithic 0.907 ± 0.094 Z = 9.6
Steppe_Pastoralist 0.093 ± 0.094 Z = 1.0
The p-value still clears the conventional 0.05 bar, so a careless reader calls this a 91/9 mixture. It is not one: the second source’s weight is smaller than its own standard error, and |Z| of 1.0 means it is statistically indistinguishable from zero. The correct reading is that this is a one-source model, and the next step is to test it as one.
Nested models: is the extra source earning its place?
1 min
A nested model is a simpler model contained inside a more complex one, most often the same model with one source removed. If the simpler version also passes, the extra source is not doing work, and the simpler model is the one to report.
This is where most over-complicated ancestry stories collapse. Adding sources tends to improve fit mechanically, so the discipline is to keep only the components that survive removal.
Our analyst runs this test on every model before it is proposed: the nested-model table (every simpler model with its refitted weights, p-value and feasibility) and the rank test have to reject every simpler alternative, and the Your model view of every Ancient Ancestry report (our qpAdm analysis) then carries the chi-square, degrees of freedom and each source’s 95% confidence interval of the model that passed. The checks are described in The model record explained.
Reading a rejection
1 min
A rejected model is a result, not a malfunction. Most models anyone can think of will fail, and the failure is informative: it says the proposed ancestry story is not compatible with the data given those outgroups.
When a model fails, the productive moves are, in order:
- Check the right set
Wrong or too-close outgroups reject good models as readily as they accept bad ones.
- Check chronology
A source that postdates the target invalidates the model regardless of fit.
- Reconsider composition, not just place
Sources are populations with a genetic makeup, not pins on a map. The right proxy is often a group from elsewhere with the right ancestry profile.
- Try a simpler model
If a three-way model fails, a two-way one may not.
- Accept that some questions are unanswerable with this file
Coverage bounds what can be resolved.
Rotating sources and outgroups until something passes is not a legitimate move: run enough models and some will clear any threshold by chance. An automated search can propose candidate models, but it cannot publish one: a person reviews the candidates and approves every published model. The audit literature’s lesson is that a search’s error rate depends mostly on how plausible its candidates were before testing (its pre-study odds), not on whether a script or a person ran it, so the candidate sources are chosen for the customer’s declared origins before any model runs.
The conditions a publishable model should meet
1 min
- Sources well defined and representative of the ancestral groups being modelled.
- Enough marker coverage on the target for the estimates to mean anything.
- An appropriate right set, differentially related to the sources and reported alongside the result, with each outgroup’s sample count.
- A p-value indicating admissible fit.
- Standard errors small enough that the weights are informative.
- Z-scores high enough that each source is distinguishable from zero.
- Nested alternatives tested, and the table of them published, so no source is carried that does not earn its place.
- Chronological and archaeological plausibility.
Our own published models are measured against one explicit bar rather than a vague “good fit”: p of at least 0.05, every source’s |Z| at least 3 and every source’s standard error at most 0.10, in every era. It is a house convention, not a criterion the literature has validated, and each era says whether it clears Ancestrify’s bar or sits below Ancestrify’s bar. The four depth tiers of Ancient Ancestry share that bar, and the report’s content, including the full model record, is identical at every tier. Because SE is bound by coverage, a sparse file limits how tight the intervals can be, which is why we say so before purchase rather than after.
qpAdm vs Global25
1 min
Global25 (G25) measures position and qpAdm tests a hypothesis. Global25 places a genome as a point in a 25-dimensional reference space and finds the weighted mixture of sources closest to it, so it always returns percentages. qpAdm starts from a model you propose and can answer no. qpAdm vs Global25 sets out when each is the right instrument.
| Global25 | qpAdm | |
|---|---|---|
| Works from | 25 coordinates per sample | allele-frequency statistics (f-statistics) |
| Returns | percentages and a fit distance | percentages, standard errors, z-scores and a p-value |
| Can reject a model | No | Yes |
| Sensitive to | choice of source panel | choice of outgroups and sources |
| Typical failure | plausible percentages from a wrong panel | model rejected, or accepted on a weak right set |
Trying it yourself
1 min
You can run qpAdm online in the Ancestry Workbench, which runs real ADMIXTOOLS 2 on our servers with your own genome as the target: it merges your raw DNA file into the AADR reference panel as a kit, and you compose the left and right sets, every run included in one subscription. It needs no R installation and no genotype panel to source (the R route, for those who want it, is its own tutorial, and every kit includes the merged bundle it reads). The statistics underneath are explained in f4-statistics explained and qpWave explained. Expect rejections; that is the method working.
The vocabulary is defined in the glossary.
Further reading
1 min
- Learn qpAdm: the complete guide: every article on the method, ordered into a learning path
- The qpAdm checklist: the whole discipline on one page
- A qpAdm analysis tutorial with a worked example
- How to choose qpAdm sources and outgroups
- Why qpAdm models get rejected
- A qpAdm report, read line by line
- Ready to order? The buying page lists the tiers and what each includes.
qpAdm in practice
1 min
For worked examples showing what these conditions look like applied to real populations, see our studies of Albanian DNA and ancient origins, Roman and Slavic-period Balkan ancestry, modern Anatolian Turks, and the Deep Maniots of southern Greece.



