BookmarkSubscribeRSS Feed
chemicalab
Fluorite | Level 6

Hi all,

This might have a simple answer but i just want to be sure.

Lets say that through clustering i have created 6 clusters , each cluster containing various IDs whith its characteristics lets say like up to 5 attributes (columns for each ID).

Since i have proven my model to be robust based on historical data my question is the following:

When i receive lets say 10000 new IDs (with their 5 attributes) and i want to place them into the clusters i have already created given based on their similar attributes , what would be the best procedure to follow?

I hope this makes sense , thnx in advance

2 REPLIES 2
Rick_SAS
SAS Super FREQ

One way is to compute the center of each cluster (often the mean of the cluster is used). For each new observation, compute the distance to each cluster center, and assign it to the cluster to which it is closest.   (If the overall data has covariance, then you could use a Mahalanobis distance instead of a Euclidean distance.) To implement this approach, look at http://support.sas.com/kb/30/662.html, which is similar in spirit.

Ksharp
Super User

It looks like you could use Discriminating Analysis ,since you have already created 6 clusters.

Ksharp

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
  • 2 replies
  • 1738 views
  • 0 likes
  • 3 in conversation