Previous Page  Next Page 
Analyzing by Groups

Formatting Group Variables

Usually, SAS formats in SAS/INSIGHT software determine only how data are visually displayed. Group variables, however, can use SAS formats to combine different values into a larger group. For example, suppose you are interested only in approximate depths, not in the exact values of DEPTH. You can use a format to combine the values of DEPTH into three groups:

Once you have assigned this format to DEPTH, you can assign DEPTH a Group role and use it as described earlier in this section. Each use of DEPTH creates three groups containing values in the three ranges you specified.


Related
Reading
Formats, Chapter 24.

Previous Page  Next Page  Top of Page

Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.