Sample Data Analysis "Shannon-Wiener Diversity Index" Census A Rock dove Sparrow Robin total
nbc p ln(p) 20 0.56 14 0.39 2 0.06 36
p*ln(p) -0.59 -0.94 -2.89
H'(A) = H'(A) = Census B Sparrow Mallard Cardinal Mockingbird Robin Flycatcher Crow Bluejay total
nbc p ln(p) 1 0.08 1 0.08 1 0.08 2 0.17 1 0.08 2 0.17 3 0.25 1 0.08 12
-0.33 -0.37 -0.16
-sum(p*lnp) 0.85 p*ln(p) -2.48 -2.48 -2.48 -1.79 -2.48 -1.79 -1.39 -2.48
H'(B) = H'(B) = Conclusion: Community B is more species diverse than Community A.
-0.21 -0.21 -0.21 -0.30 -0.21 -0.30 -0.35 -0.21 -1.98
-sum(p*lnp) 1.98