/* Association Measurement */ options nodate nonumber ps=200 ls=80 formdlim=' '; ods select RiskDiffCol1 Measures; /* Example 1 */ data cancer; input dose $ cancer $ count; datalines; high yes 14 high no 30 low yes 4 low no 40 ; proc freq order=data data=cancer; weight count; tables dose*cancer / riskdiff measures; run; proc freq order=data; weight count; tables dose*cancer / all nocol nopct; /* all means both chisq and measures */ exact or; /* get the exact CI for odds */ run;