Theoremadvanced
Ewens sampling formula
Also called Ewens distribution.
Under the neutral infinite alleles model, the probability of an allelic partition of a sample of n genes, with theta as the only parameter.
The Ewens sampling formula gives the probability of each way that a sample of genes can split into allele classes, when the population follows the neutral infinite alleles model at equilibrium. It has one parameter, the scaled mutation rate . A strong consequence is that the number of distinct alleles in the sample carries all the information about . The same law appears outside genetics, as the law of the cycle type of a random permutation and of the clusters of a Dirichlet process.
Statement
The setting. A sample of genes from a large population under the neutral infinite alleles model at stationarity, in the limit with fixed. Equivalently, the genealogy of the sample is the Kingman coalescent (time in units of generations), and mutations fall on each lineage at rate ; each mutation makes a new allele. Let be the number of alleles that have exactly copies in the sample, so , and let be the number of distinct alleles. Write .
Theorem (Ewens 1972).
(a) The allele counts have the law
(b) The number of alleles has the law , where is the unsigned Stirling number of the first kind.
(c) Given , the law of does not depend on . So is a sufficient statistic for .
(d) is a sum of independent Bernoulli variables with means , , so
Check values. For and , the profiles (three different alleles), and (one allele) have probabilities , and . For and they are , and . For and , and .
In plain words
Take a few genes from a population in which every mutation makes a new variant and no variant is better than another. Some variants appear once in the sample, some twice, and so on. The formula gives the chance of each such pattern. It depends on a single number, which says how often mutations happen compared with how fast chance removes variants. When that number is large, the sample has many variants, most of them seen once; when it is small, most genes carry the same variant. The surprising part is that only the number of different variants tells you about that single number. How the genes are spread among the variants adds nothing, so it can be used to check whether the variants really are neutral.
Proof
Step 1: the coalescent gives an urn. Follow the genealogy of the sample back in time and stop each lineage at its most recent mutation; the sample genes below that mutation, with no other mutation between, form one allele class. With lineages, coalescences happen at rate and mutations at rate . So the next event is a mutation with probability and a coalescence with probability , and by exchangeability the lineages involved are uniform. Read forward, from one lineage up to , this is the Hoppe urn (Hoppe 1984): gene is a new allele with probability , and otherwise it copies the allele of one of the first genes, chosen uniformly.
Step 2: the urn gives the formula. Fix a partition of the genes into classes of sizes . The urn makes exactly this partition with probability
because the first genes of the classes contribute each, a gene that joins a class that has genes contributes , and the denominators are . This depends only on the class sizes. The number of partitions of with classes of size is . Multiplying, and using , gives (a).
Step 3: the number of alleles. Summing the probability of Step 2 over all partitions into classes gives times . This sum counts the permutations of elements with cycles (each class of size can be made into a cycle in ways), which is . This proves (b).
Step 4: sufficiency. Dividing (a) by (b), the factors and cancel:
which does not depend on . This proves (c).
Step 5: moments. In the urn, gene starts a new allele with probability , independently of the earlier steps, and is the number of genes that do. This proves (d).
Consequences
Random permutations. With , , and the formula is , Cauchy's formula for the share of permutations with cycles of length . So the allele counts of a sample with have the law of the cycle type of a uniform random permutation. For the five profiles have probabilities , , , and , and takes the values 1, 2, 3, 4 with probabilities , , and .
Independent Poisson counts. Let be independent with Poisson with mean . Then is proportional to , so the formula is the law of given . As , the number of alleles with copies tends to a Poisson variable with mean , for each fixed . In particular, a large sample has about singletons; for and the exact mean number of singletons is .
Estimating theta. By (c), all the information about is in . The log-likelihood is , and the maximum likelihood estimate solves . For and , . The Fisher information is , so the variance of the estimate falls only like : a much larger sample gives little more precision. This is a property of the model, not of the estimator.
Tests of neutrality. Because the law of the counts given does not involve , one can test neutrality without estimating . The Ewens-Watterson test compares the homozygosity of the sample with its law given (Ewens 2004, Section 11.2.2): too even counts point to balancing selection, too uneven ones to purifying selection or a population expansion.
Clustering. The Hoppe urn without the special role of mutation is the Chinese restaurant process, and (b) is the law of the number of clusters in a sample from a Dirichlet process with concentration (Antoniak 1974).
Tightness
Large N and small u. The formula is exact for the coalescent limit. For a finite Wright-Fisher population it is an approximation. For a sample of two genes it gives ; the exact Wright-Fisher value is the equilibrium homozygosity of the infinite alleles model. With and () that value is , against from the formula: 5 percent off. With and it is against .
Neutrality. With selection the formula fails. Under heterozygote advantage the allele counts are more even than it predicts, and under purifying selection there are too many rare alleles.
Equilibrium and constant size. The population must have been at equilibrium for a time of order generations. After a recent expansion, the sample has too many alleles seen once; after a bottleneck, too few alleles. Population structure also changes the law.
New alleles only. If mutation can make an allele that already exists, as in a stepwise model of microsatellites or in electrophoretic classes of proteins, the formula does not hold. In particular, is then not sufficient for .
History
Ewens (1972) found the formula and its consequences for estimation and testing; Karlin and McGregor (1972) gave a second proof in the same year. Kingman (1978, 1982) placed it in his theory of partition structures and explained it through the coalescent. Hoppe (1984) gave the urn. Antoniak (1974) found the same law independently in Bayesian statistics, and Watterson (1977) built the test of neutrality on the conditional law given .
References
- Ewens 1972, the formula for the allele counts of a sample, the sufficiency of the number of alleles and the estimate of theta
- Hoppe 1984, the urn that draws a sample with the law of the formula
- Warren J. Ewens, Mathematical Population Genetics I, Theoretical Introduction, 2nd edition, Springer, 2004, Section 3.6 (infinitely many alleles models, p. 111), Section 9.5 (sample properties of the infinitely many alleles model, p. 301) and Section 11.2.2 (the Ewens and Watterson tests, p. 349)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 98RRBF Edit this page History Report an error Markdown