GRPMAT: Group Matrix of Members in Common

Last updated 18 Nov 97

This program reports a matrix showing the number or percentage of cases in common, or optionally the percent time overlap between all requested groups.

Program Invocation

The specific syntax for program invocation varies between operating systems. This document diplays the code for the AIX version.


@codap grpmat <opt> <ssss> <TFf1> [<TFf2>]
opt:  B   Print percentage of column group which are members of row group
          and print the number of members in common table.
      F   Print number of members in common table
      T   Print percent time overlaps instead of number of members in common.
      -   Default is to print percentage of column group which are members 
          of the row group.
ssss:     The study number 
TFf1:     Input main Task Factor file.
TFf2:     Input Task Factor file for column groups. If not specified,
          the first Task Factor file is used.

GRPMAT Control Card


GRPMAT <study> <title>
GRPMAT:   cc 01-06  The literal 'GRPMAT'
study:    cc 08-11  The 4-digit study number
title:    cc 13-72  Title for this report

ROWS Control Card

This control card specifies the beginning of the requested groups to print as rows in the report.


ROWS <headr>
ROWS:     cc 01-04  The literal 'ROWS'.
headr:    cc 06-65  The header line to use for the row groups.

Group Request Cards

These cards are identical for rows and columns. There may be up to 200 of these cards in each section.


<group> <code>
group:    cc 01-06  The requested Group ID
code:     cc 08-13  1 to 6 character code value to replace the Group ID
                    in the printed matrix.

COLUMNS Control Card

This control card specifies the beginning of the requested groups to print as columns. This also signifies the end of the group request cards for the rows.


COLUMNS <headc>
COLUMNS:  cc 01-07  The literal 'COLUMNS'.
headc:    cc 09-68  The header line to use for the column groups.

Group Request Cards

These cards are identical for rows and columns. There may be up to 200 of these cards in each section. If none specified for columns, then the same groups requested for the rows will be used.


<group> <code>
group:    cc 01-06  The requested Group ID
code:     cc 08-13  1 to 6 character code value to replace the Group ID 
                    in the printed matrix.

These cards are terminated by an end-of-file or an '@eof' image.

Examples

@codap grpmat - ssss tf100
GRPMAT ssss This is a test run of GRPMAT
ROWS This is the header that will appear above the rows
GP0001
GP0002
GP0003
GP0004
GP0005
COLUMNS This header will appear above the columns
GP0001
GP0002
GP0003
GP0004
GP0005
@EOF

This run will create a matrix showing the frequencies of the number of cases in common between all combinations of GP0001-GP0005.

@codap grpmat - ssss tf100
GRPMAT ssss This is a test run of GRPMAT
ROWS Sample Groups Selected by Grade
GP0001
GP0002
GP0003
GP0004
COLUMNS Sample Groups Selected by Standard Job Typing
ST0009
ST0125
ST1249
@eof

This run will create a matrix showing the frequencies of the number of cases in common between all combinations of GP0001-GP0003 vs ST0009, ST0125, and ST1249. The purpose of this example would be to report demographics (defined by the GP groups) for the stages of interest from the clustering (defined by the ST groups). Note that GP0001 is typically the full group and it is recommended that this group be specified as the first column to show the count of the "full membership" in each of the stage groups.

Back to document index