An application programming interface implementing Bayesian approaches for evaluating effect of time-varying treatment with R and Python
-
Published:2023-08-16
Issue:
Volume:5
Page:
-
ISSN:2624-9898
-
Container-title:Frontiers in Computer Science
-
language:
-
Short-container-title:Front. Comput. Sci.
Author:
Chen Chen,Huang Bin,Kouril Michal,Liu Jinzhong,Kim Hang,Sivaganisan Siva,Welge Jeffrey A.,DelBello Melissa P.
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.
Publisher
Frontiers Media SA
Subject
Computer Science Applications,Computer Vision and Pattern Recognition,Human-Computer Interaction,Computer Science (miscellaneous)
Reference42 articles.
1. BodoryH.
HuberM.
KueckJ.
causalweight: Estimation Methods for Causal Inference Based on Inverse Probability Weighting, R package version 1.0.42023
2. Understanding the window of opportunity concept in early rheumatoid arthritis;Boers;Arthrit. Rheumatol,2003
3. Inferring causal impact using bayesian structural time-series models;Brodersen;Ann. Appl. Stat,2014
4. CefaluM.
RidgewayG.
McCaffreyD.
MorralA.
GriffinB. A.
BurgetteL.
twang: Toolkit for Weighting and Analysis of Nonequivalent Groups, R package version 2.52021