Thank you for your answer! However I still can't visualize the dendrogram even if I add the SAS command ods graphics on; Actually the commands my teacher gave me during the lesson did not include the command proc varclus but proc tree ( I changed it trying to solve the problem alone by following the instructions on your website). I leave you my "original" teacher's procedure for the single linkage method (with the ODS graphics on; added by me) . Then I've pasted a screenshoot of the output obtained by adding the ODS command before the proc tree statement. The same problem occurs with other cluster methods (complete linkage, average method, Ward). /*********************************************************************************************/
/* Hierarchical Cluster Analysis on first three PC */
/*********************************************************************************************/
/*********************************************************************************************/
/* Single linkage */
/*********************************************************************************************/
proc cluster simple noeigen data=base.prin method=single outtree=dendro pseudo rmsstd rsq ;
var prin1-prin5;
copy d8_1--d8_19;
ID interview_number;
run;
/****************************************************************************************************************/
/* Create the dendrogram */
/****************************************************************************************************************/
ods graphics on;
proc tree;
run; This is the output I see after running the procedure above. Thank you again!
... View more