Provides actions for performing principal component analysis
Extracts principal components by using the iterative method based on Gram-Schmidt orthogonalization (ITERGS).
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 |
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 convergence criterion for the iterative method.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
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 maximum number of iterations for the iterative method.
| Default | 500 |
|---|---|
| Range | 0–MACINT |
specifies the number of principal components to be computed. If the value is 0, all principal components are computed.
| Default | 0 |
|---|---|
| Minimum value | 0 |
when set to True, suppresses centering of the numeric variables to be analyzed.
| Default | FALSE |
|---|
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 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 iterative method based on Gram-Schmidt orthogonalization (ITERGS).
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 |
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 convergence criterion for the iterative method.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
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 maximum number of iterations for the iterative method.
| Default | 500 |
|---|---|
| Range | 0–MACINT |
specifies the number of principal components to be computed. If the value is 0, all principal components are computed.
| Default | 0 |
|---|---|
| Minimum value | 0 |
when set to True, suppresses centering of the numeric variables to be analyzed.
| Default | false |
|---|
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 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 iterative method based on Gram-Schmidt orthogonalization (ITERGS).
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 |
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 convergence criterion for the iterative method.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
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 maximum number of iterations for the iterative method.
| Default | 500 |
|---|---|
| Range | 0–MACINT |
specifies the number of principal components to be computed. If the value is 0, all principal components are computed.
| Default | 0 |
|---|---|
| Minimum value | 0 |
when set to True, suppresses centering of the numeric variables to be analyzed.
| Default | False |
|---|
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 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 iterative method based on Gram-Schmidt orthogonalization (ITERGS).
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 |
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 convergence criterion for the iterative method.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
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 maximum number of iterations for the iterative method.
| Default | 500 |
|---|---|
| Range | 0–MACINT |
specifies the number of principal components to be computed. If the value is 0, all principal components are computed.
| Default | 0 |
|---|---|
| Minimum value | 0 |
when set to True, suppresses centering of the numeric variables to be analyzed.
| Default | FALSE |
|---|
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 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 |
|---|