The Anderberg similarity measure was presented in (Anderberg, 1973).
The measure assigns higher weights to infrequent matches and mismatches.
It takes on values from zero to one. The minimum similarity is attained when there are no matches and vice versa, see (Borian et al., 2008).
References
Andergerg M.R. (1973). Cluster analysis for applications. Academic Press, New York.
Boriah S., Chandola V., Kumar V. (2008). Similarity measures for categorical data: A comparative evaluation.
In: Proceedings of the 8th SIAM International Conference on Data Mining, SIAM, p. 243-254.