A metric dissimilarity must satisfy, for all , the four propertiesThey are nonnegativity, identity of indiscernibles, symmetry and the triangle inequality. The following two transformations of the simple matching coefficient behave differently at the identity.
For fixed , the complement of the simple matching coefficient is the fraction of coordinates that disagree:This is the normalized Hamming distance. It is nonnegative, symmetric, and is zero exactly when every coordinate agrees. At each coordinate,Summing and dividing by proves the triangle inequality. Therefore is a metric on the binary vectors.
For every binary vector , , and henceThus is not a metric, because it fails identity of indiscernibles. It is nonnegative and symmetric. In fact it also satisfies the triangle inequality trivially: every value lies in , so . That does not repair its nonzero self-distance.
Articles by others on the same topic
There are currently no matching articles.