Programming the statistical procedures from SAS

How to decide the number of true clusters using kth nearest neighbor clustering?

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 8
Accepted Solution

How to decide the number of true clusters using kth nearest neighbor clustering?

I used  proc modeclus code with m=1 and k=2 to 10 by1 that is with different values of k but I could not decide which solution was the best. 


Accepted Solutions
Solution
‎02-21-2016 01:55 AM
SAS Employee
Posts: 51

Re: How to decide the number of true clusters using kth nearest neighbor clustering?

Hello,

 

PROC MODECLUS has a (approximate) nonparametric test for the number of clusters.

 

Read this:

SAS/STAT 14.1 User's Guide

The MODECLUS Procedure
Details tab: Significance Tests
http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_modeclus_det...

 

Examples tab: Example 78.3 Cluster Analysis with Significance Tests
http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_modeclus_exa...

 

Read also:
Introduction to Clustering Procedures

The Number of Clusters
http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_introclus_se...

 

The last few paragraphs of the latter page deal with nonparametric clustering (and more in particular PROC MODECLUS).

 

It may be worthwhile to determine the number of clusters by using multiple methods and seeing if they agree.

 

Good luck,

Koen

 

View solution in original post


All Replies
Solution
‎02-21-2016 01:55 AM
SAS Employee
Posts: 51

Re: How to decide the number of true clusters using kth nearest neighbor clustering?

Hello,

 

PROC MODECLUS has a (approximate) nonparametric test for the number of clusters.

 

Read this:

SAS/STAT 14.1 User's Guide

The MODECLUS Procedure
Details tab: Significance Tests
http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_modeclus_det...

 

Examples tab: Example 78.3 Cluster Analysis with Significance Tests
http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_modeclus_exa...

 

Read also:
Introduction to Clustering Procedures

The Number of Clusters
http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_introclus_se...

 

The last few paragraphs of the latter page deal with nonparametric clustering (and more in particular PROC MODECLUS).

 

It may be worthwhile to determine the number of clusters by using multiple methods and seeing if they agree.

 

Good luck,

Koen

 

Occasional Contributor
Posts: 8

Re: How to decide the number of true clusters using kth nearest neighbor clustering?

Thank you. How to fix appropriate radius(r) for the significance test in Kth nearest neighbor?
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 267 views
  • 1 like
  • 2 in conversation