where pi is the frequency of the i-th species.  This is a measure of the diversity of a community in the same way that the Shannon measure of information content is a measure of the variety in a signal. 