Example 2.5. Summarizing Columns and Rows

Goal

List observations in a data set, one observation per row, and summarize selected numeric variables. Summarize over all observations and summarize observations within groups. Summarize specific variables within an observation and add these summaries as columns in the report.

Report

												   Regional Energy
                                 Quarterly Use by
 Residential and Commercial Customers

                                 ------------First
 Quarter------------- ------------Second ...

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.