Step 5: PROC SURVEYCORR PROC SQL; INSERT INTO SURVEYCORR SELECT
{"Image DocumentName": "Step 5: PROC SURVEYCORR PROC SQL; INSERT INTO SURVEYCORR SELECT", "Image ImageDescription": "PARAMETER. ,CVALUE1 AS R_SQUARE. ,SIGN(ESTIMATE)  SQRT(INPUT(CVALUE1,8.)) AS R. ,PROBT AS PVALUE. FROM FIT. ,PARAMETER_EST. WHERE LABEL1 = R-SQUARE AND PARAMETER = &&VAR&I ; QUIT; %MEND CORR; R-square value extracted from FitStatistics output with PROC SQL. P-value and sign of estimated regression coefficient from ParameterEstimates. Square root function to get correlation coefficient. Sign of regression coefficient = direction of correlation (-/+) with target. Target variable input as a parameter when the macro is called.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}