1. An application programming interface implementing Bayesian approaches for evaluating effect of time-varying treatment with R and Python
- Author
-
Chen Chen, Bin Huang, Michal Kouril, Jinzhong Liu, Hang Kim, Siva Sivaganisan, Jeffrey A. Welge, and Melissa P. DelBello
- Subjects
application programming interface (API) ,BART ,comparative effectiveness research (CER) ,averaged treatment effect (ATE) ,conditional ATE (CATE) ,Gaussian process (GP) ,Electronic computers. Computer science ,QA75.5-76.95 - Abstract
IntroductionMethods and tools evaluating treatment effect have been primarily developed for binary type of treatment. Yet, treatment is rarely binary outside the experimental setting, varies by dosage, frequency and time. Treatment is routinely adjusted, initiated or stopped when being administered over a period of time.MethodsBoth Gaussian Process (GP) regression and Bayesian additive regression tree (BART) have been used successfully for handling complex setting involving time-varying treatments that is either adaptive or non-adaptive. Here, we introduce an application programming interface (API) that implements both BART and GP for estimating averaged treatment effect (ATE) and conditional averaged treatment (CATE) for the two-stage time-varying treatment strategies.ResultsWe provide two real applications for evaluating comparative effectiveness of time-varying treatment strategies. The first example evaluates an early aggressive treatment strategies for caring children with newly diagnosed Juvenile Idiopathic Arthritis (JIA). The second evaluates the persistent per-protocol treatment effectiveness in a large randomized pragmatic trial. The examples demonstrate the use of the API calling from R and Python, for handling both non-adaptive or adaptive treatments, with presences of partially observed or missing data issues. Summary tables and interactive figures of the results are downloadable.
- Published
- 2023
- Full Text
- View/download PDF