The CORR statement is used to calculate a matrix of pairwise correlations of numeric variables in an in-memory table.
Example: | Performing a Pairwise Correlation |
specifies one or more numeric variables. If you do not specify this option, then all numeric variables in the table are used.
saves the result table so that you can use it in other IMSTAT procedure statements like STORE, REPLAY, and FREE. The value for table-name must be unique within the scope of the procedure execution. The name of a table that has been freed with the FREE statement can be used again in subsequent SAVE= options.
specifies either a quoted string that contains the SAS expression that defines the temporary variables or a file reference to an external file with the SAS statements.
Alias | TE= |
specifies the list of temporary variables for the request. Each temporary variable must be defined through SAS statements that you supply with the TEMPEXPRESS= option.
Alias | TN= |
ODS Table Name
|
Description
|
Option
|
---|---|---|
Correlation
|
Matrix of pairwise correlations
|
Default
|