data catheter; input infection duration count @@; cards; 1 1 1 1 2 5 1 3 5 1 4 14 2 1 46 2 2 64 2 3 39 2 4 76 ; proc freq; weight count; tables infection*duration/chisq cmh1; proc freq; weight count; tables infection*duration/cmh1 scores=ridit; run;