options nodate pagesize=54 linesize=80; /* Read in the input file */ data ex0511; * infile '../../../data/biostat/ex0511.dat'; infile 'C:\biostat\data\ex0511.dat'; input delivery outcome; run; /* Obtain crosstabs based on delivery route and outcome */ proc freq; table delivery*outcome; run; /* Run the Kruskal-Wallis Test - Note SAS will adjust for ties */ proc npar1way wilcoxon; class delivery; var outcome; run; quit;