07-04-2017 05:55 AM
I would like to find optimal number of cluster based on predefined parameters ( Pseudo F Statistic, R-Squared and CCC).
To do so, I'm using an iterative macro to generate different levels of clustering with Fastclus procedure.
Then, I would like to plot the evolution of the parameter regarding the number of cluster and make a decision. But I don't know how to do it because the information are available in the report. I would like to retrieve the parameter value for each level of clustering.
Do u think it's feasible?
Thank u in advance.
here's the macro :
%macro doFASTCLUS; %do k= 30 %to 40; proc fastclus data=T_Input_&k out=T_Ouput_&k outstat=Clust_Stat_&k maxclusters=&k maxiter=1000 converge=0; var Age Duration Capital; run; run; %end; %mend; %doFASTCLUS