Skip to Main Content
Base SAS 9.4 Procedures Guide, Third Edition
book

Base SAS 9.4 Procedures Guide, Third Edition

by SAS Institute
August 2014
Intermediate to advanced content levelIntermediate to advanced
2218 pages
209h 16m
English
SAS Institute
Content preview from Base SAS 9.4 Procedures Guide, Third Edition
3='Possibly'
SAS makes a single comparison to format a value.
Using these IF-THEN/ELSE statements, SAS makes a single comparison to format a
value as well.:
if x=1 then label='Yes';
else if x=2 then label='No';
else if x=3 then label='Possibly';
A binary search is more efficient when the number of comparisons to make increases.
The greater the number of comparisons, the more efficient is the binary search.
Syntax: FORMAT Procedure
Restriction: You cannot use a SELECT statement and an EXCLUDE statement within the same
PROC FORMAT step.
Tip: You can also use appropriate global statements with this procedure. See “Global
Statements” on page 22 for a list. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Base SAS 9.4 Procedures Guide, Second Edition

Base SAS 9.4 Procedures Guide, Second Edition

SAS Documentation
Oracle® Database 10g Insider Solutions

Oracle® Database 10g Insider Solutions

Arun Kumar R., John Kanagaraj, Richard Stroupe

Publisher Resources

ISBN: 9781629593043