skbio.math.diversity.alpha.simpson_e

skbio.math.diversity.alpha.simpson_e(counts)[source]

Calculate Simpson’s evenness measure E.

Simpson’s E is defined as

\[E=\frac{1 / D}{S_{obs}}\]

where \(D\) is dominance and \(S_{obs}\) is the number of observed OTUs.

Parameters:

counts : 1-D array_like, int

Vector of counts.

Returns:

double

Simpson’s evenness measure E.

See also

dominance, enspie, simpson

Notes

The implementation here is based on the description given in [R63].

References

[R63](1, 2) http://www.tiem.utk.edu/~gross/bioed/bealsmodules/simpsonDI.html