Provides actions for performing principal component analysis
Extracts principal components by using the random projection matrix sketching method.
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 |
|---|---|---|
|
casOut |
writes SAS DATA step code for computing predicted values of the fitted model. |
|
|
required parametercasOut |
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistic, then only the principal component scores are included. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
specifies the output table to be created to save model fit information that you can use for scoring. |
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).
| Aliases | attribute |
|---|---|
| attr |
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 |
|---|
writes SAS DATA step code for computing predicted values of the fitted model.
For more information about specifying the code parameter, see the common aircodegen parameter (Appendix A: Common Parameters).
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).
specifies the settings for graphics processing units (GPUs). If you specify the groupBy subparameter in the table parameter, the gpu parameter is ignored. If no GPU is available, the CPU is used to perform model computation.
when set to True, enables the action to use GPUs to perform model computation on GPU-equipped machines (one GPU is used on each machine).
| Default | FALSE |
|---|
suppresses the analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies the variables to be analyzed. For the NIPALS, ITERGS, and EIG methods, you can analyze only numeric variables. If you omit the parameter, all numeric variables that are not specified in other parameters are analyzed. You must specify either INPUTS or MODEL for the RANDOMPCA method, but you can use both numeric and categorical variables.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | input |
|---|---|
| vars | |
| var |
specifies the variables to use in the principal component analysis for the RANDOMPCA method.
The modelStatement 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.
specifies the number of principal components to compute for the RANDOMPCA method. If the value is 0, one principal component is computed.
| Default | 1 |
|---|---|
| Minimum value | 0 |
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
specifies the number of iterations for the RANDOMPCA method.
| Default | 1 |
|---|---|
| Minimum value | 0 |
when set to True, suppresses centering of the numeric variables to be analyzed.
| 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 numeric variables to be analyzed.
| Default | FALSE |
|---|
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistic, then only the principal component scores are included.
The iterOutput value can be one or more of the following:
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
specifies the approximate leverage. If the value is an empty string, the prefix H is used to name the output variables.
specifies residuals for each analysis variable. If the value is an empty string, the prefix R is used to name the output variables.
| Aliases | r |
|---|---|
| resid |
specifies principal component scores for each principal component. If the value is an empty string, the prefix Score is used to name the output variables.
specifies standardized (centered and scaled) analysis variable values for each analysis variable. If the value is an empty string, the prefix Std is used to name the output variables.
specifies the sum of squares of residuals for standardized analysis variables. If the value is an empty string, the prefix StdSSE is used to name the output variables.
specifies a scaled sum of squares of score values. If the value is an empty string, the prefix TSquare is used to name the output variables.
| Alias | tSquare |
|---|
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 a prefix for naming the principal components.
| Default | "Prin" |
|---|
specifies the seed to use for generating the random projection matrix for the RANDOMPCA method.
| Default | 0 |
|---|
specifies the output table to be created to save model fit information that you can use for scoring.
For more information about specifying the store parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | saveState |
|---|
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 divisor to use in calculating variances and standard deviations.
| Default | DF |
|---|
Extracts principal components by using the random projection matrix sketching method.
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 |
|---|---|---|
|
casOut |
writes SAS DATA step code for computing predicted values of the fitted model. |
|
|
required parametercasOut |
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistic, then only the principal component scores are included. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
specifies the output table to be created to save model fit information that you can use for scoring. |
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).
| Aliases | attribute |
|---|---|
| attr |
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 |
|---|
writes SAS DATA step code for computing predicted values of the fitted model.
For more information about specifying the code parameter, see the common aircodegen parameter (Appendix A: Common Parameters).
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).
specifies the settings for graphics processing units (GPUs). If you specify the groupBy subparameter in the table parameter, the gpu parameter is ignored. If no GPU is available, the CPU is used to perform model computation.
when set to True, enables the action to use GPUs to perform model computation on GPU-equipped machines (one GPU is used on each machine).
| Default | false |
|---|
suppresses the analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies the variables to be analyzed. For the NIPALS, ITERGS, and EIG methods, you can analyze only numeric variables. If you omit the parameter, all numeric variables that are not specified in other parameters are analyzed. You must specify either INPUTS or MODEL for the RANDOMPCA method, but you can use both numeric and categorical variables.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | input |
|---|---|
| vars | |
| var |
specifies the variables to use in the principal component analysis for the RANDOMPCA method.
The modelStatement 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.
specifies the number of principal components to compute for the RANDOMPCA method. If the value is 0, one principal component is computed.
| Default | 1 |
|---|---|
| Minimum value | 0 |
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
specifies the number of iterations for the RANDOMPCA method.
| Default | 1 |
|---|---|
| Minimum value | 0 |
when set to True, suppresses centering of the numeric variables to be analyzed.
| 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 numeric variables to be analyzed.
| Default | false |
|---|
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistic, then only the principal component scores are included.
The iterOutput value can be one or more of the following:
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
specifies the approximate leverage. If the value is an empty string, the prefix H is used to name the output variables.
specifies residuals for each analysis variable. If the value is an empty string, the prefix R is used to name the output variables.
| Aliases | r |
|---|---|
| resid |
specifies principal component scores for each principal component. If the value is an empty string, the prefix Score is used to name the output variables.
specifies standardized (centered and scaled) analysis variable values for each analysis variable. If the value is an empty string, the prefix Std is used to name the output variables.
specifies the sum of squares of residuals for standardized analysis variables. If the value is an empty string, the prefix StdSSE is used to name the output variables.
specifies a scaled sum of squares of score values. If the value is an empty string, the prefix TSquare is used to name the output variables.
| Alias | tSquare |
|---|
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 a prefix for naming the principal components.
| Default | "Prin" |
|---|
specifies the seed to use for generating the random projection matrix for the RANDOMPCA method.
| Default | 0 |
|---|
specifies the output table to be created to save model fit information that you can use for scoring.
For more information about specifying the store parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | saveState |
|---|
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 divisor to use in calculating variances and standard deviations.
| Default | DF |
|---|
Extracts principal components by using the random projection matrix sketching method.
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 |
|---|---|---|
|
casOut |
writes SAS DATA step code for computing predicted values of the fitted model. |
|
|
required parametercasOut |
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistic, then only the principal component scores are included. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
specifies the output table to be created to save model fit information that you can use for scoring. |
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).
| Aliases | attribute |
|---|---|
| attr |
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 |
|---|
writes SAS DATA step code for computing predicted values of the fitted model.
For more information about specifying the code parameter, see the common aircodegen parameter (Appendix A: Common Parameters).
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).
specifies the settings for graphics processing units (GPUs). If you specify the groupBy subparameter in the table parameter, the gpu parameter is ignored. If no GPU is available, the CPU is used to perform model computation.
when set to True, enables the action to use GPUs to perform model computation on GPU-equipped machines (one GPU is used on each machine).
| Default | False |
|---|
suppresses the analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies the variables to be analyzed. For the NIPALS, ITERGS, and EIG methods, you can analyze only numeric variables. If you omit the parameter, all numeric variables that are not specified in other parameters are analyzed. You must specify either INPUTS or MODEL for the RANDOMPCA method, but you can use both numeric and categorical variables.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | input |
|---|---|
| vars | |
| var |
specifies the variables to use in the principal component analysis for the RANDOMPCA method.
The modelStatement 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.
specifies the number of principal components to compute for the RANDOMPCA method. If the value is 0, one principal component is computed.
| Default | 1 |
|---|---|
| Minimum value | 0 |
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
specifies the number of iterations for the RANDOMPCA method.
| Default | 1 |
|---|---|
| Minimum value | 0 |
when set to True, suppresses centering of the numeric variables to be analyzed.
| 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 numeric variables to be analyzed.
| Default | False |
|---|
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistic, then only the principal component scores are included.
The iterOutput value can be one or more of the following:
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
specifies the approximate leverage. If the value is an empty string, the prefix H is used to name the output variables.
specifies residuals for each analysis variable. If the value is an empty string, the prefix R is used to name the output variables.
| Aliases | r |
|---|---|
| resid |
specifies principal component scores for each principal component. If the value is an empty string, the prefix Score is used to name the output variables.
specifies standardized (centered and scaled) analysis variable values for each analysis variable. If the value is an empty string, the prefix Std is used to name the output variables.
specifies the sum of squares of residuals for standardized analysis variables. If the value is an empty string, the prefix StdSSE is used to name the output variables.
specifies a scaled sum of squares of score values. If the value is an empty string, the prefix TSquare is used to name the output variables.
| Alias | tSquare |
|---|
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 a prefix for naming the principal components.
| Default | "Prin" |
|---|
specifies the seed to use for generating the random projection matrix for the RANDOMPCA method.
| Default | 0 |
|---|
specifies the output table to be created to save model fit information that you can use for scoring.
For more information about specifying the store parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | saveState |
|---|
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 divisor to use in calculating variances and standard deviations.
| Default | DF |
|---|
Extracts principal components by using the random projection matrix sketching method.
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 |
|---|---|---|
|
casOut |
writes SAS DATA step code for computing predicted values of the fitted model. |
|
|
required parametercasOut |
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistic, then only the principal component scores are included. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
specifies the output table to be created to save model fit information that you can use for scoring. |
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).
| Aliases | attribute |
|---|---|
| attr |
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 |
|---|
writes SAS DATA step code for computing predicted values of the fitted model.
For more information about specifying the code parameter, see the common aircodegen parameter (Appendix A: Common Parameters).
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).
specifies the settings for graphics processing units (GPUs). If you specify the groupBy subparameter in the table parameter, the gpu parameter is ignored. If no GPU is available, the CPU is used to perform model computation.
when set to True, enables the action to use GPUs to perform model computation on GPU-equipped machines (one GPU is used on each machine).
| Default | FALSE |
|---|
suppresses the analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies the variables to be analyzed. For the NIPALS, ITERGS, and EIG methods, you can analyze only numeric variables. If you omit the parameter, all numeric variables that are not specified in other parameters are analyzed. You must specify either INPUTS or MODEL for the RANDOMPCA method, but you can use both numeric and categorical variables.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | input |
|---|---|
| vars | |
| var |
specifies the variables to use in the principal component analysis for the RANDOMPCA method.
The modelStatement 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.
specifies the number of principal components to compute for the RANDOMPCA method. If the value is 0, one principal component is computed.
| Default | 1 |
|---|---|
| Minimum value | 0 |
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
specifies the number of iterations for the RANDOMPCA method.
| Default | 1 |
|---|---|
| Minimum value | 0 |
when set to True, suppresses centering of the numeric variables to be analyzed.
| 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 numeric variables to be analyzed.
| Default | FALSE |
|---|
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistic, then only the principal component scores are included.
The iterOutput value can be one or more of the following:
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
specifies the approximate leverage. If the value is an empty string, the prefix H is used to name the output variables.
specifies residuals for each analysis variable. If the value is an empty string, the prefix R is used to name the output variables.
| Aliases | r |
|---|---|
| resid |
specifies principal component scores for each principal component. If the value is an empty string, the prefix Score is used to name the output variables.
specifies standardized (centered and scaled) analysis variable values for each analysis variable. If the value is an empty string, the prefix Std is used to name the output variables.
specifies the sum of squares of residuals for standardized analysis variables. If the value is an empty string, the prefix StdSSE is used to name the output variables.
specifies a scaled sum of squares of score values. If the value is an empty string, the prefix TSquare is used to name the output variables.
| Alias | tSquare |
|---|
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 a prefix for naming the principal components.
| Default | "Prin" |
|---|
specifies the seed to use for generating the random projection matrix for the RANDOMPCA method.
| Default | 0 |
|---|
specifies the output table to be created to save model fit information that you can use for scoring.
For more information about specifying the store parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | saveState |
|---|
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 divisor to use in calculating variances and standard deviations.
| Default | DF |
|---|