The data set MIGRAINE contains hypothetical data for a clinical trial of migraine treatment. Subjects of both genders either receive new drug therapy or a placebo. Their response to treatment is coded as better or the same. The data are recorded as cell counts instead of as one observation per subject. The variable Frequency contains the frequencies for each treatment and response combination.
options nodate pageno=1 linesize=80 pagesize=60;

data migraine;
   input Gender $ Treatment $ Improve $ Frequency @@;
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