Matching coefficient is a similarity coefficient for data consisting of the number of binary variables which is often used in cluster analysis. It can be given as follows here a, b, c and d are the four frequencies in the two-by-two cross-classification of variable values forth subjects i and j.