Hi All, do you know how to calculate Hopkin Statistic in SAS? Hopkin Statistic tells us whether the dataset has a natural cluster tendency. Thanks in advance 🙂
Unfortunately, the Hopkins statistic is not currently produced by any procedure in SAS.
PROC MODECLUS performs the saddle test and you can use this to test for unimodality. You need to specify the R= and JOIN options in the MODECLUS statement. METHOD=1 is the most commonly used method and you can find the description here under PROC MODECLUS > Clustering Methods
There is an example in the documentation: Cluster Analysis with Significance Tests
One way to estimate the number of clusters is to run the analysis over a range of values of the smoothing parameter. If you get the same number of clusters over a range of values, then that is a likely indication of the number of clusters. For a more detailed discussion, take a look in the Details section of the MODECLUS chapter, particularly the 'Density Estimation' and 'Significance Tests' sub sections.
For additional discussion and ideas for determining the number of clusters, see "The Number of Clusters".
Hope this helps!
Doug
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!
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.