gives the Dice dissimilarity between Boolean vectors x and y.


  • DiceDissimilarity works for both True, False vectors and 0, 1 vectors.
  • DiceDissimilarity[u,v] is equivalent to (n10+n01)/(2n11+n10+n01), where nij is the number of corresponding pairs of elements in u and v respectively equal to i and j.


open allclose all

Basic Examples  (2)

Dice dissimilarity between two 0, 1 vectors:

Dice dissimilarity between two Boolean vectors:

Scope  (2)

Compute dissimilarity between any 0, 1 vectors of equal length:

Compute dissimilarity between any True, False vectors of equal length:

Applications  (2)

Cluster binary data using Dice dissimilarity:

Cluster True, False data using Dice dissimilarity:

Properties & Relations  (4)

Dice dissimilarity is bounded by 0 and 1:

DiceDissimilarity is less than or equal to JaccardDissimilarity:

DiceDissimilarity is less than or equal to SokalSneathDissimilarity:

DiceDissimilarity is less than or equal to RussellRaoDissimilarity:

Introduced in 2007