Difference between revisions of "Margalef Index"
From Open Risk Manual
Wiki admin (talk | contribs) |
Wiki admin (talk | contribs) |
||
Line 10: | Line 10: | ||
</math> | </math> | ||
− | == | + | == Implementation == |
Open Source implementations of the Margalev index are available in | Open Source implementations of the Margalev index are available in | ||
Latest revision as of 11:31, 17 May 2024
Definition
The Margalev Index (D) is a simple metric useful for the purpose of measuring diversity.
Details
The index is only applicable for categorical data where all observations can be classified into a finite number of categories (species, types etc)
More precisely, if we have n observations values and a total of S categories, then the D index is defined as
Implementation
Open Source implementations of the Margalev index are available in
- the Python library Concentration Library
- the EcoIndR R package