Simple Analytics Action Set: Syntax
Provides actions for performing basic analytic functions
mdSummary Action
Calculates multidimensional summaries of numeric variables.
| Requirement: | The input data must contain at least one numeric variable. Otherwise, this action returns an error for status and an empty dictionary for result. |
|---|---|
| See: | Results |
| Example: | Calculate Multidimensional Summaries of a Numeric 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
attributes={{casinvardesc-1} <, {casinvardesc-2}, ...>}
specifies the variable attributes.
For more information about specifying the attributes parameter, see the common casinvardesc parameter.
| Aliases | attribute |
|---|---|
| attrs | |
| attr | |
| varAttrs |
descending=TRUE | FALSE
when set to True, the formatted levels of the variables are arranged in descending order.
| 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 determination of group-by values.
| Default | TRUE |
|---|
inputs={{casinvardesc-1} <, {casinvardesc-2}, ...>}
specifies the input variables for the analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter.
| Alias | input |
|---|
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 |
returnValidSet=TRUE | FALSE
when set to True, the group-by sets whose sizes do not exceed the specified group-by limit are returned.
| Alias | returnValidSets |
|---|---|
| Default | FALSE |
sets={{mdSumset-1} <, {mdSumset-2}, ...>}
specifies the set specifications.
The mdSumset value can be one or more of the following:
groupBy={"variable-name-1" <, "variable-name-2", ...>}
specifies the list of group-by variables for this set.
groupByFmts={"string-1" <, "string-2", ...>}
specifies the formats for the group-by variables.
where="where-expression"
specifies a filter expression for this set specification.
subSet={"CSS", "CV", "KURTOSIS", "MAX", "MEAN", "MIN", "N", "NMISS", "PROBT", "SKEWNESS", "STD", "STDERR", "SUM", "T", "TSTAT", "USS", "VAR"}
specifies the summary statistics to generate.
| Aliases | summarySubset |
|---|---|
| statistics | |
| Requirement | The specified values must be unique. |
* 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 a numeric variable whose values weight the values of the analysis variables.
mdSummary Action
Calculates multidimensional summaries of numeric variables.
| Requirement: | The input data must contain at least one numeric variable. Otherwise, this action returns an error for status and an empty dictionary for result. |
|---|---|
| See: | Results |
| Example: | Calculate Multidimensional Summaries of a Numeric 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
attributes={{casinvardesc-1} <, {casinvardesc-2}, ...>}
specifies the variable attributes.
For more information about specifying the attributes parameter, see the common casinvardesc parameter.
| Aliases | attribute |
|---|---|
| attrs | |
| attr | |
| varAttrs |
descending=true | false
when set to True, the formatted levels of the variables are arranged in descending order.
| 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 determination of group-by values.
| Default | true |
|---|
inputs={{casinvardesc-1} <, {casinvardesc-2}, ...>}
specifies the input variables for the analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter.
| Alias | input |
|---|
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 |
returnValidSet=true | false
when set to True, the group-by sets whose sizes do not exceed the specified group-by limit are returned.
| Alias | returnValidSets |
|---|---|
| Default | false |
sets={{mdSumset-1} <, {mdSumset-2}, ...>}
specifies the set specifications.
The mdSumset value can be one or more of the following:
groupBy={"variable-name-1" <, "variable-name-2", ...>}
specifies the list of group-by variables for this set.
groupByFmts={"string-1" <, "string-2", ...>}
specifies the formats for the group-by variables.
where="where-expression"
specifies a filter expression for this set specification.
subSet={"CSS", "CV", "KURTOSIS", "MAX", "MEAN", "MIN", "N", "NMISS", "PROBT", "SKEWNESS", "STD", "STDERR", "SUM", "T", "TSTAT", "USS", "VAR"}
specifies the summary statistics to generate.
| Aliases | summarySubset |
|---|---|
| statistics | |
| Requirement | The specified values must be unique. |
* 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 a numeric variable whose values weight the values of the analysis variables.
mdSummary Action
Calculates multidimensional summaries of numeric variables.
| Requirement: | The input data must contain at least one numeric variable. Otherwise, this action returns an error for status and an empty dictionary for result. |
|---|---|
| See: | Results |
| Example: | Calculate Multidimensional Summaries of a Numeric 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
attributes=[{casinvardesc-1} <, {casinvardesc-2}, ...>]
specifies the variable attributes.
For more information about specifying the attributes parameter, see the common casinvardesc parameter.
| Aliases | attribute |
|---|---|
| attrs | |
| attr | |
| varAttrs |
descending=True | False
when set to True, the formatted levels of the variables are arranged in descending order.
| 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 determination of group-by values.
| Default | True |
|---|
inputs=[{casinvardesc-1} <, {casinvardesc-2}, ...>]
specifies the input variables for the analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter.
| Alias | input |
|---|
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 |
returnValidSet=True | False
when set to True, the group-by sets whose sizes do not exceed the specified group-by limit are returned.
| Alias | returnValidSets |
|---|---|
| Default | False |
sets=[{mdSumset-1} <, {mdSumset-2}, ...>]
specifies the set specifications.
The mdSumset value can be one or more of the following:
"groupBy":["variable-name-1" <, "variable-name-2", ...>]
specifies the list of group-by variables for this set.
"groupByFmts":["string-1" <, "string-2", ...>]
specifies the formats for the group-by variables.
"where":"where-expression"
specifies a filter expression for this set specification.
subSet=["CSS", "CV", "KURTOSIS", "MAX", "MEAN", "MIN", "N", "NMISS", "PROBT", "SKEWNESS", "STD", "STDERR", "SUM", "T", "TSTAT", "USS", "VAR"]
specifies the summary statistics to generate.
| Aliases | summarySubset |
|---|---|
| statistics | |
| Requirement | The specified values must be unique. |
* 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 a numeric variable whose values weight the values of the analysis variables.
mdSummary Action
Calculates multidimensional summaries of numeric variables.
| Requirement: | The input data must contain at least one numeric variable. Otherwise, this action returns an error for status and an empty dictionary for result. |
|---|---|
| See: | Results |
| Example: | Calculate Multidimensional Summaries of a Numeric 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
attributes=list( list(casinvardesc-1) <, list(casinvardesc-2), ...>)
specifies the variable attributes.
For more information about specifying the attributes parameter, see the common casinvardesc parameter.
| Aliases | attribute |
|---|---|
| attrs | |
| attr | |
| varAttrs |
descending=TRUE | FALSE
when set to True, the formatted levels of the variables are arranged in descending order.
| 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 determination of group-by values.
| Default | TRUE |
|---|
inputs=list( list(casinvardesc-1) <, list(casinvardesc-2), ...>)
specifies the input variables for the analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter.
| Alias | input |
|---|
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 |
returnValidSet=TRUE | FALSE
when set to True, the group-by sets whose sizes do not exceed the specified group-by limit are returned.
| Alias | returnValidSets |
|---|---|
| Default | FALSE |
sets=list( list(mdSumset-1) <, list(mdSumset-2), ...>)
specifies the set specifications.
The mdSumset value can be one or more of the following:
groupBy=list("variable-name-1" <, "variable-name-2", ...>)
specifies the list of group-by variables for this set.
groupByFmts=list("string-1" <, "string-2", ...>)
specifies the formats for the group-by variables.
where="where-expression"
specifies a filter expression for this set specification.
subSet=list("CSS", "CV", "KURTOSIS", "MAX", "MEAN", "MIN", "N", "NMISS", "PROBT", "SKEWNESS", "STD", "STDERR", "SUM", "T", "TSTAT", "USS", "VAR")
specifies the summary statistics to generate.
| Aliases | summarySubset |
|---|---|
| statistics | |
| Requirement | The specified values must be unique. |
* 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 a numeric variable whose values weight the values of the analysis variables.