Didn't you already get an answer to this question on your other thread?
/*
Variable List:
Patient ID, Treatment (0=Placebo, 1=Progabide), Age,
Baseline 8 week seizure count, First 2 week seizure count,
Second 2 week seizure count, Third 2 week seizure count,
Fourth 2 week seizure count.
*/
data mydata ;
input id treatment age @;
do period=0 to 4 ;
if period=0 then weeks=8;
else weeks=2;
input count @;
rate = count / weeks ;
output;
end;
cards;
1 0 31 11 5 3 3 3
2 0 30 11 3 5 3 3
;
At least from the first two patients it looks like the rate has gone up on that treatment.
... View more