0
$\begingroup$

I do factor analysis with 4 clusters and 7 variables. The resulting diagram is : enter image description here

What are the axes showing? I have 7 variables forming the clusters. So, how can the clusters be shown in this 2-D diagram instead of a 7-D diagram? What do "component 1" and "component 2" represent? How are they calculated? Any help is highly appreciated

$\endgroup$
  • 1
    $\begingroup$ The clusplot documentation answers your question... make sure to read the "Details", too, and the referenced work. $\endgroup$ – Has QUIT--Anony-Mousse Jun 5 '15 at 23:22
  • $\begingroup$ how do I know which attributes are components 1 and 2? $\endgroup$ – Anna Jole Oct 25 '17 at 5:14
  • $\begingroup$ Search this forum for questions and answers on the topic of PCA, where you will find all information required and more. $\endgroup$ – Nikolas Rieble Oct 25 '17 at 7:13
3
$\begingroup$

The R PAM implementation and clusplot is doing a principal components analysis (PCA). This is essentially an analysis of the covariance matrix of your variables to determine how much of the variability in the data can be explained by a reduced dimensionality set of basis vectors that are not correlated. It's a way of detecting and removing correlation from your original set of data factors.

If most (>90% say) of the variation was in the first two principal components, using all of your 7 variables would not be adding much useful information (some of them may be correlated), and representing your data in terms of the principal components would be to your advantage in reducing the dimensionality (e.g from 7 original variables to 2 principal components).

The clusplot shows the 2 largest principal components as the X and Y axes, and plots your data points (green symbols) in terms of the value of the first and second principal component. It also shows the percentage of variability in the data that can be explained by the first 2 principal components.

The ellipses are the shape of the regions covered by your 4 clusters in terms of the principal components.

So the clusplot is a visualization of how separable or not your clusters are (lots of overlap between the ellipses means they are not very well separated, so the clustering did not work very well) and how much redundant information is in your data set.

I didn't cover all the issues of PCA and clustering in this answer but hopefully that will help start you in looking at more detailed references.

| cite | improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.