For a community of species with relative abundances (): the richness is ; the Shannon index measures the uncertainty about the species of a randomly drawn individual, and is the number of equally abundant species that would give the same uncertainty (the effective number of species); the Simpson index is the probability that two individuals drawn at random are of the same species, and is another effective number, weighted toward the common species. Richness depends on how many individuals one has looked at: a rarefaction curve plots the species found against the number of individuals sampled, and flattens when most species have been seen.
Examples
Example 14.6 (Two guts)
A sample of reads from one person yields species, with and singletons; a sample of reads from another yields species. The second is not necessarily more diverse: it was sampled five times more deeply, and rarefying it to reads may give too. The first sample’s coverage is : four per cent of the bacteria in that gut belong to species the sample never saw, and a deeper sample will find them. Effective numbers, species’ worth of evenness against a richness of , say that a few species dominate — which is how every gut looks.