/* File "jobspw1.sas": see class notes slides 11-13. Note comments in SAS are enclosed by "slash-star" and "star-slash." First import the jobspw1.xls data as usual (use "jobspw1" for the "member" name, then open this file (use File > Open) and highlight the following code (from "proc cluster" to the first "run;"), and select Run > Submit from the main menu. */ proc cluster method=single nonorm noeigen data=work.jobspw1 outtree=work.jobspw1tree; var denver eugene; id id; run; /* If you click on the Explorer tab in the Results window you should see file "Jobspw1tree" in the Work library. This file can be used to construct a dendogram using proc tree (Highlight from "proc tree" to "run;" and "Submit"): */ proc tree data=work.jobspw1tree; run;