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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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