Combinations Task

About the Combinations Task

The Combinations task computes the possible combinations of the total number of objects into sets with a specified number in each set.

Example: Calculating the Combinations of 52 Objects in 5 Sets

To create this example:
  1. In the Tasks section, expand the Combinatorics and Probability folder and double-click Combinations. The user interface for the Combinations task opens.
  2. On the Options tab, specify these options.
    Assign columns to these roles:
    Option Name
    Value to Specify
    Total number of objects
    52
    Number of objects in a set
    5
    Data set name
    Combo
  3. To run the task, click Submit SAS Code.
The Combinations task creates an output data set. In SAS Studio, this data set opens on the WORK.Combo tab.
Output Data Set Named Work.Combo

Setting Options

All of these options are required to run the Combinations task.
Option Name
Description
Observations
Total number of objects
specifies the number of objects.
Number of objects in a set
specifies the number of objects in a set.
Output Data Set
Data set name
specifies the name of the output data set.