Skip to Main Content
Statistical Programming in SAS
book

Statistical Programming in SAS

by John Bailer
April 2015
Intermediate to advanced content levelIntermediate to advanced
460 pages
14h 45m
English
SAS Institute
Content preview from Statistical Programming in SAS
Chapter 3: Using SAS Procedures 91
The different impacts of setting formats in a DATA step versus in a PROC are shown in
Display 3.8.
Display 3.8 Output from printing data with a few formatting options
================================================================
Y formatted in DATA 1
Obs x y
1 1 $2.00
2 4 $3.00
3 5 $6.00
4 12345 123456
================================================================
Y formatted in DATA 2
X now formatted in the 2nd PROC PRINT
Obs x y
1 $1.00 $2.00
2 $4.00 $3.00
3 $5.00 $6.00
4 $12,345.00 123456
================================================================
Y formatted in DATA 3
Obs x y
1 ...
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

Elementary Statistics Using SAS

Elementary Statistics Using SAS

Sandra D. Schlotzhauer

Publisher Resources

ISBN: 9781607645047