FOCUS AREAS

SAS Sample Code



data Migraine;
   input Gender $ Treatment $ Response $ Count @@;
   datalines;
female Active  Better 16   female Active  Same 11
female Placebo Better  5   female Placebo Same 20
male   Active  Better 12   male   Active  Same 16
male   Placebo Better  7   male   Placebo Same 19
;

ods graphics on;
ods html style=statistical;

proc freq data=Migraine;
   tables Gender*Treatment*Response / relrisk riskdiff; 
   weight Count;
   title 'Clinical Trial for Treatment of Migraine Headaches';
run;

ods graphics off;
ods html close;

Statistics and Operations Research Home Page