BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi. I have not built models in SAS before, but any help would be greatly appreciated. Ultimately, I would like to find the optimal "score" values in the following table:
age_LB | age_UB | score
20 | 29 | 20
30 | 39 | 30
40 | 49 | 40

A score gets assigned depending on the age of the person according to the values above. The dataset would look something like this:
name | age | GB | Score
peter | 21 | G | 20
jo | 31 | G | 30
mary | 41 | G | 40
sam | 21 | B | 20
paul | 31 | B | 30
jane | 41 | B | 40

Now what I need to do is to change the scores in the first table such that the following statistic is maximized:
(Mean_G - Mean_B)^2/(0.5*(Variance_G^2 + Variance_B^2))
where Mean_G is the mean score for the "G"'s, etc.

Also, there is also a criterion that the scores must not decrease as the age increases and they cannot be negative (e.g. the scores must go 20 < 30 < 40).

Any ideas on how to go about tackling this problem? Thanks very much!

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 0 replies
  • 487 views
  • 0 likes
  • 1 in conversation