MEANS Procedure

WAYS Statement

Specifies the number of ways to make unique combinations of class variables.
Tip: Use the TYPES statement to specify additional combinations of class variables.
Using Preloaded Formats with Class Variables

Syntax

WAYS list;

Required Argument

list
specifies one or more integers that define the number of class variables to combine to form all the unique combinations of class variables. For example, you can specify 2 for all possible pairs and 3 for all possible triples. The list can be specified in the following ways:
  • m
  • m1 m2 … mn
  • m1,m2,…,mn
  • m TO n <BY increment>
  • m1,m2, TO m3 <BY increment>, m4
Range:0 to maximum number of class variables
See:WAYS option
Example:The following code is an example of creating two-way types for the classification variables A, B, and C. This WAYS statement is equivalent to specifying a*b, a*c, and b*c in the TYPES statement.
class A B C ; ways 2;