Provides actions for calculating bias metrics and mitigating bias for predictive models.
Calculate bias metrics for predictive models.
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 |
|---|---|---|
|
— |
specifies the input table that contains the model to explain. This table must contain an analytic store or DATA step scoring code. |
|
|
— |
specifies the input tables that contain the model to explain. These tables must contain analytic stores, and you must also specify in the code parameter the DS2 code that accompanies the tables. |
|
|
required parametertable |
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the output table to contain the scored outputs. |
specifies the DATA step code that describes the model or specifies the DS2 code that is used along with an analytic store that you specify in the modelTable or modelTables parameter.
specifies the cutoff for the confusion matrix.
| Alias | intoCutPt |
|---|---|
| Default | 0.5 |
| Range | (0, 1) |
specifies the formatted value of the response (target) variable that represents the event of interest.
specifies the variable that contains frequency values.
For more information about specifying the frequency parameter, see the common casvardesc parameter (Appendix A: Common Parameters).
| Alias | freq |
|---|
specifies the input table that contains the model to explain. This table must contain an analytic store or DATA step scoring code.
| Long form | modelTable={name="table-name"} |
|---|---|
| Shortcut form | modelTable="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies the input tables that contain the model to explain. These tables must contain analytic stores, and you must also specify in the code parameter the DS2 code that accompanies the tables.
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies the number of bins to use in lift calculations.
| Default | 20 |
|---|---|
| Range | 2–100 |
specifies the list of variables that contain the model's predictions. The order of the variables must match the order that you specify in the responseLevels parameter.
specifies the name for the variable.
specifies the reference level for the sensitive variable.
| Alias | baseLevel |
|---|
specifies the response (target) variable.
| Alias | target |
|---|
specifies the name for the variable.
specifies the list of formatted values of the response (target) variable. The order of the variables must match the order that you specify in the predictedVariables parameter. If the event parameter is omitted, the first formatted value is assumed to be the event.
| Alias | targetLevels |
|---|
specifies the step size to use for the receiver operating characteristic (ROC) calculations.
| Alias | cutStep |
|---|---|
| Default | 0.05 |
| Range | (0–0.5] |
specifies the output table to contain the scored outputs.
For more information about specifying the scoredTable parameter, see the common casouttable (Form 2) parameter (Appendix A: Common Parameters).
specifies the depth to use in lift calculations.
| Default | 10 |
|---|---|
| Range | (0–100] |
specifies the sensitive variable to use in bias calculations.
specifies the name for the variable.
specifies the input data table.
| Long form | table={name="table-name"} |
|---|---|
| Shortcut form | table="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | FALSE |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
This parameter is deprecated.
| Default | TRUE |
|---|
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the variable that contains weight values.
For more information about specifying the weight parameter, see the common casvardesc parameter (Appendix A: Common Parameters).
Calculate bias metrics for predictive models.
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 |
|---|---|---|
|
— |
specifies the input table that contains the model to explain. This table must contain an analytic store or DATA step scoring code. |
|
|
— |
specifies the input tables that contain the model to explain. These tables must contain analytic stores, and you must also specify in the code parameter the DS2 code that accompanies the tables. |
|
|
required parametertable |
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the output table to contain the scored outputs. |
specifies the DATA step code that describes the model or specifies the DS2 code that is used along with an analytic store that you specify in the modelTable or modelTables parameter.
specifies the cutoff for the confusion matrix.
| Alias | intoCutPt |
|---|---|
| Default | 0.5 |
| Range | (0, 1) |
specifies the formatted value of the response (target) variable that represents the event of interest.
specifies the variable that contains frequency values.
For more information about specifying the frequency parameter, see the common casvardesc parameter (Appendix A: Common Parameters).
| Alias | freq |
|---|
specifies the input table that contains the model to explain. This table must contain an analytic store or DATA step scoring code.
| Long form | modelTable={name="table-name"} |
|---|---|
| Shortcut form | modelTable="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies the input tables that contain the model to explain. These tables must contain analytic stores, and you must also specify in the code parameter the DS2 code that accompanies the tables.
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies the number of bins to use in lift calculations.
| Default | 20 |
|---|---|
| Range | 2–100 |
specifies the list of variables that contain the model's predictions. The order of the variables must match the order that you specify in the responseLevels parameter.
specifies the name for the variable.
specifies the reference level for the sensitive variable.
| Alias | baseLevel |
|---|
specifies the response (target) variable.
| Alias | target |
|---|
specifies the name for the variable.
specifies the list of formatted values of the response (target) variable. The order of the variables must match the order that you specify in the predictedVariables parameter. If the event parameter is omitted, the first formatted value is assumed to be the event.
| Alias | targetLevels |
|---|
specifies the step size to use for the receiver operating characteristic (ROC) calculations.
| Alias | cutStep |
|---|---|
| Default | 0.05 |
| Range | (0–0.5] |
specifies the output table to contain the scored outputs.
For more information about specifying the scoredTable parameter, see the common casouttable (Form 2) parameter (Appendix A: Common Parameters).
specifies the depth to use in lift calculations.
| Default | 10 |
|---|---|
| Range | (0–100] |
specifies the sensitive variable to use in bias calculations.
specifies the name for the variable.
specifies the input data table.
| Long form | table={name="table-name"} |
|---|---|
| Shortcut form | table="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | false |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
This parameter is deprecated.
| Default | true |
|---|
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the variable that contains weight values.
For more information about specifying the weight parameter, see the common casvardesc parameter (Appendix A: Common Parameters).
Calculate bias metrics for predictive models.
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 |
|---|---|---|
|
— |
specifies the input table that contains the model to explain. This table must contain an analytic store or DATA step scoring code. |
|
|
— |
specifies the input tables that contain the model to explain. These tables must contain analytic stores, and you must also specify in the code parameter the DS2 code that accompanies the tables. |
|
|
required parametertable |
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the output table to contain the scored outputs. |
specifies the DATA step code that describes the model or specifies the DS2 code that is used along with an analytic store that you specify in the modelTable or modelTables parameter.
specifies the cutoff for the confusion matrix.
| Alias | intoCutPt |
|---|---|
| Default | 0.5 |
| Range | (0, 1) |
specifies the formatted value of the response (target) variable that represents the event of interest.
specifies the variable that contains frequency values.
For more information about specifying the frequency parameter, see the common casvardesc parameter (Appendix A: Common Parameters).
| Alias | freq |
|---|
specifies the input table that contains the model to explain. This table must contain an analytic store or DATA step scoring code.
| Long form | modelTable={"name":"table-name"} |
|---|---|
| Shortcut form | modelTable="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies the input tables that contain the model to explain. These tables must contain analytic stores, and you must also specify in the code parameter the DS2 code that accompanies the tables.
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies the number of bins to use in lift calculations.
| Default | 20 |
|---|---|
| Range | 2–100 |
specifies the list of variables that contain the model's predictions. The order of the variables must match the order that you specify in the responseLevels parameter.
specifies the name for the variable.
specifies the reference level for the sensitive variable.
| Alias | baseLevel |
|---|
specifies the response (target) variable.
| Alias | target |
|---|
specifies the name for the variable.
specifies the list of formatted values of the response (target) variable. The order of the variables must match the order that you specify in the predictedVariables parameter. If the event parameter is omitted, the first formatted value is assumed to be the event.
| Alias | targetLevels |
|---|
specifies the step size to use for the receiver operating characteristic (ROC) calculations.
| Alias | cutStep |
|---|---|
| Default | 0.05 |
| Range | (0–0.5] |
specifies the output table to contain the scored outputs.
For more information about specifying the scoredTable parameter, see the common casouttable (Form 2) parameter (Appendix A: Common Parameters).
specifies the depth to use in lift calculations.
| Default | 10 |
|---|---|
| Range | (0–100] |
specifies the sensitive variable to use in bias calculations.
specifies the name for the variable.
specifies the input data table.
| Long form | table={"name":"table-name"} |
|---|---|
| Shortcut form | table="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | False |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the settings for reading a table from a data source.
| Alias | import_ |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
This parameter is deprecated.
| Default | True |
|---|
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import_ |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the variable that contains weight values.
For more information about specifying the weight parameter, see the common casvardesc parameter (Appendix A: Common Parameters).
Calculate bias metrics for predictive models.
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 |
|---|---|---|
|
— |
specifies the input table that contains the model to explain. This table must contain an analytic store or DATA step scoring code. |
|
|
— |
specifies the input tables that contain the model to explain. These tables must contain analytic stores, and you must also specify in the code parameter the DS2 code that accompanies the tables. |
|
|
required parametertable |
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the output table to contain the scored outputs. |
specifies the DATA step code that describes the model or specifies the DS2 code that is used along with an analytic store that you specify in the modelTable or modelTables parameter.
specifies the cutoff for the confusion matrix.
| Alias | intoCutPt |
|---|---|
| Default | 0.5 |
| Range | (0, 1) |
specifies the formatted value of the response (target) variable that represents the event of interest.
specifies the variable that contains frequency values.
For more information about specifying the frequency parameter, see the common casvardesc parameter (Appendix A: Common Parameters).
| Alias | freq |
|---|
specifies the input table that contains the model to explain. This table must contain an analytic store or DATA step scoring code.
| Long form | modelTable=list(name="table-name") |
|---|---|
| Shortcut form | modelTable="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies the input tables that contain the model to explain. These tables must contain analytic stores, and you must also specify in the code parameter the DS2 code that accompanies the tables.
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies the number of bins to use in lift calculations.
| Default | 20 |
|---|---|
| Range | 2–100 |
specifies the list of variables that contain the model's predictions. The order of the variables must match the order that you specify in the responseLevels parameter.
specifies the name for the variable.
specifies the reference level for the sensitive variable.
| Alias | baseLevel |
|---|
specifies the response (target) variable.
| Alias | target |
|---|
specifies the name for the variable.
specifies the list of formatted values of the response (target) variable. The order of the variables must match the order that you specify in the predictedVariables parameter. If the event parameter is omitted, the first formatted value is assumed to be the event.
| Alias | targetLevels |
|---|
specifies the step size to use for the receiver operating characteristic (ROC) calculations.
| Alias | cutStep |
|---|---|
| Default | 0.05 |
| Range | (0–0.5] |
specifies the output table to contain the scored outputs.
For more information about specifying the scoredTable parameter, see the common casouttable (Form 2) parameter (Appendix A: Common Parameters).
specifies the depth to use in lift calculations.
| Default | 10 |
|---|---|
| Range | (0–100] |
specifies the sensitive variable to use in bias calculations.
specifies the name for the variable.
specifies the input data table.
| Long form | table=list(name="table-name") |
|---|---|
| Shortcut form | table="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | FALSE |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
This parameter is deprecated.
| Default | TRUE |
|---|
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the variable that contains weight values.
For more information about specifying the weight parameter, see the common casvardesc parameter (Appendix A: Common Parameters).