Provides actions for fitting reduced-rank linear models, including partial least squares
Fits models by using any one of a number of linear predictive methods, including partial least squares.
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 settings for an input table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
creates a data table on the server that contains observationwise statistics, which are computed after fitting the model. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | attribute |
|---|
when set to True, displays the centering and scaling information.
| Default | FALSE |
|---|
specifies the classification variables to be used as explanatory variables in the analysis.
For more information about specifying the class parameter, see the common classStatement parameter (Appendix A: Common Parameters).
| Alias | classVars |
|---|
specifies options that apply to all classification variables.
For more information about specifying the classGlobalOptions parameter, see the common classopts parameter (Appendix A: Common Parameters).
| Alias | classGlobalOpts |
|---|
when set to False, suppresses the display of class levels.
| Default | TRUE |
|---|
defines a set of variables that are treated as a single effect that has multiple degrees of freedom.
The collection value can be one or more of the following:
when set to True, requests a table that shows additional details that are related to this effect.
| Default | FALSE |
|---|
specifies the name of the effect.
specifies a set of variables that are treated as a single effect that has multiple degrees of freedom. The columns in the design matrix that are contributed by a collection effect are the design columns of its constituent variables in the order in which they appear in the definition of the collection effect.
performs van der Voet's randomization-based model comparison test.
| Long form | cvTest={stat="PRESS" | "T2"} |
|---|---|
| Shortcut form | cvTest="PRESS" | "T2" |
The cvTestOptions value can be one or more of the following:
specifies the number of randomizations to perform.
| Default | 1000 |
|---|---|
| Range | 0–MACINT |
specifies the cutoff probability for declaring an insignificant difference.
| Alias | pVal |
|---|---|
| Default | 0.1 |
| Range | 0–1 |
specifies the seed value for the random number stream.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the test statistic for the model comparison. You can specify either T2, for Hotelling's T^2 statistic, or PRESS, for the predicted residual sum of squares.
| Default | T2 |
|---|
when set to True, displays the details of the fitted model.
| Alias | detail |
|---|---|
| Default | FALSE |
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
suppresses analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies variables to use for analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | input |
|---|
specifies the settings for the general factor extraction method.
| Long form | method={name="PCR" | "PLS" | "RRR" | "SIMPLS"} |
|---|---|
| Shortcut form | method="PCR" | "PLS" | "RRR" | "SIMPLS" |
The methodOptions value can be one or more of the following:
specifies the algorithm used to compute extracted PLS factors.
| Alias | alg |
|---|---|
| Default | NIPALS |
specifies the convergence criterion for the NIPALS algorithm.
| Alias | eps |
|---|---|
| Default | 1E-12 |
| Range | 0–1 |
specifies the maximum number of iterations for the NIPALS algorithm.
| Default | 200 |
|---|---|
| Range | 0–MACINT |
specifies the name of the general factor extraction method to use.
specifies the responses and the predictors, which determine the Y and X matrices of the model, respectively.
The modelOptions value can be one or more of the following:
specifies one or more variables to use as response variables in the model. Not all models support more than one response variable.
| Aliases | depVar |
|---|---|
| target |
names the response variable.
specifies a list of effects that define the model. Each term in this list is made up of variables specified in the vars parameter and their interaction (which can be NONE, CROSS, or BAR). When the interaction is BAR, it can be limited by the maxInteract parameter.
The effect value can be one or more of the following:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
eliminates interaction effects whose order is higher than the specified integer value when used in conjunction with the BAR interaction.
specifies the variables to be nested within the term that is defined by the vars parameter. For terms with a BAR or CROSS interaction, the nest corresponds to the last variable in the vars parameter. For terms with no interaction, the nest is distributed across all variables that are listed in the vars parameter.
specifies the variables to use in defining a term of the effect. You must specify at least one variable.
when set to True, includes the intercept term in the model.
| Default | FALSE |
|---|
when set to True, displays the coefficients of the final predictive model for the responses.
| Default | FALSE |
|---|
uses one or more classification variables specified in the vars parameter in such a way that each observation can be associated with one or more levels of the union of the levels of the classification variables.
For more information about specifying the multimember parameter, see the common multimember parameter (Appendix A: Common Parameters).
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
specifies the number of factors to extract.
| Aliases | nFac |
|---|---|
| lv | |
| Default | 0 |
| Minimum value | 0 |
when set to True, suppresses centering of the responses and predictors before fitting.
| Default | FALSE |
|---|
when set to True, suppresses re-centering and rescaling of the responses and predictors when cross validating.
| Default | FALSE |
|---|
specifies nominal variables to use for analysis.
For more information about specifying the nominals parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | nominal |
|---|
when set to True, suppresses scaling of the responses and predictors before fitting.
| Default | FALSE |
|---|
creates a data table on the server that contains observationwise statistics, which are computed after fitting the model.
The outputOptions value can be one or more of the following:
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies a list of one or more variables to be copied from the input table to the output table. You can alternatively specify the value ALL, ALL_MODEL, or ALL_NUMERIC, which respectively copies all variables, all variables used in the modeling, or all numeric variables from the input table to the output table.
requests the approximate leverage. If set to an empty string, the prefix H is used for naming the output variable.
requests predicted values for each response. If set to an empty string, the prefix Pred is used for naming the output variables.
| Aliases | p |
|---|---|
| pred |
requests approximate predicted residuals for each response. If set to an empty string, the prefix PRESS is used for naming the output variables.
requests numeric values that indicate the role played by each observation in fitting the model. If set to an empty string, the prefix _ROLE_ is used for naming the output variable.
requests scaled sum of squares of score values. If set to an empty string, the prefix TSquare is used for naming the output variable.
| Alias | tSquare |
|---|
requests residuals for each predictor. If set to an empty string, the prefix XResid is used for naming the output variables.
| Aliases | xr |
|---|---|
| xResid |
requests extracted factors (X-scores, latent vectors, latent variables, T) for each selected model factor. If set to an empty string, the prefix XScore is used for naming the output variables.
requests standardized (centered and scaled) predictor values for each predictor. If set to an empty string, the prefix StdX is used for naming the output variables.
| Alias | stdX |
|---|
requests the sum of squares of residuals for standardized predictors. If set to an empty string, the prefix StdXSSE is used for naming the output variable.
| Aliases | xQres |
|---|---|
| stdXsse |
requests residuals for each response. If set to an empty string, the prefix YResid is used for naming the output variables.
| Aliases | yr |
|---|---|
| yResid |
requests extracted responses (Y-scores, U) for each selected model factor. If set to an empty string, the prefix YScore is used for naming the output variables.
requests standardized (centered and scaled) response values for each response. If set to an empty string, the prefix StdY is used for naming the output variables.
| Alias | stdY |
|---|
requests the sum of squares of residuals for standardized responses. If set to an empty string, the prefix StdYSSE is used for naming the output variable.
| Aliases | yQres |
|---|---|
| stdYsse |
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies the fractions of the data to be used for training and testing.
| Alias | partByFrac |
|---|
The partByFracStatement value can be one or more of the following:
specifies the seed to use in the random number generator that is used for partitioning the data.
| Default | 0 |
|---|
randomly assigns the specified proportion of observations in the input table to the testing role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Range | 0–1 |
|---|
specifies the variable and its values used to partition the data into training and testing roles.
| Alias | partByVar |
|---|
| Long form | partitionByVar={name="variable-name"} |
|---|---|
| Shortcut form | partitionByVar="variable-name" |
The partByVarStatement value can be one or more of the following:
names the variable in the input table whose values are used to assign roles to each observation.
specifies the formatted value of the variable that is used to assign observations to the testing role.
specifies the formatted value of the variable that is used to assign observations to the training role. If you do not specify the train parameter, then all observations whose roles are not determined by the test and validate parameters are assigned to training.
specifies a polynomial effect. All specified variables must be numeric. A design matrix column is generated for each term of the specified polynomial. By default, each of these terms is treated as a separate effect for the purpose of model building.
For more information about specifying the polynomial parameter, see the common polynomial parameter (Appendix A: Common Parameters).
| Alias | poly |
|---|
expands variables into spline bases whose form depends on the specified parameters.
For more information about specifying the spline parameter, see the common spline parameter (Appendix A: Common Parameters).
specifies the settings for an input table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
specifies the target variable to use for analysis.
when set to True, displays the amount of variation accounted for in each response and predictor.
| Default | FALSE |
|---|
Fits models by using any one of a number of linear predictive methods, including partial least squares.
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 settings for an input table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
creates a data table on the server that contains observationwise statistics, which are computed after fitting the model. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | attribute |
|---|
when set to True, displays the centering and scaling information.
| Default | false |
|---|
specifies the classification variables to be used as explanatory variables in the analysis.
For more information about specifying the class parameter, see the common classStatement parameter (Appendix A: Common Parameters).
| Alias | classVars |
|---|
specifies options that apply to all classification variables.
For more information about specifying the classGlobalOptions parameter, see the common classopts parameter (Appendix A: Common Parameters).
| Alias | classGlobalOpts |
|---|
when set to False, suppresses the display of class levels.
| Default | true |
|---|
defines a set of variables that are treated as a single effect that has multiple degrees of freedom.
The collection value can be one or more of the following:
when set to True, requests a table that shows additional details that are related to this effect.
| Default | false |
|---|
specifies the name of the effect.
specifies a set of variables that are treated as a single effect that has multiple degrees of freedom. The columns in the design matrix that are contributed by a collection effect are the design columns of its constituent variables in the order in which they appear in the definition of the collection effect.
performs van der Voet's randomization-based model comparison test.
| Long form | cvTest={stat="PRESS" | "T2"} |
|---|---|
| Shortcut form | cvTest="PRESS" | "T2" |
The cvTestOptions value can be one or more of the following:
specifies the number of randomizations to perform.
| Default | 1000 |
|---|---|
| Range | 0–MACINT |
specifies the cutoff probability for declaring an insignificant difference.
| Alias | pVal |
|---|---|
| Default | 0.1 |
| Range | 0–1 |
specifies the seed value for the random number stream.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the test statistic for the model comparison. You can specify either T2, for Hotelling's T^2 statistic, or PRESS, for the predicted residual sum of squares.
| Default | T2 |
|---|
when set to True, displays the details of the fitted model.
| Alias | detail |
|---|---|
| Default | false |
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
suppresses analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies variables to use for analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | input |
|---|
specifies the settings for the general factor extraction method.
| Long form | method={name="PCR" | "PLS" | "RRR" | "SIMPLS"} |
|---|---|
| Shortcut form | method="PCR" | "PLS" | "RRR" | "SIMPLS" |
The methodOptions value can be one or more of the following:
specifies the algorithm used to compute extracted PLS factors.
| Alias | alg |
|---|---|
| Default | NIPALS |
specifies the convergence criterion for the NIPALS algorithm.
| Alias | eps |
|---|---|
| Default | 1E-12 |
| Range | 0–1 |
specifies the maximum number of iterations for the NIPALS algorithm.
| Default | 200 |
|---|---|
| Range | 0–MACINT |
specifies the name of the general factor extraction method to use.
specifies the responses and the predictors, which determine the Y and X matrices of the model, respectively.
The modelOptions value can be one or more of the following:
specifies one or more variables to use as response variables in the model. Not all models support more than one response variable.
| Aliases | depVar |
|---|---|
| target |
names the response variable.
specifies a list of effects that define the model. Each term in this list is made up of variables specified in the vars parameter and their interaction (which can be NONE, CROSS, or BAR). When the interaction is BAR, it can be limited by the maxInteract parameter.
The effect value can be one or more of the following:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
eliminates interaction effects whose order is higher than the specified integer value when used in conjunction with the BAR interaction.
specifies the variables to be nested within the term that is defined by the vars parameter. For terms with a BAR or CROSS interaction, the nest corresponds to the last variable in the vars parameter. For terms with no interaction, the nest is distributed across all variables that are listed in the vars parameter.
specifies the variables to use in defining a term of the effect. You must specify at least one variable.
when set to True, includes the intercept term in the model.
| Default | false |
|---|
when set to True, displays the coefficients of the final predictive model for the responses.
| Default | false |
|---|
uses one or more classification variables specified in the vars parameter in such a way that each observation can be associated with one or more levels of the union of the levels of the classification variables.
For more information about specifying the multimember parameter, see the common multimember parameter (Appendix A: Common Parameters).
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
specifies the number of factors to extract.
| Aliases | nFac |
|---|---|
| lv | |
| Default | 0 |
| Minimum value | 0 |
when set to True, suppresses centering of the responses and predictors before fitting.
| Default | false |
|---|
when set to True, suppresses re-centering and rescaling of the responses and predictors when cross validating.
| Default | false |
|---|
specifies nominal variables to use for analysis.
For more information about specifying the nominals parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | nominal |
|---|
when set to True, suppresses scaling of the responses and predictors before fitting.
| Default | false |
|---|
creates a data table on the server that contains observationwise statistics, which are computed after fitting the model.
The outputOptions value can be one or more of the following:
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies a list of one or more variables to be copied from the input table to the output table. You can alternatively specify the value ALL, ALL_MODEL, or ALL_NUMERIC, which respectively copies all variables, all variables used in the modeling, or all numeric variables from the input table to the output table.
requests the approximate leverage. If set to an empty string, the prefix H is used for naming the output variable.
requests predicted values for each response. If set to an empty string, the prefix Pred is used for naming the output variables.
| Aliases | p |
|---|---|
| pred |
requests approximate predicted residuals for each response. If set to an empty string, the prefix PRESS is used for naming the output variables.
requests numeric values that indicate the role played by each observation in fitting the model. If set to an empty string, the prefix _ROLE_ is used for naming the output variable.
requests scaled sum of squares of score values. If set to an empty string, the prefix TSquare is used for naming the output variable.
| Alias | tSquare |
|---|
requests residuals for each predictor. If set to an empty string, the prefix XResid is used for naming the output variables.
| Aliases | xr |
|---|---|
| xResid |
requests extracted factors (X-scores, latent vectors, latent variables, T) for each selected model factor. If set to an empty string, the prefix XScore is used for naming the output variables.
requests standardized (centered and scaled) predictor values for each predictor. If set to an empty string, the prefix StdX is used for naming the output variables.
| Alias | stdX |
|---|
requests the sum of squares of residuals for standardized predictors. If set to an empty string, the prefix StdXSSE is used for naming the output variable.
| Aliases | xQres |
|---|---|
| stdXsse |
requests residuals for each response. If set to an empty string, the prefix YResid is used for naming the output variables.
| Aliases | yr |
|---|---|
| yResid |
requests extracted responses (Y-scores, U) for each selected model factor. If set to an empty string, the prefix YScore is used for naming the output variables.
requests standardized (centered and scaled) response values for each response. If set to an empty string, the prefix StdY is used for naming the output variables.
| Alias | stdY |
|---|
requests the sum of squares of residuals for standardized responses. If set to an empty string, the prefix StdYSSE is used for naming the output variable.
| Aliases | yQres |
|---|---|
| stdYsse |
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies the fractions of the data to be used for training and testing.
| Alias | partByFrac |
|---|
The partByFracStatement value can be one or more of the following:
specifies the seed to use in the random number generator that is used for partitioning the data.
| Default | 0 |
|---|
randomly assigns the specified proportion of observations in the input table to the testing role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Range | 0–1 |
|---|
specifies the variable and its values used to partition the data into training and testing roles.
| Alias | partByVar |
|---|
| Long form | partitionByVar={name="variable-name"} |
|---|---|
| Shortcut form | partitionByVar="variable-name" |
The partByVarStatement value can be one or more of the following:
names the variable in the input table whose values are used to assign roles to each observation.
specifies the formatted value of the variable that is used to assign observations to the testing role.
specifies the formatted value of the variable that is used to assign observations to the training role. If you do not specify the train parameter, then all observations whose roles are not determined by the test and validate parameters are assigned to training.
specifies a polynomial effect. All specified variables must be numeric. A design matrix column is generated for each term of the specified polynomial. By default, each of these terms is treated as a separate effect for the purpose of model building.
For more information about specifying the polynomial parameter, see the common polynomial parameter (Appendix A: Common Parameters).
| Alias | poly |
|---|
expands variables into spline bases whose form depends on the specified parameters.
For more information about specifying the spline parameter, see the common spline parameter (Appendix A: Common Parameters).
specifies the settings for an input table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
specifies the target variable to use for analysis.
when set to True, displays the amount of variation accounted for in each response and predictor.
| Default | false |
|---|
Fits models by using any one of a number of linear predictive methods, including partial least squares.
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 settings for an input table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
creates a data table on the server that contains observationwise statistics, which are computed after fitting the model. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | attribute |
|---|
when set to True, displays the centering and scaling information.
| Default | False |
|---|
specifies the classification variables to be used as explanatory variables in the analysis.
For more information about specifying the class parameter, see the common classStatement parameter (Appendix A: Common Parameters).
| Alias | classVars |
|---|
specifies options that apply to all classification variables.
For more information about specifying the classGlobalOptions parameter, see the common classopts parameter (Appendix A: Common Parameters).
| Alias | classGlobalOpts |
|---|
when set to False, suppresses the display of class levels.
| Default | True |
|---|
defines a set of variables that are treated as a single effect that has multiple degrees of freedom.
The collection value can be one or more of the following:
when set to True, requests a table that shows additional details that are related to this effect.
| Default | False |
|---|
specifies the name of the effect.
specifies a set of variables that are treated as a single effect that has multiple degrees of freedom. The columns in the design matrix that are contributed by a collection effect are the design columns of its constituent variables in the order in which they appear in the definition of the collection effect.
performs van der Voet's randomization-based model comparison test.
| Long form | cvTest={"stat":"PRESS" | "T2"} |
|---|---|
| Shortcut form | cvTest="PRESS" | "T2" |
The cvTestOptions value can be one or more of the following:
specifies the number of randomizations to perform.
| Default | 1000 |
|---|---|
| Range | 0–MACINT |
specifies the cutoff probability for declaring an insignificant difference.
| Alias | pVal |
|---|---|
| Default | 0.1 |
| Range | 0–1 |
specifies the seed value for the random number stream.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the test statistic for the model comparison. You can specify either T2, for Hotelling's T^2 statistic, or PRESS, for the predicted residual sum of squares.
| Default | T2 |
|---|
when set to True, displays the details of the fitted model.
| Alias | detail |
|---|---|
| Default | False |
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
suppresses analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies variables to use for analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | input |
|---|
specifies the settings for the general factor extraction method.
| Long form | method={"name":"PCR" | "PLS" | "RRR" | "SIMPLS"} |
|---|---|
| Shortcut form | method="PCR" | "PLS" | "RRR" | "SIMPLS" |
The methodOptions value can be one or more of the following:
specifies the algorithm used to compute extracted PLS factors.
| Alias | alg |
|---|---|
| Default | NIPALS |
specifies the convergence criterion for the NIPALS algorithm.
| Alias | eps |
|---|---|
| Default | 1E-12 |
| Range | 0–1 |
specifies the maximum number of iterations for the NIPALS algorithm.
| Default | 200 |
|---|---|
| Range | 0–MACINT |
specifies the name of the general factor extraction method to use.
specifies the responses and the predictors, which determine the Y and X matrices of the model, respectively.
The modelOptions value can be one or more of the following:
specifies one or more variables to use as response variables in the model. Not all models support more than one response variable.
| Aliases | depVar |
|---|---|
| target |
names the response variable.
specifies a list of effects that define the model. Each term in this list is made up of variables specified in the vars parameter and their interaction (which can be NONE, CROSS, or BAR). When the interaction is BAR, it can be limited by the maxInteract parameter.
The effect value can be one or more of the following:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
eliminates interaction effects whose order is higher than the specified integer value when used in conjunction with the BAR interaction.
specifies the variables to be nested within the term that is defined by the vars parameter. For terms with a BAR or CROSS interaction, the nest corresponds to the last variable in the vars parameter. For terms with no interaction, the nest is distributed across all variables that are listed in the vars parameter.
specifies the variables to use in defining a term of the effect. You must specify at least one variable.
when set to True, includes the intercept term in the model.
| Default | False |
|---|
when set to True, displays the coefficients of the final predictive model for the responses.
| Default | False |
|---|
uses one or more classification variables specified in the vars parameter in such a way that each observation can be associated with one or more levels of the union of the levels of the classification variables.
For more information about specifying the multimember parameter, see the common multimember parameter (Appendix A: Common Parameters).
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
specifies the number of factors to extract.
| Aliases | nFac |
|---|---|
| lv | |
| Default | 0 |
| Minimum value | 0 |
when set to True, suppresses centering of the responses and predictors before fitting.
| Default | False |
|---|
when set to True, suppresses re-centering and rescaling of the responses and predictors when cross validating.
| Default | False |
|---|
specifies nominal variables to use for analysis.
For more information about specifying the nominals parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | nominal |
|---|
when set to True, suppresses scaling of the responses and predictors before fitting.
| Default | False |
|---|
creates a data table on the server that contains observationwise statistics, which are computed after fitting the model.
The outputOptions value can be one or more of the following:
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies a list of one or more variables to be copied from the input table to the output table. You can alternatively specify the value ALL, ALL_MODEL, or ALL_NUMERIC, which respectively copies all variables, all variables used in the modeling, or all numeric variables from the input table to the output table.
requests the approximate leverage. If set to an empty string, the prefix H is used for naming the output variable.
requests predicted values for each response. If set to an empty string, the prefix Pred is used for naming the output variables.
| Aliases | p |
|---|---|
| pred |
requests approximate predicted residuals for each response. If set to an empty string, the prefix PRESS is used for naming the output variables.
requests numeric values that indicate the role played by each observation in fitting the model. If set to an empty string, the prefix _ROLE_ is used for naming the output variable.
requests scaled sum of squares of score values. If set to an empty string, the prefix TSquare is used for naming the output variable.
| Alias | tSquare |
|---|
requests residuals for each predictor. If set to an empty string, the prefix XResid is used for naming the output variables.
| Aliases | xr |
|---|---|
| xResid |
requests extracted factors (X-scores, latent vectors, latent variables, T) for each selected model factor. If set to an empty string, the prefix XScore is used for naming the output variables.
requests standardized (centered and scaled) predictor values for each predictor. If set to an empty string, the prefix StdX is used for naming the output variables.
| Alias | stdX |
|---|
requests the sum of squares of residuals for standardized predictors. If set to an empty string, the prefix StdXSSE is used for naming the output variable.
| Aliases | xQres |
|---|---|
| stdXsse |
requests residuals for each response. If set to an empty string, the prefix YResid is used for naming the output variables.
| Aliases | yr |
|---|---|
| yResid |
requests extracted responses (Y-scores, U) for each selected model factor. If set to an empty string, the prefix YScore is used for naming the output variables.
requests standardized (centered and scaled) response values for each response. If set to an empty string, the prefix StdY is used for naming the output variables.
| Alias | stdY |
|---|
requests the sum of squares of residuals for standardized responses. If set to an empty string, the prefix StdYSSE is used for naming the output variable.
| Aliases | yQres |
|---|---|
| stdYsse |
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies the fractions of the data to be used for training and testing.
| Alias | partByFrac |
|---|
The partByFracStatement value can be one or more of the following:
specifies the seed to use in the random number generator that is used for partitioning the data.
| Default | 0 |
|---|
randomly assigns the specified proportion of observations in the input table to the testing role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Range | 0–1 |
|---|
specifies the variable and its values used to partition the data into training and testing roles.
| Alias | partByVar |
|---|
| Long form | partitionByVar={"name":"variable-name"} |
|---|---|
| Shortcut form | partitionByVar="variable-name" |
The partByVarStatement value can be one or more of the following:
names the variable in the input table whose values are used to assign roles to each observation.
specifies the formatted value of the variable that is used to assign observations to the testing role.
specifies the formatted value of the variable that is used to assign observations to the training role. If you do not specify the train parameter, then all observations whose roles are not determined by the test and validate parameters are assigned to training.
specifies a polynomial effect. All specified variables must be numeric. A design matrix column is generated for each term of the specified polynomial. By default, each of these terms is treated as a separate effect for the purpose of model building.
For more information about specifying the polynomial parameter, see the common polynomial parameter (Appendix A: Common Parameters).
| Alias | poly |
|---|
expands variables into spline bases whose form depends on the specified parameters.
For more information about specifying the spline parameter, see the common spline parameter (Appendix A: Common Parameters).
specifies the settings for an input table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
specifies the target variable to use for analysis.
when set to True, displays the amount of variation accounted for in each response and predictor.
| Default | False |
|---|
Fits models by using any one of a number of linear predictive methods, including partial least squares.
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 settings for an input table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
creates a data table on the server that contains observationwise statistics, which are computed after fitting the model. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | attribute |
|---|
when set to True, displays the centering and scaling information.
| Default | FALSE |
|---|
specifies the classification variables to be used as explanatory variables in the analysis.
For more information about specifying the class parameter, see the common classStatement parameter (Appendix A: Common Parameters).
| Alias | classVars |
|---|
specifies options that apply to all classification variables.
For more information about specifying the classGlobalOptions parameter, see the common classopts parameter (Appendix A: Common Parameters).
| Alias | classGlobalOpts |
|---|
when set to False, suppresses the display of class levels.
| Default | TRUE |
|---|
defines a set of variables that are treated as a single effect that has multiple degrees of freedom.
The collection value can be one or more of the following:
when set to True, requests a table that shows additional details that are related to this effect.
| Default | FALSE |
|---|
specifies the name of the effect.
specifies a set of variables that are treated as a single effect that has multiple degrees of freedom. The columns in the design matrix that are contributed by a collection effect are the design columns of its constituent variables in the order in which they appear in the definition of the collection effect.
performs van der Voet's randomization-based model comparison test.
| Long form | cvTest=list(stat="PRESS" | "T2") |
|---|---|
| Shortcut form | cvTest="PRESS" | "T2" |
The cvTestOptions value can be one or more of the following:
specifies the number of randomizations to perform.
| Default | 1000 |
|---|---|
| Range | 0–MACINT |
specifies the cutoff probability for declaring an insignificant difference.
| Alias | pVal |
|---|---|
| Default | 0.1 |
| Range | 0–1 |
specifies the seed value for the random number stream.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the test statistic for the model comparison. You can specify either T2, for Hotelling's T^2 statistic, or PRESS, for the predicted residual sum of squares.
| Default | T2 |
|---|
when set to True, displays the details of the fitted model.
| Alias | detail |
|---|---|
| Default | FALSE |
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
suppresses analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies variables to use for analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | input |
|---|
specifies the settings for the general factor extraction method.
| Long form | method=list(name="PCR" | "PLS" | "RRR" | "SIMPLS") |
|---|---|
| Shortcut form | method="PCR" | "PLS" | "RRR" | "SIMPLS" |
The methodOptions value can be one or more of the following:
specifies the algorithm used to compute extracted PLS factors.
| Alias | alg |
|---|---|
| Default | NIPALS |
specifies the convergence criterion for the NIPALS algorithm.
| Alias | eps |
|---|---|
| Default | 1E-12 |
| Range | 0–1 |
specifies the maximum number of iterations for the NIPALS algorithm.
| Default | 200 |
|---|---|
| Range | 0–MACINT |
specifies the name of the general factor extraction method to use.
specifies the responses and the predictors, which determine the Y and X matrices of the model, respectively.
The modelOptions value can be one or more of the following:
specifies one or more variables to use as response variables in the model. Not all models support more than one response variable.
| Aliases | depVar |
|---|---|
| target |
names the response variable.
specifies a list of effects that define the model. Each term in this list is made up of variables specified in the vars parameter and their interaction (which can be NONE, CROSS, or BAR). When the interaction is BAR, it can be limited by the maxInteract parameter.
The effect value can be one or more of the following:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
eliminates interaction effects whose order is higher than the specified integer value when used in conjunction with the BAR interaction.
specifies the variables to be nested within the term that is defined by the vars parameter. For terms with a BAR or CROSS interaction, the nest corresponds to the last variable in the vars parameter. For terms with no interaction, the nest is distributed across all variables that are listed in the vars parameter.
specifies the variables to use in defining a term of the effect. You must specify at least one variable.
when set to True, includes the intercept term in the model.
| Default | FALSE |
|---|
when set to True, displays the coefficients of the final predictive model for the responses.
| Default | FALSE |
|---|
uses one or more classification variables specified in the vars parameter in such a way that each observation can be associated with one or more levels of the union of the levels of the classification variables.
For more information about specifying the multimember parameter, see the common multimember parameter (Appendix A: Common Parameters).
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
specifies the number of factors to extract.
| Aliases | nFac |
|---|---|
| lv | |
| Default | 0 |
| Minimum value | 0 |
when set to True, suppresses centering of the responses and predictors before fitting.
| Default | FALSE |
|---|
when set to True, suppresses re-centering and rescaling of the responses and predictors when cross validating.
| Default | FALSE |
|---|
specifies nominal variables to use for analysis.
For more information about specifying the nominals parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | nominal |
|---|
when set to True, suppresses scaling of the responses and predictors before fitting.
| Default | FALSE |
|---|
creates a data table on the server that contains observationwise statistics, which are computed after fitting the model.
The outputOptions value can be one or more of the following:
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies a list of one or more variables to be copied from the input table to the output table. You can alternatively specify the value ALL, ALL_MODEL, or ALL_NUMERIC, which respectively copies all variables, all variables used in the modeling, or all numeric variables from the input table to the output table.
requests the approximate leverage. If set to an empty string, the prefix H is used for naming the output variable.
requests predicted values for each response. If set to an empty string, the prefix Pred is used for naming the output variables.
| Aliases | p |
|---|---|
| pred |
requests approximate predicted residuals for each response. If set to an empty string, the prefix PRESS is used for naming the output variables.
requests numeric values that indicate the role played by each observation in fitting the model. If set to an empty string, the prefix _ROLE_ is used for naming the output variable.
requests scaled sum of squares of score values. If set to an empty string, the prefix TSquare is used for naming the output variable.
| Alias | tSquare |
|---|
requests residuals for each predictor. If set to an empty string, the prefix XResid is used for naming the output variables.
| Aliases | xr |
|---|---|
| xResid |
requests extracted factors (X-scores, latent vectors, latent variables, T) for each selected model factor. If set to an empty string, the prefix XScore is used for naming the output variables.
requests standardized (centered and scaled) predictor values for each predictor. If set to an empty string, the prefix StdX is used for naming the output variables.
| Alias | stdX |
|---|
requests the sum of squares of residuals for standardized predictors. If set to an empty string, the prefix StdXSSE is used for naming the output variable.
| Aliases | xQres |
|---|---|
| stdXsse |
requests residuals for each response. If set to an empty string, the prefix YResid is used for naming the output variables.
| Aliases | yr |
|---|---|
| yResid |
requests extracted responses (Y-scores, U) for each selected model factor. If set to an empty string, the prefix YScore is used for naming the output variables.
requests standardized (centered and scaled) response values for each response. If set to an empty string, the prefix StdY is used for naming the output variables.
| Alias | stdY |
|---|
requests the sum of squares of residuals for standardized responses. If set to an empty string, the prefix StdYSSE is used for naming the output variable.
| Aliases | yQres |
|---|---|
| stdYsse |
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies the fractions of the data to be used for training and testing.
| Alias | partByFrac |
|---|
The partByFracStatement value can be one or more of the following:
specifies the seed to use in the random number generator that is used for partitioning the data.
| Default | 0 |
|---|
randomly assigns the specified proportion of observations in the input table to the testing role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Range | 0–1 |
|---|
specifies the variable and its values used to partition the data into training and testing roles.
| Alias | partByVar |
|---|
| Long form | partitionByVar=list(name="variable-name") |
|---|---|
| Shortcut form | partitionByVar="variable-name" |
The partByVarStatement value can be one or more of the following:
names the variable in the input table whose values are used to assign roles to each observation.
specifies the formatted value of the variable that is used to assign observations to the testing role.
specifies the formatted value of the variable that is used to assign observations to the training role. If you do not specify the train parameter, then all observations whose roles are not determined by the test and validate parameters are assigned to training.
specifies a polynomial effect. All specified variables must be numeric. A design matrix column is generated for each term of the specified polynomial. By default, each of these terms is treated as a separate effect for the purpose of model building.
For more information about specifying the polynomial parameter, see the common polynomial parameter (Appendix A: Common Parameters).
| Alias | poly |
|---|
expands variables into spline bases whose form depends on the specified parameters.
For more information about specifying the spline parameter, see the common spline parameter (Appendix A: Common Parameters).
specifies the settings for an input table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
specifies the target variable to use for analysis.
when set to True, displays the amount of variation accounted for in each response and predictor.
| Default | FALSE |
|---|