skbio.diversity.alpha.simpson_e

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

Calculate Simpson’s evenness measure E.

State: Experimental as of 0.4.0.

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

Simpson’s evenness measure E.

Return type

double

Notes

The implementation here is based on the description given in 1.

References

1

http://www.tiem.utk.edu/~gross/bioed/bealsmodules/simpsonDI.html