Hi....I am using the Proc Cluster analysis to group some data and would like to select, if it is possible, the Number of Clusters (NCL) based on the maximum value from the CCC. I am able to create a SAS Report and wondering if it is possible to work from the Cluster History Table that is generated in the Report. Thanks in advance.
what do you mean by working from the cluster history table?
You can create a dataset with the contents of the Cluster History Table using the ODS SELECT statement.
Add:
ods select ClusterHistory= yourlib.yourdataset; to the procedure syntax.
After that there are many ways to select the record with the largest CCC.
Hi Ballardw.....Thank you for your help. I ended up having to use the statement " ods output ClusterHistory=ClusterHistory" rather than select which created the dataset I wanted. Thanks once again.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.