Example data analysis R code for paper "Dynamic enrichment of Bayesian small sample, sequential, multiple assignment randomized trial (snSMART) design using natural history data: A case study from Duchenne muscular dystrophy"
We propose a small sample (n), sequential, multiple assignment, randomized trial (snSMART) design that integrates natural history data with data from the placebo arm to increase efficiency. The proposed approach is a multi-stage design evaluating multiple doses of a promising drug versus placebo. To efficiently estimate treatment effects in a snSMART design, we present a robust MAC-snSMART, a robust exchangeable hierarchical model (HM). We reanalyze data from a DMD trial using the proposed method and external control data from the Duchenne Natural History Study (DNHS). Our method's estimators show improved efficiency compared to the original trial.
Five files are provided:
robust_MAC_snSMART.bugs-JAGScode of our proposed robust MAC-snSMART method;traditional.bugs-JAGScode of traditional method;JointStageBayes_mixture.bug-JAGScode of the Bayesian joint stage model proposed by Fang Fang;simulation_function.R- simulate sample snSMART trial data;example_data_analysis.R- the originalRcode used to reproduce the results presented inSection 6of our paper (NSAA only);one_example.Rmd- a simple demonstration of the robust MAC-snSMART. Data used in this example is stored in filetrial.data.RData.one_example.pdfis the pdf file generated through this rmarkdown file.
To conduct the example data anlaysis yourself, please put all files under one folder, set working directory to that folder, and run example_data_analysis.R. The current number of simulations is set to 30,000. Please edit the number of simulations and computing cores according to your needs. DNHS study data is not provided and only summary level data is used in the example data analysis. Details on the RO7239361 trial can be found here.
Contact: sidiwang@umich.edu