Hi, It looks like 'Test' in your code should be replaced with Statistic, as that is where the Chi-Square option is held. Using DEFINE, as shown below, should solve your problem! PROC REPORT DATA = dataset.ChiSqResults;
COLUMN Statistic ("Statistical Results" DF Value Prob );
DEFINE Statistic / 'Test';
DEFINE Prob / 'P-Value' FORMAT = 4.2 ;
DEFINE Value / FORMAT = 4.2;
FOOTNOTE "Created by HS";
RUN;
... View more