We will be offering mothur and R workshops throughout 2019. Learn more.

Difference between revisions of "Simpson"

From mothur
Jump to: navigation, search
Line 9: Line 9:
  
 
   
 
   
For the Amazonian dataset, the Simpson Index is 0.0044.
+
For the Amazonian dataset at distance 0.03, the Simpson Index is 0.0044.
  
  
 +
*.simpson
  
Example calculations below will be performed using data from the 70.fn.shared file with an OTU definition of 0.03.
+
numsampled 0.01 lci hci 0.02 lci hci 0.03 lci hci
 +
1 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
 +
10 0.0000 0.0000 0.0000 0.0667 -0.0464 0.1797 0.0222 -0.0271 0.0716
 +
20 0.0000 0.0000 0.0000 0.0316 -0.0207 0.0839 0.0053 -0.0078 0.0183
 +
30 0.0000 0.0000 0.0000 0.0161 -0.0082 0.0404 0.0046 -0.0035 0.0127
 +
40 0.0000 0.0000 0.0000 0.0090 -0.0050 0.0230 0.0026 -0.0021 0.0072
 +
50 0.0000 -0.0000 0.0000 0.0073 -0.0020 0.0166 0.0024 -0.0011 0.0060
 +
60 0.0006 -0.0009 0.0021 0.0062 -0.0010 0.0134 0.0017 -0.0008 0.0042
 +
70 0.0015 0.0008 -0.0007 0.0024 0.0046 -0.0008 0.0099 0.0021 -0.0003
 +
80 0.0016 -0.0002 0.0034 0.0041 -0.0003 0.0086 0.0035 0.0003 0.0067
 +
90 0.0012 -0.0002 0.0027 0.0032 -0.0003 0.0068 0.0042 0.0006 0.0079
 +
98 0.0011 -0.0002 0.0023 0.0029 -0.0001 0.0060 0.0044 0.0008 0.0080

Revision as of 16:25, 14 January 2009

Validate output by making calculations by hand

*.simpson

These files give the classic Simpson Index of diversity.


<math>H_{Simpson} = \frac {\sum_{i=1}^{S_{obs}} {S_i \left ( S_i - 1 \right )}}{N \left( N-1 \right )}</math>


For the Amazonian dataset at distance 0.03, the Simpson Index is 0.0044.


  • .simpson

numsampled 0.01 lci hci 0.02 lci hci 0.03 lci hci 1 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 10 0.0000 0.0000 0.0000 0.0667 -0.0464 0.1797 0.0222 -0.0271 0.0716 20 0.0000 0.0000 0.0000 0.0316 -0.0207 0.0839 0.0053 -0.0078 0.0183 30 0.0000 0.0000 0.0000 0.0161 -0.0082 0.0404 0.0046 -0.0035 0.0127 40 0.0000 0.0000 0.0000 0.0090 -0.0050 0.0230 0.0026 -0.0021 0.0072 50 0.0000 -0.0000 0.0000 0.0073 -0.0020 0.0166 0.0024 -0.0011 0.0060 60 0.0006 -0.0009 0.0021 0.0062 -0.0010 0.0134 0.0017 -0.0008 0.0042 70 0.0015 0.0008 -0.0007 0.0024 0.0046 -0.0008 0.0099 0.0021 -0.0003 80 0.0016 -0.0002 0.0034 0.0041 -0.0003 0.0086 0.0035 0.0003 0.0067 90 0.0012 -0.0002 0.0027 0.0032 -0.0003 0.0068 0.0042 0.0006 0.0079 98 0.0011 -0.0002 0.0023 0.0029 -0.0001 0.0060 0.0044 0.0008 0.0080