Terminology: TABULATE Procedure


The following figures illustrate some of the terms that are commonly used in discussions of PROC TABULATE.

In addition, the following terms frequently appear in discussions of PROC TABULATE:

category

  • the combination of unique values of class variables . The TABULATE procedure creates a separate category for each unique combination of values that exists in the observations of the data set. Each category that is created by PROC TABULATE is represented by one or more cells in the table where the pages, rows, and columns that describe the category intersect.

  • The table in Figure 48.1 on page 1198 contains three class variables: Region, Division, and Type. These class variables form the eight categories listed in Table 48.1 on page 1199. (For convenience, the categories are described in terms of their formatted values.)

    click to expand
    Figure 48.1: Parts of a PROC TABULATE Table

    Table 48.1: Categories Created from Three Class Variables

    Region

    Division

    Type

    Northeast

    New England

    Residential Customers

    Northeast

    New England

    Business Customers

    Northeast

    Middle Atlantic

    Residential Customers

    Northeast

    Middle Atlantic

    Business Customers

    West

    Mountain

    Residential Customers

    West

    Mountain

    Business Customers

    West

    Pacific

    Residential Customers

    West

    Pacific

    Business Customers

continuation message

  • the text that appears below the table if it spans multiple physical pages.

nested variable

  • a variable whose values appear in the table with each value of another variable.

    In Figure 48.1 on page 1198, Division is nested under Region.

page dimension text

  • the text that appears above the table if the table has a page dimension. However, if you specify BOX=_PAGE_ in the TABLE statement, then the text that would appear above the table appears in the box. In Figure 48.2 on page 1199, the word Year: , followed by the value, is the page dimension text.

    click to expand
    Figure 48.2: PROC TABULATE Table Dimensions

    Page dimension text has a style. The default style is Beforecaption . For more information about using styles, see STYLE= on page 1208 in the PROC TABULATE statement and Output Delivery System on page 32.

subtable

  • the group of cells that is produced by crossing a single element from each dimension of the TABLE statement when one or more dimensions contain concatenated elements.

    Figure 48.1 on page 1198 contains no subtables. For an illustration of a table that is composed of multiple subtables, see Figure 48.18 on page 1288.




Base SAS 9.1.3 Procedures Guide (Vol. 2)
Base SAS 9.1 Procedures Guide, Volumes 1, 2, 3 and 4
ISBN: 1590472047
EAN: 2147483647
Year: 2004
Pages: 142

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net