Tom: I will drop my earlier preference for the many decimal fuzz factor, but not for the fuzz=0 option. My preference is fmtb as shown below and stolen from your first example in your most recent post:
PROC FORMAT;
VALUE fmta (fuzz=0)
. = 'Missing'
Low -< 3.5 = '0 - not including 3.5'
3.5 -< 6 = '3.5 - not including 6'
6 -< 20 = '6.0 - not including 20'
20 - HIGH = '20 and above';
VALUE fmtb
. = 'Missing'
Low -3.499999999 = '0 - not including 3.5'
3.5 -5.999999999 = '3.5 - not including 6'
6.0 -19.99999999 = '6.0 - not including 20'
20.0- HIGH = '20 and above';
RUN;
DATA ONE;
do i = 0 to 21 by 0.001;
j= i;
k= i;
l= i;
format j fmta.;
format k fmtb.;
OUTPUT;
end;
RUN;
Fair enough. I still vote for the fuzz=0, but fortunately both will work fine in the vast majority of cases.
Weather here in Florida is Sunny 80's...how's the weather in the Great White North?
Tom
Tom: Today's forecast, here, calls for 65º F and a bit of rain. Not bad for mid-October.
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 the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.