7.2. Adding Statistics to Summary Tables

The previous section showed how to produce a table containing simple counts. Sometimes that’s all you need, but often you want more. You might want to know total sales by region, or the mean test score for each class. In summary tables, you can compute sums and means, plus a long list of other statistics, including maximum and minimum values, percentages, medians, quartiles, standard deviations, and variances.

This example uses the Tours data set to create a report showing the minimum number of days, maximum number of days, and mean price for each level of difficulty. In the Project Explorer or Project Designer, click the data icon to make it active. Then select Describe Summary Tables from the menu ...

Get The Little SAS® Book for Enterprise Guide® 4.1 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.