BPMSG Diversity Calculator – Excel

The diversity calculator is an excel template that allows you to calculate alpha-, beta- and gamma diversity for a set samples (input data), and to analyze similarities between the samples based on partitioning diversity in alpha and beta diversity.

The template works under Windows OS and Excel 2010 (xlsx extension). No macros or links to external workbooks are necessary. The workbook consists of an input worksheet for a set of data samples, a calculation worksheet, where all necessary calculations are done, and a result worksheet “beta” displaying the results.

Applications

The template may be used to partiton data distributions into alpha and beta diversity, it can be applied in many areas, for example

• Bio diversity – local (alpha) and regional (beta) diversity
• AHP group consensus – identify sub-goups of decision makers with similar priorities
• Marketing – cluster analysis of similarities in markets
• Business diversification over time periods
• and many more.

Let me know your application! If you just need to calculate a set of diversity indices, you can use my online diversity calculator here.

Calculations and results

Following data will be calculated and displayed:

• Shannon Entropy H (natural logarithm) alpha-, beta- and gamma, and corresponding Hill numbers (true diversity of order one) for all samples
• Homogeneity measure
1. Mac Arthur homogeneity indicator M
2. Relative homogeneity S
3. AHP group consensus S* (for AHP priority distributions)

• Table 1: Shannon alpha-entropy, Equitability, Simpson Dominance, Gini-Simpson index and Hill numbers for each data sample

• Table 2: Top 24 pairs of most similar samples
• Page 2: Matrix of pairs of data samples
• Diagram 1: Gini-Simpson index and Shannon Equitability
• Diagram 2: Average proportional distribution for all classes/categories
• Diagram 3: Proportional distribution sorted from largest to smallest proportion (relative abundance)

Limitations:

• Maximum number of classes/categories: 20
• Maximum number of samples: 24

Description of the template:  BPMSG-Diversity-Calc-v14-09-08.pdf

Other posts explaining the concept of diversity

 PLEASE READ before DOWNLOAD The template is free. So I would really appreciate, if you could – at least – feedback or write me about your application of AHP, and the use of the template. Thank you!

As this version is the first release, please feedback any bugs or problems you might encounter.

Incoming search terms:

• shannon diversity index calculator
• beta diversity calculation
• beta diversity formula for excel
• how to calculate beta diversity in microsoft excel

9 thoughts on “BPMSG Diversity Calculator – Excel”

1. Julieta Carilla says:

Hello, thank you for share diversity calculation. I would like to calculate diversity of high a mountian vegetation gradient. I used Shannon winner index, but I would like to calculate the “true diversity”. I would apreciate if you can help me with this; data are vegetation cover by species in 16m2 plots. thank you very much

1. Julieta,
when you have the Shannon Wiener index H, true diversity is just the exponential function D = exp(H). Contact me via my contact page, if you need more info via email.
Klaus

2. Jordan Parker says:

Thank you for posting your template for calculating diversity. I am planning on using it in a bioinformatics lesson in the microbial ecology course that I teach at UCLA.

1. Thanks Jordan for your feedback!

3. sakshi says:

Thank you so much sir

4. ali says:

Hello and thanks very much
i work on my thesis , about salmonella and fingerprinting by rep-PCR
My salmonella isolates a
and i must copmute DI and 1-D, nd thus molecular profiles are high,
unfortunately the category maximum in this online and in downloaded exel file is 20( max is 20) and this is problem
my profile number ,is 29, 35, 32 that mucher than 20
what can i do???

5. Kindly read the description, if you don’t need alpha and beta diversity, you can input 1 sample only. Shannon diversity will be calculated. You might also study my articles or watch my videos.

6. I need for the calculation of shannon’s diversity. kinly help me.