Calculation of the Index of Dissimilarity