Bray Curtis Distance
Calculator to calculate the Bray-Curtis distance
This function calculates a distance between two positions using the Bray-Curtis method. The Bray-Curtis distance is equal to the Manhattan distance divided by the sum of both vectors.
To calculate, enter a series of x /y pairs (vectors). The individual numbers are separated by semicolons or spaces. Then click on the 'Calculate' button.
|
Formula for the Bray-Curtis distance
\(\displaystyle d(x,y)=\frac{\displaystyle\sum_{i=1}^n |x_i-y_i|} {\displaystyle\sum_{i=1}^n x_i+\sum_{i=1}^n y_i}\)
Example
\(\displaystyle d=\frac{|0-7|+|3-6|+|4-3|+|5+1|}{(0+7)+(3+6)+(4+3)+(5-1)}\) \(\displaystyle =\frac{17}{27}=0.6296\)
|