Hi,
This is a part of the proc format ;
I want in this order when i generate the report.
VALUE BMIFMT
0-18.49="Underweight"
18.50-24.99="Normal"
25-29.99="Overweight"
30-high="Obese"
;
I am getting the following order even after I use order=formatted in the proc report
Normal
Obese
Overweight
Underweight.
Could anyone help please.
Thanks
That is the alphabetical order of the formatted values. Did you try order=internal?
PS - What value should your format give for 18.495 ? You should make the upper and lower limits of adjacent groups use the same value to prevent creating gaps.
And use the < range modifier as appropriate on one end or the other.
Hi Tom,
Unpectedly i deleted the answer. hope you get the credit for it anyways.
Thanks
You probably deleted your secondary post that I replied to and so that deleted everything related to it.
You should just re-post the solution you like and mark it as correct. Don't worry about the points, it is showing an answer that is most valuable to future users that have a similar question.
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!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.