Hi, I've been trying to get this 2x2 table (generated through proc freq) sorted so it shows 1 in the first column + row, and 0 in the second column + row. Even specifying "order=formatted", it still displays 0 in the first column + row which messes up some of the calculated stats. Any ideas what is going wrong here? Thank you! proc format; value noyes 1="Yes" 0="No" ; run; proc freq data=mydata.study order=formatted; ods exclude riskdiffcol2; tables ins*m1/nocol nopercent nocum riskdiff chisq; format ins m1 noyes.; run;
... View more