Alexander.Herr at csiro.au
2007-Jul-27 07:32 UTC
[R] cluster - identify variables contributions to clusters of cases
Hi List, How would I go about best identifying the variables contributing most to the specific clusters? eg using either aglomerative or partitioning methods, but with mixed variables (ie including categorical) eg: factor(as.integer(runif(min=1, max=5,nrow(USArrests))))->t1 as.data.frame(cbind(USArrests,categ=t1))->test agnes(test,metric="gower", method="ward")->test1 cutree(test1,k=5)->clust ?where to go from here? Any hints appreciated Thanx Herry
Ranjan Maitra
2007-Jul-27 12:23 UTC
[R] cluster - identify variables contributions to clusters of cases
I am not sure this might help, but you are perhaps lookign at variable selection. There is a 2006 JASA paper by Raftery and Dean which may help. Many thanks, Ranjan On Fri, 27 Jul 2007 17:32:02 +1000 <Alexander.Herr at csiro.au> wrote:> Hi List, > > How would I go about best identifying the variables contributing most > to the specific clusters? > eg using either aglomerative or partitioning methods, but with mixed > variables (ie including categorical) eg: > > factor(as.integer(runif(min=1, max=5,nrow(USArrests))))->t1 > as.data.frame(cbind(USArrests,categ=t1))->test > agnes(test,metric="gower", method="ward")->test1 > cutree(test1,k=5)->clust > > > ?where to go from here? > > Any hints appreciated > Thanx > Herry > > ______________________________________________ > R-help at 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 and provide commented, > minimal, self-contained, reproducible code. >