I get one histogram/distribution, which is good and close to Normal (see blow).
I get another one, which is not good and skewed heavily. (see below).
How to convert this histogram/distribution to the one above, but mapping/changing value?!
Code, or Logic?!
I think you will have to resort anyway to:
Box-Cox or Yeo-Johnson transformations.
See here:
I also have SAS-code for that Yeo-Johnson transformation ... but cannot spot it right now.
For Box-Cox code, see the post just above (with link to SAS doc).
Koen
Are you requesting how to change the values of your variable(s) to a normal distribution or close to it? Or how to change the graph so the tails on the outliers to right do not appear?
If it is to change the appearance of the graph then you should provide the code you are currently using to create the graph so we can make informed suggestions. While a "picture is worth a thousand words" the picture can't actually show us things like the options used in code.
Hello,
Good luck,
Koen
I think you will have to resort anyway to:
Box-Cox or Yeo-Johnson transformations.
See here:
I also have SAS-code for that Yeo-Johnson transformation ... but cannot spot it right now.
For Box-Cox code, see the post just above (with link to SAS doc).
Koen
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.