Example 3.5. Producing a Hierarchical Tabular Report

Goal

Compute statistics on analysis variables by categories defined by the combinations of classification variables in a data set. Nest some of the categories under each other in the same dimension of the report so that the report has a hierarchical appearance.

Report

                        Regional Gender Distribution
                             among Job Classes

--------------------------------------------------
--------------------------
|Job Class         |                        Region
                         |
|                 
 |------------------------------
-------------------------|
|                  |           North           |  
 South ...

Get SAS® Guide to Report Writing: Examples, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.