Using SAS, run a k-means cluster on the following hypothetical data, where the first column represents the variable ID, the second column represents the variable Income and the third column represents the variable Education. Use the two numeric variables for the analysis (Income and Education), do not use a standardization method, set the maximum number of clusters to 3 and output the cluster assignments.
c1 5 5
c2 6 6
c3 15 14
c4 16 15
c5 25 20
c6 30 19
Use the following code to input the data:
data t2;
input cid $ income educ;
cards;
c1 5 5
c2 6 6
c3 15 14
c4 16 15
c5 25 20
c6 30 19
;
Indicate the cluster mean for the Income variable for Cluster 1 to one decimal place.
Your Answer:
Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount