For a vector of species counts x
, the dominance index is defined as
$$D = \sum_i p_i^2,$$ where \(p_i\) is the species proportion,
\(p_i = x_i / N\), and \(N\) is the total number of counts. This is
equal to the probability of selecting two individuals from the same species,
with replacement. Relation to other definitions:
Simpson's index is defined here as \(1 - D\), or the probability of
selecting two individuals from different species, with replacement. Relation
to other definitions:
The inverse Simpson index is \(1/D\). Relation to other definitions:
Equivalent to diversity()
in vegan
with
index = "invsimpson"
.
Equivalent to enspie()
in skbio.diversity.alpha
.
Similar to the invsimpson
calculator in Mothur. They use
the unbiased estimate \(p_i = x_i (x_i - 1) / (N (N -1))\).
Simpson's evenness index is the inverse Simpson index divided by the
number of species observed, \(1 / (D S)\). Relation to other definitions:
Please be warned that the naming conventions vary between sources. For
example Wikipedia calls \(D\) the Simpson index and \(1 - D\) the
Gini-Simpson index. We have followed the convention from vegan
, to
avoid confusion within the R
ecosystem.