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

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!

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
  • 580 views
  • 0 likes
  • 3 in conversation