Skip to Content
Carpenter's Complete Guide to the SAS REPORT Procedure
book

Carpenter's Complete Guide to the SAS REPORT Procedure

by Art Carpenter
February 2013
Intermediate to advanced
490 pages
14h 35m
English
SAS Institute
Content preview from Carpenter's Complete Guide to the SAS REPORT Procedure
374 Carpenter’s Complete Guide to the SAS REPORT Procedure
In this example, if BMI were to the left of either HEIGHT or WEIGHT on the COLUMN
statement, the calculation of BMI would fail. The following COLUMN statement would not
work:
column age sex n weight bmi height;
The value of HEIGHT (converted or otherwise) would not yet be available for use in the BMI
compute block. In fact, it would be missing altogether, and the user would receive an
“uninitialized variable” error.
11.3.3 Summary Lines and Compute Blocks in the Same
Report
When summary lines are requested in the PROC REPORT step, the summarization itself takes
place in the setup ...
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

Carpenter's Guide to Innovative SAS Techniques

Carpenter's Guide to Innovative SAS Techniques

Art Carpenter
SAS ODS Graphics Designer by Example

SAS ODS Graphics Designer by Example

Sanjay Matange, Jeanette Bottitta

Publisher Resources

ISBN: 9781599944272