Related Experiment Video
Updated: Jul 13, 2025

A Method of Trigonometric Modelling of Seasonal Variation Demonstrated with Multiple Sclerosis Relapse Data
Published on: December 9, 2015
Bayesian structural time series, an alternative to interrupted time series in the right circumstances
Christopher Gianacas1, Bette Liu2, Martyn Kirk3
1School of Population Health, University of New South Wales, Sydney, Australia; The George Institute for Global Health, University of New South Wales, Sydney, Australia; NPS MedicineWise, Sydney, Australia.
Objectives:
Compare two approaches to analyzing time series data-interrupted time series with segmented regression (ITS-SR) and Bayesian structural time series using the CausalImpact R package (BSTS-CI)-highlighting advantages, disadvantages, and implementation considerations.
Study Design And Setting:
We analyzed electronic health records using each approach to estimate the antibiotic prescribing reduction associated with an educational program delivered to Australian primary care physicians between 2012 and 2017. Two outcomes were considered: antibiotics for upper respiratory tract infections (URTIs) and antibiotics of specified formulations.
Results:
For URTI indication prescribing, average monthly prescriptions changes were estimated at -4,550; (95% confidence interval, -5,486 to -3,614) and -4,270; (95% credible interval, -5,934 to -2,626) for ITS-SR and BSTS-CI, respectively. Similarly for specified formulation prescribing, monthly average changes were estimated at -7,923; (95% confidence interval, -15,887 to 40) for ITS-SR and -20,269; (95% credible interval, -25,011 to -15,635) for BSTS-CI.
Conclusion:
Differing results between ITS-SR and BSTS-CI appear driven by divergent explanatory and outcome series trends. The BSTS-CI may be a suitable alternative to ITS-SR only if the explanatory series represent the secular trend of the outcome series before the intervention and are equally affected by exogenous or confounding factors. When appropriately applied, BSTS-CI provides an alternative to ITS with more readily interpretable Bayesian effect estimates.
More Related Videos
04:35Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
07:59Author Spotlight: Alignment of Synchronized Time-Series Data Using the Characterizing Loss of Cell Cycle Synchrony Model for Cross-Experiment Comparisons
Published on: June 9, 2023
Related Concept Videos
Time-Series Graph
Basic Continuous Time Signals
The unit step function, denoted u(t), is zero for negative time values and one for positive time values, exhibiting a discontinuity at t=0. This function often represents abrupt changes, such as the step voltage introduced when turning a car's...
Survival Tree
Building a Survival Tree
Constructing a...
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time...
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Sampling Continuous Time Signal
In the...