BookmarkSubscribeRSS Feed
JeremySmith
Calcite | Level 5

I've been working on a clustering project where I cluster customers based on their thresholds. 

 

For example

 

Distance from centroid:        Avg TH for Cluster:          Target:     

0.0617                                       8977                                     8000

 

 

The goal of this project is to be able to predict thresholds for a customers based on their cluster average threshold and the distance from that cluster's centroid.

 

For the above example, when scaled the values would look like:

 

Distance from centroid:        Avg TH for Cluster:          Target:     

0.89                                           8977                                     8000

 

(0.89) * 8977 = 8000

 

However, there is an obvious scaling issue between the distance from centroid values and the average threshold per cluster value. 

I've explored Proc Transgres and OPSCAL, however I am not sure how I can incorporate the multiplication of the two values to get the target value.

1 REPLY 1
ballardw
Super User
By "Transgres" did you mean Transreg?

Perhaps STDIZE before the clustering?

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 96 views
  • 0 likes
  • 2 in conversation