Hi all, I have analysed the correlation between two variables: hp and cyl and i'm writing a code for cluster analysis for the same varibles but ending up with error, need help. The code is: proc corr data=rank_mtcars out=cluster_mtcars; /*Here rank_mtcars is a predefined dataset*/ var hp cyl;run; proc cluster data= cluster_mtcars method=centroid rmsstd outtree=cluster_mtcars; var cyl hp;run; ERROR: TYPE=ACE, CORR, COV, EST, FACTOR, SSCP, UCORR, or UCOV data sets must be converted to TYPE=DISTANCE. Note that CLUSTER ignores the _NAME_ and _TYPE_ variables, if any.
... View more