In SAS, a data scientist applies PROC HPCLUS to segment customers and wants to profile each cluster by computing mean values of key variables. Which post-clustering approach accomplishes this most efficiently?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — d is correct because both PROC TABULATE and PROC MEANS with a CLASS statement can compute means by cluster group after PROC HPCLUS has assigned cluster labels to the output dataset. PROC MEANS CLASS=_CLUSTER_ is the more concise approach while PROC TABULATE provides richer cross-tabulation formatting.
Full explanation below image
Full Explanation
D is correct because both PROC TABULATE and PROC MEANS with a CLASS statement can compute means by cluster group after PROC HPCLUS has assigned cluster labels to the output dataset. PROC MEANS CLASS=_CLUSTER_ is the more concise approach while PROC TABULATE provides richer cross-tabulation formatting. B is wrong because PROC HPCLUS does not have a PROFILE=YES option. Since both A and C work, D is the most complete answer.