A SAS data scientist analyzes a CAS dataset using the correlation action. The following code is submitted: proc cas; simple.correlation / table={name='CUSTOMERS', caslib='PUBLIC'} inputs={'age','income','spend'} / casout={name='corr_out', caslib='WORK'}; quit; What is the output stored in 'corr_out'?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — b is correct because the simple.correlation CAS action computes pairwise Pearson correlation coefficients among the specified input variables and stores the correlation matrix in the output table. A (principal components) requires the pca or factor action sets.
Full explanation below image
Full Explanation
B is correct because the simple.correlation CAS action computes pairwise Pearson correlation coefficients among the specified input variables and stores the correlation matrix in the output table. A (principal components) requires the pca or factor action sets. C (cluster assignments) requires the kclus or hpclus action sets. D (regression coefficients) requires the regression action set.