# Shannon index

The Shannon index, also known as the Shannon-Weaver Index and sometimes referred to as the Shannon-Wiener Index [Krebs, Charles (1989) "Ecological Methodology." HarperCollins, New York.] ), $H^\left\{prime\right\}$, is one of several diversity indices used to measure diversity in categorical data. It is simply the Information entropy of the distribution, treating species as symbols and their relative population sizes as the probability.

This article treats its use in the measurement of biodiversity. The advantage of this index is that it takes into account the number of species and the evenness of the species. The index is increased either by having additional unique species, or by having a greater species evenness.

The "Shannon-Weaver" name is a misnomer; apparently some biologists jumped to the conclusion that Warren Weaver, author of an influential preface to the book form [cite book|last=Weaver|first=W.|coauthors=C.E. Shannon|title=The Mathematical Theory of Communication|publisher=University of Illinois|location=Urbana, Illinois|date=1949] of Claude Shannon's 1948 paper [cite journal|last=Shannon|first=C.E.|title=A mathematical theory of communication|journal=Bell System Technical Journal|volume=27|month=July and October|pages=379–423 and 623–656|year=1948] founding information theory, was a cofounder of this theory. Weaver did play a crucial role in the rapid postwar development of information theory in a different way, however; as an influential early administrator of the Rockefeller Foundation, he ensured that the first information theorists received generous research grants. Norbert Wiener had no hand in the index either, although his influential popularisation of cybernetics was often conflated with information theory in the 1950s.

Definitions

*$n_i$ The number of individuals in species i; the abundance of species i.
*$S$ The number of species. Also called species richness.
*$N$ The total number of all individuals
*$p_i$ The relative abundance of each species, calculated as the proportion of individuals of a given species to the total number of individuals in the community: $n_iover N$

Computing the index

:$H^prime = -sum_\left\{i=1\right\}^S p_i ln p_i$

It can be shown that for any given number of species, there is a maximum possible $H^prime$, $H_max=ln S$ which occurs when all species are present in equal numbers.

Proof that maximum evenness maximizes the index

The following will prove that any given population will have a maximum Shannon Index if and only if each species represented is composed of the same number of individuals.

Expanding the index:

:$H^prime = -sum_\left\{i=1\right\}^S \left\{n_iover N\right\} ln \left\{n_iover N\right\}$

:$N H^prime = -sum_\left\{i=1\right\}^S n_i left \left( ln n_i - ln N ight \right)= -sum_\left\{i=1\right\}^S n_i ln n_i + ln N sum_\left\{i=1\right\}^S n_i$

:$N H^prime - N ln N = -sum_\left\{i=1\right\}^S n_i ln n_i$

Now, let's define $H_s = -sum_\left\{i=1\right\}^S n_i ln n_i$ Clearly, since $N$ is a positive constant for a given population size, and $Nln N$ is also a constant, then maximizing $H_s$ is equivalent to maximizing $H^prime$.

trategy

Let's split an arbitrarily sized population into two groups, with each group receiving an arbitrary number of individuals and an arbitrary number of species. Now, within each group, each species has the same number of individuals as any other species in that group, but the number of individuals per species in the first group may be different from the number of individuals per species in the second group.

Now, if it can be proven that $H_s$ is maximized when the number of individuals per species in the first group matches the number of individuals per species in the second group, then it has been proved that the population has a maximum index only when each species in the population is evenly represented. $H_s$ doesn't depend on the total population. So $H_s$ may be built by simply adding the indices of two sub-populations. Since the population size is arbitrary, this proves that if you have two species (the smallest number that can be considered two groups), their index is maximized if they are present in equal numbers. So the rules of mathematical induction have been satisfied.

Proof

Now, divide the species into two groups. Within each group, the population is evenly distributed among the species present.
*$k$ The number of individuals in the second group.
*$p$ The number of species in the second group.
*$n_\left\{i2\right\} = k/p$ Number of individuals in each species in the second group.
*$N-k$ The number of individuals in the first group.
*$S-p$ The species in the first group.
*$n_\left\{i1\right\} = \left\{N-k over S-p\right\}$ The individuals in each species in the first group.

:$H_s = -sum_\left\{i=1\right\}^\left\{S-p\right\} \left\{N-k over S-p\right\} ln \left\{N-k over S-p\right\} - sum_\left\{i=1\right\}^p \left\{kover p\right\} ln \left\{k over p\right\} = -left \left( N-k ight \right) ln \left\{N-k over S-p\right\} - k ln \left\{kover p\right\}.$

To find out which value of $k$ will maximize $H_s$, we must find the value of $k$ which satisfies the equation:

:$\left\{dover dk\right\}, H_s=0.$

Differentiating,

:$ln \left\{ N-k over S-p\right\} + \left(N-k\right)\left\{1 over N-k\right\} - ln \left\{kover p\right\} - k \left\{1 over k\right\} = 0,$

:$ln \left\{N-kover S-p\right\} = ln \left\{k over p\right\}$

Exponentiating:

:$\left\{N-kover S-p\right\} = \left\{k over p\right\} = \left\{pN over S\right\}.$

Now by applying the definitions of $N_\left\{i1\right\}$ and $N_\left\{i2\right\}$, we get

:$N_\left\{i1\right\} = N_\left\{i2\right\} = \left\{Nover S\right\}.$

Result

Now we have accomplished the proof that the Shannon index is maximized when each species is present in equal numbers (see #strategy). But what is the index in that case? Well, $n_i = \left\{Nover S\right\}$, so $p_i = \left\{1over S\right\}$ Therefore:

:$H_max = - sum_\left\{i=1\right\}^S \left\{1over S\right\} ln \left\{1over S\right\} = ln S.$

Notes

ee also

*biodiversity
*Species richness
*Information theory

Wikimedia Foundation. 2010.

### Look at other dictionaries:

• Shannon-Index — Der Shannon Index (häufig auch als Shannon Wiener oder Shannon Weaver Index bezeichnet [1][2]) ist eine mathematische Größe, die in der Biometrie für die Beschreibung der Diversität (vgl. Biodiversität) eingesetzt wird. Er beschreibt die Vielfalt …   Deutsch Wikipedia

• Shannon index — /ʃænən ˈɪndɛks/ (say shanuhn indeks) noun an index of biodiversity which registers both the number of species and the evenness of distribution of species. {named after Claude Shannon, 1916–2001, US mathematician} …   Australian English dictionary

• Shannon — steht für: Shannon (Name) ohne Nennung des Vornamens häufig Claude Elwood Shannon (1916–2001), US amerikanischer Informationstheoretiker Shannon (Einheit), Maßeinheit für den Informationsgehalt einer Nachricht Shannon Index für die Beschreibung… …   Deutsch Wikipedia

• Shannon (Einheit) — Shannon (Sh) ist die nach dem amerikanischen Mathematiker und Begründer der Informationstheorie Claude Elwood Shannon benannte Einheit für den Informationsgehalt einer Nachricht. Inhaltsverzeichnis 1 Definition 2 Beispiele 3 Normung …   Deutsch Wikipedia

• Shannon — The name Shannon originated in Ireland and is directly linked to the River Shannon, the island s longest river. The name is a combination of Irish sean old, wise and abhainn river . Shannon is now used as a first name for both males and females.… …   Wikipedia

• Shannon Tobin — Shannon John Tobin (born March 12, 1985) is a Canadian politician running for the Progressive Canadian Party.Tobin was born in Happy Valley Goose Bay, Newfoundland and Labrador. On January 7th 2008, he announced that he is running in the riding… …   Wikipedia

• Shannon Esra — (real name Shannon Esrechowitz ) is a South African actress.Early careerEsra had her first taste of acting at age 4, narrating a nursery school Purim concert. She later did impersonations of Elvis Presley at local talent contests.Esra had her… …   Wikipedia

• Shannon O'Donnell — Shannon Kay O Donnell is the weeknight 10 PM meteorologist for KING 5 News on KONG and cable station NWCN. BiographyEarly life weather careerShannon was born in Redmond, Washington and attended Redmond High School and she graduated as a… …   Wikipedia

• Shannon Keith — is an American animal rights lawyer, activist, and documentary director/producer. [ [http://www.animal rights lawyer.com Shannon Keith s animal rights legal practice] ] In 2006, after three years of filming, Keith released a documentary film… …   Wikipedia

• Shannon Bool — (born 1972) is an artist based in Berlin.Bool was born on Vancouver Island. Her work focuses on the relevance of the ornamental in contemporary culture. [ [http://www.fkv.de/frontend en/archiv ausstellungen detail.php?id=58 FrankfurterKunstverein …   Wikipedia