Hello
I am trying to run a simulation, based on 1000 replications, with sample size=50 for the imbalance (Dn) and predictability of a sequence (Ppred) in Clinical Studies Design. Some of the randomization procedures for which the simulation has to be run are 1)Complete Randomization 2)Permuted block design, with block size=4, etc.
Any help with how to write the SAS code for these simulation procedures is highly appreciated!
Is this for a course? What have you learned so far about how to generate a random design?
You can use the GROUPS= option in PROC SURVEYSELECT to randomly assign subjects to groups. (Placebo, treatment1, treatment2, etc.) See this note.
For more advanced designs, you might look at PROC PLAN.
Thank you, I will check out these links.
Yes, It is for a course I am taking. So far I've learnt how to use the ranuni function to generate a random list and also how to set a seed/call a seed for generating random numbers.
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.