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.
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.
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.