BookmarkSubscribeRSS Feed
monster90
Calcite | Level 5

Hi guys,

 

If I use proc rank with grouping function, what is the different between this method and the k mean clustering method?

Actually i do not see any other differentiation only that with using proc rank (with group) the procedure wants to divide the groups in equal part...

Thanks your answer,

Steve

2 REPLIES 2
mkeintz
PROC Star

I won't comment on k-means clustering method, but ...

 

  1. proc rank cares about order, but not distance, however distance is defined.  And of course this is associated with only permitting equal-size groups.

  2. proc rank doesn't do multi-dimensional "clustering", however defined.  I presume the clustering method does do multi-dimensional.

 

 

--------------------------
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set

Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets

--------------------------
PaigeMiller
Diamond | Level 26

PROC RANK computes ranks on individual variables.

 

K-mean clusters finds groupings of observations in your data set using multiple variables.

 

These don't do the same things.

--
Paige Miller

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 597 views
  • 0 likes
  • 3 in conversation