good3 {nomclust} | R Documentation |
A function for calculation of a proximity (dissimilarity) matrix based on the G3 similarity measure.
good3(data)
data |
A data.frame or a matrix with cases in rows and variables in colums. |
The Goodall 3 similarity measure was presented in (Boriah et al., 2008). It is a simple modification of the original Goodall measure (Goodall, 1966). The measure assigns higher weight if the infrequent categories match regardless on frequencies of other categories.
The function returns an object of class "dist".
Zdenek Sulc.
Contact: zdenek.sulc@vse.cz
Boriah S., Chandola V., Kumar V. (2008). Similarity measures for categorical data: A comparative evaluation.
In: Proceedings of the 8th SIAM International Conference on Data Mining, SIAM, p. 243-254.
Goodall V.D. (1966). A new similarity index based on probability. Biometrics, 22(4), p. 882.
eskin
,
good1
,
good2
,
good4
,
iof
,
lin
,
lin1
,
of
,
sm
,
ve
,
vm
.
# sample data data(data20) # dissimilarity matrix calculation prox.good3 <- good3(data20)