Re: [R] cluster results using fanny

From: TEMPL Matthias <Matthias.Templ_at_statistik.gv.at>
Date: Tue 17 May 2005 - 18:31:07 EST


> 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

> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read
> the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue May 17 18:36:42 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:47 EST