Simple Analytics Action Set: Syntax
Provides actions for performing basic analytic functions
crossTab Action
Performs one-way or two-way tabulations.
| See: | Results |
|---|---|
| Example: | Perform a Two-Way Tabulation Using a Weighting Variable |
Summary: Input Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
Parameter Descriptions
acrossBy=TRUE | FALSE
when set to True, the levels of row and column variables are the same across the group-by variables.
| Default | FALSE |
|---|
aggregator="CSS" | "CV" | "KURTOSIS" | "MAX" | "MEAN" | "MIN" | "N" | "NMISS" | "PROBT" | "SKEWNESS" | "STD" | "STDERR" | "SUM" | "TSTAT" | "USS" | "VAR"
specifies the aggregator for which the values of the weight variable are rolled up into a rank order score if a weight variable is specified.
association=TRUE | FALSE
when set to True, measures of association between the row and column variable of the crosstabulation are computed.
| Default | FALSE |
|---|
chiSq=TRUE | FALSE
when set to True, chi-square statistics are computed for the test of independence of the row and column variables and their asymptotic p-values.
| Default | FALSE |
|---|
col="variable-name"
specifies the column variable
colFormat="string"
specifies a format for the column variable.
colNBins=integer
specifies the number of bins to use in binning the column variable.
| Range | 0–MACINT |
|---|
descending=TRUE | FALSE
when set to True, the formatted levels of the variables are arranged in descending order.
| Default | FALSE |
|---|
fullTable=TRUE | FALSE
when set to True, a full-table scan is performed.
| Default | FALSE |
|---|
groupByLimit=64-bit-integer
specifies the maximum number of levels in a group-by set. When the server determines this number of levels, the server stops and does not return a result. Specify this parameter if you want to avoid creating large result sets in group-by operations.
| Minimum value | 1 |
|---|
includeMissing=TRUE | FALSE
when set to True, missing values are included in the crosstabulation.
| Default | FALSE |
|---|
niceBinning=TRUE | FALSE
when set to True, the nice binning algorithm is used.
| Default | TRUE |
|---|
orderByGbyRaw=TRUE | FALSE
when set to True, the ordering of the group-by variables is based on the raw values of the variables, not the formatted values.
| Alias | orderByRaw |
|---|---|
| Default | FALSE |
* row="variable-name"
specifies the row variable.
rowFormat="string"
specifies a format for the row variable.
rowNBins=integer
specifies the number of bins to use in binning the row variable.
| Range | 0–MACINT |
|---|
* table={castable}
specifies the table name, caslib, and other common parameters.
For more information about specifying the table parameter, see the common castable parameter.
weight="variable-name"
specifies the numeric weight variable used to compute the statistics in the table cell and in the margins of the table.
crossTab Action
Performs one-way or two-way tabulations.
| See: | Results |
|---|---|
| Example: | Perform a Two-Way Tabulation Using a Weighting Variable |
Summary: Input Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
Parameter Descriptions
acrossBy=true | false
when set to True, the levels of row and column variables are the same across the group-by variables.
| Default | false |
|---|
aggregator="CSS" | "CV" | "KURTOSIS" | "MAX" | "MEAN" | "MIN" | "N" | "NMISS" | "PROBT" | "SKEWNESS" | "STD" | "STDERR" | "SUM" | "TSTAT" | "USS" | "VAR"
specifies the aggregator for which the values of the weight variable are rolled up into a rank order score if a weight variable is specified.
association=true | false
when set to True, measures of association between the row and column variable of the crosstabulation are computed.
| Default | false |
|---|
chiSq=true | false
when set to True, chi-square statistics are computed for the test of independence of the row and column variables and their asymptotic p-values.
| Default | false |
|---|
col="variable-name"
specifies the column variable
colFormat="string"
specifies a format for the column variable.
colNBins=integer
specifies the number of bins to use in binning the column variable.
| Range | 0–MACINT |
|---|
descending=true | false
when set to True, the formatted levels of the variables are arranged in descending order.
| Default | false |
|---|
fullTable=true | false
when set to True, a full-table scan is performed.
| Default | false |
|---|
groupByLimit=64-bit-integer
specifies the maximum number of levels in a group-by set. When the server determines this number of levels, the server stops and does not return a result. Specify this parameter if you want to avoid creating large result sets in group-by operations.
| Minimum value | 1 |
|---|
includeMissing=true | false
when set to True, missing values are included in the crosstabulation.
| Default | false |
|---|
niceBinning=true | false
when set to True, the nice binning algorithm is used.
| Default | true |
|---|
orderByGbyRaw=true | false
when set to True, the ordering of the group-by variables is based on the raw values of the variables, not the formatted values.
| Alias | orderByRaw |
|---|---|
| Default | false |
* row="variable-name"
specifies the row variable.
rowFormat="string"
specifies a format for the row variable.
rowNBins=integer
specifies the number of bins to use in binning the row variable.
| Range | 0–MACINT |
|---|
* table={castable}
specifies the table name, caslib, and other common parameters.
For more information about specifying the table parameter, see the common castable parameter.
weight="variable-name"
specifies the numeric weight variable used to compute the statistics in the table cell and in the margins of the table.
crossTab Action
Performs one-way or two-way tabulations.
| See: | Results |
|---|---|
| Example: | Perform a Two-Way Tabulation Using a Weighting Variable |
Summary: Input Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
Parameter Descriptions
acrossBy=True | False
when set to True, the levels of row and column variables are the same across the group-by variables.
| Default | False |
|---|
aggregator="CSS" | "CV" | "KURTOSIS" | "MAX" | "MEAN" | "MIN" | "N" | "NMISS" | "PROBT" | "SKEWNESS" | "STD" | "STDERR" | "SUM" | "TSTAT" | "USS" | "VAR"
specifies the aggregator for which the values of the weight variable are rolled up into a rank order score if a weight variable is specified.
association=True | False
when set to True, measures of association between the row and column variable of the crosstabulation are computed.
| Default | False |
|---|
chiSq=True | False
when set to True, chi-square statistics are computed for the test of independence of the row and column variables and their asymptotic p-values.
| Default | False |
|---|
col="variable-name"
specifies the column variable
colFormat="string"
specifies a format for the column variable.
colNBins=integer
specifies the number of bins to use in binning the column variable.
| Range | 0–MACINT |
|---|
descending=True | False
when set to True, the formatted levels of the variables are arranged in descending order.
| Default | False |
|---|
fullTable=True | False
when set to True, a full-table scan is performed.
| Default | False |
|---|
groupByLimit=64-bit-integer
specifies the maximum number of levels in a group-by set. When the server determines this number of levels, the server stops and does not return a result. Specify this parameter if you want to avoid creating large result sets in group-by operations.
| Minimum value | 1 |
|---|
includeMissing=True | False
when set to True, missing values are included in the crosstabulation.
| Default | False |
|---|
niceBinning=True | False
when set to True, the nice binning algorithm is used.
| Default | True |
|---|
orderByGbyRaw=True | False
when set to True, the ordering of the group-by variables is based on the raw values of the variables, not the formatted values.
| Alias | orderByRaw |
|---|---|
| Default | False |
* row="variable-name"
specifies the row variable.
rowFormat="string"
specifies a format for the row variable.
rowNBins=integer
specifies the number of bins to use in binning the row variable.
| Range | 0–MACINT |
|---|
* table={castable}
specifies the table name, caslib, and other common parameters.
For more information about specifying the table parameter, see the common castable parameter.
weight="variable-name"
specifies the numeric weight variable used to compute the statistics in the table cell and in the margins of the table.
crossTab Action
Performs one-way or two-way tabulations.
| See: | Results |
|---|---|
| Example: | Perform a Two-Way Tabulation Using a Weighting Variable |
Summary: Input Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the table name, caslib, and other common parameters. |
Parameter Descriptions
acrossBy=TRUE | FALSE
when set to True, the levels of row and column variables are the same across the group-by variables.
| Default | FALSE |
|---|
aggregator="CSS" | "CV" | "KURTOSIS" | "MAX" | "MEAN" | "MIN" | "N" | "NMISS" | "PROBT" | "SKEWNESS" | "STD" | "STDERR" | "SUM" | "TSTAT" | "USS" | "VAR"
specifies the aggregator for which the values of the weight variable are rolled up into a rank order score if a weight variable is specified.
association=TRUE | FALSE
when set to True, measures of association between the row and column variable of the crosstabulation are computed.
| Default | FALSE |
|---|
chiSq=TRUE | FALSE
when set to True, chi-square statistics are computed for the test of independence of the row and column variables and their asymptotic p-values.
| Default | FALSE |
|---|
col="variable-name"
specifies the column variable
colFormat="string"
specifies a format for the column variable.
colNBins=integer
specifies the number of bins to use in binning the column variable.
| Range | 0–MACINT |
|---|
descending=TRUE | FALSE
when set to True, the formatted levels of the variables are arranged in descending order.
| Default | FALSE |
|---|
fullTable=TRUE | FALSE
when set to True, a full-table scan is performed.
| Default | FALSE |
|---|
groupByLimit=64-bit-integer
specifies the maximum number of levels in a group-by set. When the server determines this number of levels, the server stops and does not return a result. Specify this parameter if you want to avoid creating large result sets in group-by operations.
| Minimum value | 1 |
|---|
includeMissing=TRUE | FALSE
when set to True, missing values are included in the crosstabulation.
| Default | FALSE |
|---|
niceBinning=TRUE | FALSE
when set to True, the nice binning algorithm is used.
| Default | TRUE |
|---|
orderByGbyRaw=TRUE | FALSE
when set to True, the ordering of the group-by variables is based on the raw values of the variables, not the formatted values.
| Alias | orderByRaw |
|---|---|
| Default | FALSE |
* row="variable-name"
specifies the row variable.
rowFormat="string"
specifies a format for the row variable.
rowNBins=integer
specifies the number of bins to use in binning the row variable.
| Range | 0–MACINT |
|---|
* table=list(castable)
specifies the table name, caslib, and other common parameters.
For more information about specifying the table parameter, see the common castable parameter.
weight="variable-name"
specifies the numeric weight variable used to compute the statistics in the table cell and in the margins of the table.