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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.