I am learning sas and totally new to this field. I have 2 doubts: 1. I have to do hierarchical clustering for a dataset. How can i do hierarchical clustering using 2 dataset out of which one is demographic data and other is survey data. 2. I was trying to write a code to do clustering for survey data. Here is the code: data a1; infile "/folders/myfolders/pda.csv" dlm=',' firstobs=2; input ID $ Innovator $ Use_message $ Use_cell $ Use_PIM $ Inf_passive $ INF_active $ remote_access $ Share_info $ Monitor $ Email $ Web $ M_media $ ergonomic $ monthly price; run; proc cluster simple noeigen method=centroid rmsstd rsquare nonorm outtree=a2; id ID Innovator Use_message Use_cell Use_PIM Inf_passive INF_active remote_access Share_info Monitor Email Web M_media ergonomic; var price monthly; run; But it is showing this again and again. proc cluster simple noeigen method=centroid rmsstd rsquare nonorm outtree=a2; 63 id ID Innovator Use_message Use_cell Use_PIM Inf_passive INF_active remote_access Share_info Monitor Email Web M_media _________ 22 76 63 ! ergonomic; ERROR 22-322: Expecting ;. ERROR 76-322: Syntax error, statement will be ignored. 64 var price monthly; 65 run; How can i proceed with it. I am attaching one of the file here.
... View more