Hi All!
Need help with an assignment.
The Task: establish a randomization scheme for a randomized Phase II study of Treatments Y vs. Z in advanced prostate cancer patients. The study will be done in two stages. Fifteen patients per treatment will be assigned in Stage 1 and 15 per group in Stage 2. Produce a randomization list for them indicating how the total of 60 patients will be randomized to one of the two arms (15 to each arm for Stage 1, and 15 to each arm in Stage 2). The list should sorted by Stage, numbered from 1 to 30 within each stage, and show the corresponding treatment assignment Y or Z.
Here's How far I've gotten (see below) Not sure if I should use proc plan or how to split each drug group into the 2 treatment arms OR if I should have spilt the group of 60 into 4 groups to begin with. Very confused at this point, pls help
data a;
do i =1 to 60;
number= ranuni(5);
output;
end;
run;
proc rank data=a out= b;
var number;
ranks numrank;
run;
data c;
set b;
if (numrank <=30) then group = 'Drug X';
else group = 'Drug Y';
run;
proc freq data=c;
tables group;
run;
You could use surveyselect with groups=4.
thanks! I'll try that
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.