Diversity index
Intermediate
What you need first. Nothing else on this path comes first. This page is part of Applications.
In ecology, a diversity index is a summary of how individuals are divided among classes, using both the number of classes and their relative sizes. A woodland sample contains many oaks and one rare shrub. Counting the species says the wood is richer than a plantation of oaks alone, and it treats the shrub as equal to the oaks. A diversity index is a single number that uses both the number of classes and the way individuals are divided among those classes.
Diversity index
| Fact | Value |
|---|---|
| Topic | Applications |
| Listed on | Applications |
| Worked example | 1 |
Motivating example
Ten trees fall into three species, with counts 6, 3, and 1. Species richness is 3. That number would be the same for counts 4, 4, and 2, or for 8, 1, and 1. A visitor who cares whether the wood is mostly one species needs a summary that moves when the counts become more equal. Simpson’s concentration does that: it is large when two individuals drawn at random are likely to be the same species, and small when they are likely to differ.[1][2]
Definition
Consider an infinite population whose individuals fall into classes, with proportions that sum to 1. Simpson’s concentration is
It lies between and 1. The value 1 means every individual is in a single class. The value means the classes are equal, which is the most even division possible for that number of classes. The same is the probability that two individuals drawn at random and independently are in the same class.[1]
In a finite sample of size with counts ,
is an unbiased estimator of . The numerator counts pairs that fall inside one class, and the denominator counts all pairs. Ecologists often report a diversity form that runs the other way, , or the reciprocal . The reciprocal can be read as the number of equally common species that would give the same concentration.[1][2]
Draw two individuals independently from a very large population. The chance they belong to the same class is high when one class dominates, and it is as small as the number of classes allows when the classes are equal. That chance is a concentration. Diversity, in the sense of evenness mixed with richness, runs in the other direction: many equal classes make the chance of a match small. The indices used in ecology are functions of this chance, or of the entropy of the same proportions.[1][2]
Properties
Richness and evenness are different components. uses both, and a single number cannot be decomposed back into them without more information. For fixed , is minimised when the are equal. Adding a rare class changes only a little, because a small contributes , which is smaller still. The sample estimator is not the plug-in ; the factor corrects the finite-sample bias of that plug-in for .[1][2]
Peet records the heterogeneity reading used in ecology: a diversity measure of this family should respond to the number of species and to the distribution of individuals among them. There is no single index that every study must use. Species richness, , , and the Shannon function answer different questions, and a paper has to say which one it computed.[2]
Statistical use
Community ecology uses the indices to compare sites, treatments, or years. The classification has to be fixed first: species, genus, or some other partition. Individuals in a class are treated as equivalent, and classes are treated as equally different, which is a modelling choice. Sampling needs to match the spatial pattern of the organisms; a sample piled into one patch estimates the patch. In genetics the reciprocal of has been used as an effective number of alleles. The same algebra appears as a concentration index in economics, where large shares play the role of abundant species.[2]
The income Gini coefficient is a different construction, based on the area between the Lorenz curve and the line of equality. It is also a concentration measure, and it is a different formula from Simpson’s . Reporting one under the other’s name mixes an income inequality with a probability of a matching pair.[3]
Worked example
Counts are 6, 3, and 1, so and the proportions are , , and . Then
The unbiased sample form is
The plug-in and the unbiased estimator are not the same number. Both describe these ten individuals; is the population concentration they estimate.[1]
Your turn. Ten individuals are split evenly between two classes, five and five. What is ?
The proportions are and , so .
Common misconceptions
Species richness is not a diversity index of the heterogeneity kind. Two communities with the same number of species can have very different . A larger means more concentration, which is less diversity in the evenness sense; is the form that rises as the community becomes more mixed. The Gini coefficient of income is not this index. And is not defined for a sample of size 0 or 1, because there are no pairs.[2][1][3]
The population formula assumes an infinite population and independent draws. The sample formula assumes a random sample from that population and drops samples of size 0 or 1 when the size itself is random. Every individual is assigned to one class. If the classification is arbitrary, the index inherits the arbitrariness. Spatial clustering means a convenience sample can look less diverse than the region. No index repairs a species concept that splits or lumps taxa differently in the two samples being compared.[1][2]
Connections
The Gini index used to split a classification tree is an impurity, , which is the complement of Simpson’s concentration for a discrete distribution on the classes at a node. The income Gini coefficient uses the Lorenz curve instead, and answers a question about inequality of a size variable.[3][2] A multinomial distribution is the sampling scheme behind the counts when individuals are drawn independently into a fixed set of classes.
Check yourself
Try these questions before opening an answer.
Concentration of 6, 3, and 1
Proportions 0.6, 0.3, and 0.1. What is Simpson’s λ?
λ = 0.36 + 0.09 + 0.01 = 0.46.
Unbiased pair estimator
Counts 6, 3, and 1. What is the unbiased estimator ℓ?
ℓ = 36/90 = 0.4.
Equal split
Ten individuals split five and five. What is λ?
λ = 1/2.
History
Yule and Fisher, Corbet, and Williams had already proposed sample statistics of concentration and of diversity, tied to particular frequency distributions. Simpson’s 1949 letter defined a population concentration , interpretable as the probability that two randomly drawn individuals match, and gave the unbiased pair-count estimator for a sample. Ecological reviews in the following decades treated that index as the first of the heterogeneity measures, and recorded the later habits of reporting or so that the number rises as the community becomes more even.[1][2]
See also
Abundance estimation · Actuarial science · Astrostatistics · Biostatistics · Business analytics · Censoring · Chemometrics · Computational biology
References
- ^ a b c d e f g h i a. (30 April 1949) b. (30 April 1949) c. (30 April 1949) d. (30 April 1949) e. (30 April 1949) f. (30 April 1949) g. (30 April 1949) h. (30 April 1949) i. (30 April 1949) Simpson, E. H. (1949). Measurement of Diversity. Nature, 163. https://people.wku.edu/charles.smith/biogeog/SIMP1949.pdf
- ^ a b c d e f g h i j a. (section "Simpson's Index") b. (section "Simpson's Index") c. (section "Heterogeneity indices") d. (section "Simpson's Index") e. (introduction; section "Simpson's Index") f. (section "Assumptions and data"; section "Simpson's Index") g. (section "Simpson's Index") h. (section "Assumptions and data") i. (section "Simpson's Index") j. (section "Simpson's Index") Peet, R. K. (1974). The Measurement of Species Diversity. Annual Review of Ecology and Systematics, 5, 285–307. https://www.sci.muni.cz/botany/nekola/foe/peet1974.pdf
- ^ a b c a. (p. 231) b. (p. 231) c. (p. 231) Dodge, Yadolah (2008). The Concise Encyclopedia of Statistics. Springer. https://doi.org/10.1007/978-0-387-32833-1
Cite this page
StatWiki (2026). "Diversity index." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/diversity-index.html
@misc{statwiki_diversity_index,
author = {{StatWiki}},
title = {{Diversity index}},
year = {2026},
url = {https://www.statwiki.io/articles/diversity-index.html},
urldate = {2026-12-02},
note = {StatWiki, last updated 2 December 2026}
}