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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 1319 views
  • 0 likes
  • 2 in conversation