DiceDissimilarity

DiceDissimilarity[x,y]

gives the Dice dissimilarity between Boolean vectors x and y.

Details

  • 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.

Examples

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:

Wolfram Research (2007), DiceDissimilarity, Wolfram Language function, https://reference.wolfram.com/language/ref/DiceDissimilarity.html.

Text

Wolfram Research (2007), DiceDissimilarity, Wolfram Language function, https://reference.wolfram.com/language/ref/DiceDissimilarity.html.

CMS

Wolfram Language. 2007. "DiceDissimilarity." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DiceDissimilarity.html.

APA

Wolfram Language. (2007). DiceDissimilarity. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DiceDissimilarity.html

BibTeX

@misc{reference.wolfram_2024_dicedissimilarity, author="Wolfram Research", title="{DiceDissimilarity}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/DiceDissimilarity.html}", note=[Accessed: 13-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_dicedissimilarity, organization={Wolfram Research}, title={DiceDissimilarity}, year={2007}, url={https://reference.wolfram.com/language/ref/DiceDissimilarity.html}, note=[Accessed: 13-October-2024 ]}