Related Experiment Video
Updated: Feb 5, 2026

In Silico Clinical Trials for Cardiovascular Disease
Published on: May 27, 2022
A practical guide to pre-trial simulations for Bayesian adaptive trials using SAS and BUGS
Christian Holm Hansen1, Pamela Warner2, Allan Walker2,3
1MRC Tropical Epidemiology Group, London School of Hygiene and Tropical Medicine, London, UK.
Abstract:
It is often unclear what specific adaptive trial design features lead to an efficient design which is also feasible to implement. Before deciding on a particular design, it is generally advisable to carry out a simulation study to characterise the properties of candidate designs under a range of plausible assumptions. The implementation of such pre-trial simulation studies presents many challenges and requires considerable statistical programming effort and time. Despite the scale and complexity, there is little existing literature to guide the implementation of such projects using commonly available software. This Teacher's Corner article provides a practical step-by-step guide to implementing such simulation studies including how to specify and fit a Bayesian model in WinBUGS or OpenBUGS using SAS, and how results from the Bayesian analysis may be pulled back into SAS and used for adaptation of allocation probabilities before simulating subsequent stages of the trial. The interface between the two software platforms is described in detail along with useful tips and tricks. A key strength of our approach is that the entire exercise can be defined and controlled from within a single SAS program.
Related Concept Videos
Clinical Trials: Overview
Trial and Error and Algorithm
Clinical Trials
There are four phases in a clinical trial. A phase one...
Statistical Software for Data Analysis and Clinical Trials
Statistical Analysis System (SAS)
Applications: SAS finds applications in numerous fields, including healthcare for clinical trial analysis, finance for risk assessment, marketing for customer data analysis, and...
pre-mRNA Processing
Once about 20-40 ribonucleotides have been joined together by RNA polymerase, a group of enzymes adds a “cap” to the 5’ end of the growing transcript. In this process, a 5’ phosphate is replaced by modified guanosine that has a methyl group attached to it (7-Methyl...

