Programming the statistical procedures from SAS

Placing new data rows automatically in given established clusters

Reply
Frequent Contributor
Posts: 126

Placing new data rows automatically in given established clusters

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

SAS Super FREQ
Posts: 3,304

Placing new data rows automatically in given established clusters

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.

Grand Advisor
Posts: 9,444

Placing new data rows automatically in given established clusters

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

Ksharp

Ask a Question
Discussion stats
  • 2 replies
  • 86 views
  • 0 likes
  • 3 in conversation