Example 2.7. Presenting Multiple Observations per Report Row
Goal
Present in one row data from more than one observation. Use the values of a grouping variable to select the observations to present in one row.
Analyze specific variables within a row and present the results in computed columns in the report. Some of the calculations will be derived from the multiple observations in the row.
Report
Exercise Program Results Chol/ Chol/ Study Pre Program Post Program HDL HDL Chol/HDL Gender ID Chol HDL Chol HDL Pre Post Change Males 1005 296 47 ... |
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.