←
Subsets
/
Reference of Built-in Symbols
/
Integer Functions
/
Combinatorial Functions
/
YuleDissimilarity
/
YuleDissimilarity
WMA link
YuleDissimilarity
[
u
,
v
]
returns the Yule dissimilarity between the two Boolean 1-D lists
u
and
v
, which is defined as $R / (c_{tt} c_{ff} + R / 2)$ where
n
is $len(u)$, $c_{ij}$ is the number of occurrences of $u[k]=i$, $v[k]=j$ for $k<n$, and $R = 2 c_{tf} c_{ft}$.
YuleDissimilarity[{1, 0, 1, 1, 0, 1, 1}, {0, 1, 1, 0, 0, 0, 1}]
←
Subsets