BookmarkSubscribeRSS Feed
samHT
Calcite | Level 5
hi,

I have 2 questions in my mind, can anyone help me on it.

1. Is it necessary to create dummy variables in cluster analysis? if yes
2. Do we need to standardize dummy variables along with other continuous variables to get ride of different measuring units


Thanks
2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12
The answers are in the PROC CLUSTER reference documentation.

1) cluster works only against numeric variables. So, if you have classification variables, you need to recode to dummies or apply some other sort of metric.
2) no, you don't need to standardize. See the examples.
samHT
Calcite | Level 5
Thank you :-), now i have created dummy variables for the class variables, i will use them in clustering without standardizing.

however i have some outliers in 2 variables (1 continuous variable and 1 discrete variable), so do i need to do the outlier treatment first or stadadrization first.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1538 views
  • 0 likes
  • 2 in conversation