MPATH: Reorder Clustered Sequence

Last updated 19 Nov 97

MPATH allows the user to reorder the presentation sequence based on the average value of specified variables. The cluster solution itself is not changed. MPATH allows diagrams produced to be weighted with the higher (or lower) values for the specified variables to the left. The primary variable is used for the sort with the secondary and tertiary variables used to break ties.

Program Invocation

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


@codap mpath <opt> <ssss> <CDf> <CSf>

opt:     Program Options (none currently supported)
ssss:    The study number
CDf:     Input Case Data file
CSf:     Input/output Cluster Solution file

MPATH Control Card


MPATH <study> <ipseq> <mxid> [<title>]

MPATH:   cc 01-05   The literal 'MPATH'
study:   cc 07-10   The study number for this run
ipseq:   cc 12-17   The input presentation sequence
mxid:    cc 19-22   The MPATH ID
title:   cc 24-80   The report title

Sort Request Cards


<var> <seq>

var:     cc 01-05   The Variable ID to sort on
seq:     cc 07      The sort sequence.
		    A = Ascending
		    D = Descending (default)

Any computed, background, or task variable may be used for sorting, except for C0001-C0006. Average Between (B0000), Average Within (W0000), and Number of Members (M0000) may also be used. Up to three sort cards can be specified. If less than three are needed, an '@EOF' must be entered.

Example

@codap mpath - ssss cd100 cs100
MPATH ssss PS0001 MP01 Title for this report
C0007 D
V0098 D
W0000 D
@EOF

The new matrix ID is 'MP01' and the program will automatically name the output presentation sequence with the next available sequence number (e.g., PS0002). All groups (or members) will be reordered based on the value of C0007 (highest values to the left on the DIAGRM and to the top on the PRTVAR). If there are any ties on C0007, the average value of V0098 and then Average Within will be considered.

Back to document index