Shannon-Weaver index (H’) accounts for:
Shannon–Weaver diversity is calculated as H′ = −Σpᵢ ln pᵢ. The number of terms reflects species richness, while the relative abundances pᵢ determine evenness. Adding species generally raises H′, and distributing individuals more equally raises it further. For a fixed richness S, the maximum is ln S when every species has pᵢ = 1/S. This permits Pielou evenness to be calculated as J′ = H′/ln S. The index can be interpreted as uncertainty in predicting the species identity of a randomly selected individual: many equally likely species create high uncertainty, whereas dominance makes identity pred
Ref: NCERT Biology Class 12, Ch. 15 Biodiversity and Conservation