372 Carpenter’s Complete Guide to the SAS REPORT Procedure
Here is the final report:
Simple Table with Summary Lines
Mean Mean
Age Gender N Weight Height
12 F 2 80.8 58.05
M 3 103.5 60.37
5 94.4 59.44
13 F 2 91.0 60.90
M 1 84.0 62.50
3 88.7 61.43
8 92.3 60.19
11.3 Compute Block Processing
When compute blocks are added to the PROC REPORT step, the required processing steps
become more complex, but the fundamental process of creating one report row at a time during
the report row phase is the same.
11.3.1 Creating a Computed Variable
In this PROC REPORT step, the Body Mass Index (BMI) is calculated as a computed variable
from the ...
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.