Programming the statistical procedures from SAS

Proc Cluster problem

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 12
Accepted Solution

Proc Cluster problem

Dear Friends

I am working on clustering of 241 individuals based on 5 traits. When I am using this macro

ods graphics on;

proc cluster data=Ace method=ward ccc pseudo print=15 out=tree

   plots=den(height=rsq);

     var can1-can3;

   id g;

run;

ods graphics off;

It says

WARNING: The MAXPOINTS option value 200 is less then the number of clusters (241). This may

         result in a dendrogram that is difficult to read. The dendrogram will not be displayed.

         You can use the PLOTS(MAXPOINTS=) option in the PROC CLUSTER statement to change this

         maximum

How should I proceed. where should I write maxpoints=241 and maxcluster=241 so that I can get the results.Thanks in advance.

regards

anil


Accepted Solutions
Solution
‎01-13-2015 03:24 AM
Occasional Contributor
Posts: 12

Re: Proc Cluster problem

thank you Mohamed Zaki for the solution.

regards

anil

View solution in original post


All Replies
Super Contributor
Posts: 490

Re: Proc Cluster problem

ods graphics on;

proc cluster data=Ace method=ward ccc pseudo print=15 out=tree

   plots (maxpoints=241)=den(height=rsq);

     var can1-can3;

   id g;

run;

ods graphics off;

Solution
‎01-13-2015 03:24 AM
Occasional Contributor
Posts: 12

Re: Proc Cluster problem

thank you Mohamed Zaki for the solution.

regards

anil

☑ This topic is SOLVED.

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

Discussion stats
  • 2 replies
  • 678 views
  • 0 likes
  • 2 in conversation