Bayesian structural time series for biomedical sensor data: A flexible modeling framework for evaluating interventions

Jason Liu, Daniel J. Spakowicz, Garrett I. Ash, Rebecca Hoyd, Rohan Ahluwalia, Andrew Zhang, Shaoke Lou, Donghoon Lee, Jing Zhang, Carolyn Presley, Ann Greene, Matthew Stults-Kolehmainen, Laura M. Nally, Julien S. Baker, Lisa M. Fucito, Stuart A. Weinzimer, Andrew V. Papachristos, Mark Gerstein*

*Corresponding author for this work

Research output: Contribution to journalJournal articlepeer-review

8 Citations (Scopus)


The development of mobile-health technology has the potential to revolutionize personalized medicine. Biomedical sensors (e.g. wearables) can assist with determining treatment plans for individuals, provide quantitative information to healthcare providers, and give objective measurements of health, leading to the goal of precise phenotypic correlates for genotypes. Even though treatments and interventions are becoming more specific and datasets more abundant, measuring the causal impact of health interventions requires careful considerations of complex covariate structures, as well as knowledge of the temporal and spatial properties of the data. Thus, interpreting biomedical sensor data needs to make use of specialized statistical models. Here, we show how the Bayesian structural time series framework, widely used in economics, can be applied to these data. This framework corrects for covariates to provide accurate assessments of the significance of interventions. Furthermore, it allows for a time-dependent confidence interval of impact, which is useful for considering individualized assessments of intervention efficacy. We provide a customized biomedical adaptor tool, MhealthCI, around a specific implementation of the Bayesian structural time series framework that uniformly processes, prepares, and registers diverse biomedical data. We apply the software implementation of MhealthCI to a structured set of examples in biomedicine to showcase the ability of the framework to evaluate interventions with varying levels of data richness and covariate complexity and also compare the performance to other models. Specifically, we show how the framework is able to evaluate an exercise intervention's effect on stabilizing blood glucose in a diabetes dataset. We also provide a future-anticipating illustration from a behavioral dataset showcasing how the framework integrates complex spatial covariates. Overall, we show the robustness of the Bayesian structural time series framework when applied to biomedical sensor data, highlighting its increasing value for current and future datasets.

Original languageEnglish
Article numbere1009303
JournalPLoS Computational Biology
Issue number8
Publication statusPublished - 23 Aug 2021

Scopus Subject Areas

  • Ecology, Evolution, Behavior and Systematics
  • Ecology
  • Modelling and Simulation
  • Molecular Biology
  • Genetics
  • Cellular and Molecular Neuroscience
  • Computational Theory and Mathematics


Dive into the research topics of 'Bayesian structural time series for biomedical sensor data: A flexible modeling framework for evaluating interventions'. Together they form a unique fingerprint.

Cite this