BookmarkSubscribeRSS Feed
SAS_ASS
Obsidian | Level 7

Hey There!

 

Im conducting a cluster analysis in SAS. However, I dont really like the plot of the cluster distance.

Is there a possibility to load the the cluster results or a workflow result from the system in r to visualize the cluster distance based on the two principal components as decribed in the following article:

 

https://towardsdatascience.com/clustering-on-mixed-type-data-8bbd0a2569c3

 

Thanks and kind regards!

3 REPLIES 3
ChrisHemedinger
Community Manager

You didn't say which visualization you're looking at or what you don't like about it, but you can definitely create just about anything you want with PROC SGPLOT if you have the data.  Based on your query, check out this blog post.  But if you have further questions, add some sample data/code and other can probably help.

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!
SAS_ASS
Obsidian | Level 7

Thanks for your answer. The type of visualizaion I want is described in the article in my post.

It is based on the two principal components and the dots visualize the cluster

ChrisHemedinger
Community Manager

I saw that and that's why I recommended the post that I did, as it had this example from PRINCOMP.  Many SAS/STAT procedures offer built-in plots that might come close to what you need.  But where they fall short, we have PROC SGPLOT to create customized charts.

 

aspectratio3.png

 

Looks like you're looking for something like this -- which is definitely possible from SAS with SGPLOT.  

 

From https://towardsdatascience.com/clustering-on-mixed-type-data-8bbd0a2569c3From https://towardsdatascience.com/clustering-on-mixed-type-data-8bbd0a2569c3

You might also be interested in this post that shows a similar technique, but with prediction ellipses.  If you can supply sample data, I'm sure that someone can provide or point you to a code example.

 

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 995 views
  • 1 like
  • 2 in conversation