> Barbara Diaz wrote: > > Hi, > > > > I am using fanny and I have estrange results. I am wondering if > > someone out there can help me understand why this happens. > > > > First of all in most of my tries, it gives me a result in > which each > > object has equal membership in all clusters. I have read that that > > means "the clustering is entirely fuzzy". Looking at the > graphics it > > is really difficult to understand how objects with so > different scores > > for the variables have the same membership for all the clusters.
Hi Barbara, I think, there is a problem with fanny, when you have standardised data. For example: library(mvoutlier) library(cluster) data(chorizon) a <- fanny(chorizon[,101:110],4) b <- fanny(scale(chorizon[,101:110]),4) a$mem # is ok, but b$mem # have same memberships Better to use function cmeans in package e1071, which gives correct memberships! Best, Matthias > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read > the posting guide! http://www.R-project.org/posting-guide.html > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
