I have 30 observations and 60 variables. I conducted a k-means cluster in R with 5 clusters. If I am supposed to choose only 10 variables to show that they have the impact on creating clusters more than other variables, what criteria should I consider?
-
3$\begingroup$ Can you post the data? What do you mean "I am supposed to choose..."? Is this an assignment? $\endgroup$– gung - Reinstate MonicaCommented Jan 16, 2017 at 17:38
-
2$\begingroup$ In k-means, every cluster has exactly one center! $\endgroup$– Has QUIT--Anony-MousseCommented Jan 22, 2017 at 13:47
1 Answer
First, I am not quite understand your overall approach. You built a model / (a clustering results) from data. But how good it is? (Why 5 clusters?). Without verifying the results are "good", why we should check with variables are contribute more on the unverified results?
Let's assume you checked the clustering results are good and just want to know which variables contribute more on the cluster center. I would first check the scale of the variables. If you are not scaling the variables, usually variables in large scale will be more important. Details can be found here.