Skip to Content
Carpenter's Complete Guide to the SAS REPORT Procedure
book

Carpenter's Complete Guide to the SAS REPORT Procedure

by Art Carpenter
February 2013
Intermediate to advanced
490 pages
14h 35m
English
SAS Institute
Content preview from Carpenter's Complete Guide to the SAS REPORT Procedure
Chapter 6: Refining Our Understanding of the PROC REPORT Step 111
In the following example, CLINNAME appears as a GROUP variable. Since GROUP implies an
ordering of the values, the default presentation would be for the values to appear in ascending
order. The DESCENDING option reverses that order.
* Using DESCENDING;
options nocenter;
title1 'Refining REPORT Appearance';
title2 'Using the DESCENDING Option';
proc report data=rptdata.clinics
(where=(region in('1','2','3'))) nowd;
columns clinname ht wt;
define clinname / group descending;
define ht / analysis mean format=6.1;
define wt / analysis mean format=6.1;
run;
The clinic ...
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.
Start your free trial

You might also like

Carpenter's Guide to Innovative SAS Techniques

Carpenter's Guide to Innovative SAS Techniques

Art Carpenter
SAS ODS Graphics Designer by Example

SAS ODS Graphics Designer by Example

Sanjay Matange, Jeanette Bottitta

Publisher Resources

ISBN: 9781599944272