BookmarkSubscribeRSS Feed
art297
Opal | Level 21

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;

TomKari
Onyx | Level 15

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

art297
Opal | Level 21

Tom: Today's forecast, here, calls for 65º F and a bit of rain.  Not bad for mid-October.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is Bayesian Analysis?

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 17 replies
  • 2066 views
  • 7 likes
  • 7 in conversation