I am completely new to SAS and I am desperate.
So my code is:
DATA abc;
INPUT AA BB CC DD EE;
CARDS;
;
RUN;
PROC PRINT DATA = abc;
TITLE "My_Data";
RUN;
PROC UNIVARIATE DATA = abc OUTTABLE = Table NOPRINT;
VAR AA BB CC DD EE;
RUN;
PROC PRINT DATA = Table LABEL NOOBS;
TITLE "Univariate Normality Tests per Variable";
VAR _VAR_ _NORMAL_ _PROBN_;
LABEL _VAR_ = 'VARIABLE';
RUN;
I have a problem with the "Univariate Normality Tests per Variable" table - it contains zeros. My desire is to have only a table of normality statistics for each variable in order to compare them as recommended (i.e. here ). I implemented the SAS macro but it contains only one such test. Please help me.
source
share