skbio.diversity.alpha.
pielou_e
(counts)[source]¶Calculate Pielou’s Evenness index J’.
State: Experimental as of 0.4.1.
Pielou’s Evenness is defined as:
where \(H\) is the Shannon-Wiener entropy of counts and \(S\) is the number of OTUs in the sample.
counts (1-D array_like, int) – Vector of counts.
Pielou’s Evenness.
double
Notes
The implementation here is based on the description in Wikipedia 1. It was first proposed by E. C. Pielou 2 and is similar to Heip’s evenness 3.
References