Shannon Diversity Index
reflects both species richness and evenness.
symbols, variables and units
p_i: relative abundance of type i; H: dimensionless (natural logarithm unit nat).
applicable conditions and boundaries
p_i≥0, the sum is 1, and 0 ln0=0 is agreed; the sequencing depth can affect the estimation.
formula source code
The following is a copyable LaTeX expression.
H=-\sum_i p_i\ln p_i
Reference and Extended Learning
OpenStax · Biology 2e, Ecology ↗is organized according to model definition and assumptions. Please check actual conditions and original literature before engineering, research and clinical use.
Shannon diversityEcology