BookmarkSubscribeRSS Feed
Bal23
Lapis Lazuli | Level 10

An HR company wants to see how much it costs for a new hired employee and its relationship between the cost and the scores of tests he took during the interview.

The cost is not normally distributed. Skewed. The correlation is low. Now I need to explore distribution of cost within each test quintile. Mean, median, inter-quartile ranges.

 

2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12

I guess that I would first divide the test scores into quintiles using PROC RANK and then do boxplots to describe the data.  If you have different dimensions of test scores, you might be able to put together a two-dimensional array of box plots, but that might be hard to view.

Bal23
Lapis Lazuli | Level 10

I did rank but it is only one variable. Now I need to see how one variable distribution among groups of another variable. You are right, it is hard to see. And I do not know how to do box plot for two variables

I used KS method. Kolmogorov–Smirnov test . but I do not know how to interpret the SAS output. Anyone has advice? Thanks. Or is there a better way to see?

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

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1209 views
  • 0 likes
  • 2 in conversation