BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
juanvg1972
Pyrite | Level 9

Hi,

 

I am using proc fastclus in order to do clustering with k-means methods.

All my variables are numeric and continuos (like sales, costs, margin...), but I don'y know how to use class variables like "way of payment" (forma de pago, sorry for my english).

 

I don't know if the algorithm works well with class vars to calculate distance. Is there anyway to do this?, do I need a ordinal class vars?

 

Another question, I know that I can use N vars in a clustering, but is ther any problem  if I use many... I am thinking in 4 or 5 vars....

 

Any advice will be greatly appreciated.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
juanvg1972
Pyrite | Level 9

I have found proc kclus where I can use both numeric and class vars

 

 

View solution in original post

1 REPLY 1
juanvg1972
Pyrite | Level 9

I have found proc kclus where I can use both numeric and class vars

 

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 1700 views
  • 0 likes
  • 1 in conversation