MatchingDissimilarity

WMA link


MatchingDissimilarity[u, v]

returns the Matching dissimilarity between the two Boolean 1-D lists u and v, which is defined as $(c_{tf} + c_{ft}) / n$, where n is len(u) and $c_{ij}$ is the number of occurrences of $u[k]=i$ and $v[k]=j$ for $k < n$.

LucasL
Multinomial