Conducting interrupted time-series analysis for�single- and multiple-group comparisons

WeiYu72 97 views 34 slides Oct 11, 2024
Slide 1
Slide 1 of 34
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34

About This Presentation

Conducting interrupted time-series analysis for�single- and multiple-group comparisons


Slide Content

Conducting interrupted time-series analysis for single- and multiple-group comparisons Ariel Linden, DrPH Department of Medicine Medical School University of California, San Francisco

Agenda Provide definitions and illustrate possible patterns Briefly describe modelling approaches (advantages/disadvantages) Detail OLS model parameters Present some examples Describe methods to improve causal inference in ITSA

Definition of interrupted time series analysis An outcome variable that is observed: over multiple, equally-spaced time periods before and after the introduction of an intervention which is expected to interrupt its level and/or trend

Definition of interrupted time series analysis Single group time-series design (Campbell and Stanley 1966): 0 0 0 0 X0 0 0 0 Multiple-group time-series design (Campbell and Stanley 1966): 0 0 0 0 X0 0 0 0 0 0 0 0 0 0 0 0

When is ITSA useful Single-group ITSA : For N-of-1 studies When the only data available are summarized at the population-level (e.g. mortality or morbidity rates) When observations are available for multiple evenly-spaced time points Multiple-group ITSA : Same as above but when a control group is available for comparison

Some possible single-group ITSA patterns * * Reproduced (more or less) from Campbell and Stanley (1966) A B C D E F G H

Statistical modeling approaches for ITSA Statistical models used for ITSA account for autocorrelation (the relationship between a variable's current value and its past values) The two general approaches historically used in ITSA are: Autoregressive Integrated Moving-Average (ARIMA) models w/transfer function (Box and Tiao 1975) Y = Y -1,-2,-3... X, (#p,#d,#q) , p is autoregressive, d is differencing, and q is moving-average Y = Y -1,-2,-3... X, (#p,#d,#q) (#P,#D,#Q,#s), where second part relates to seasonality (can be implemented in Stata using – tstf -) OLS regression models designed to adjust for autocorrelation ( see Simonton [ 1977] )

Advantages of ARIMA Designed to handle autocorrelation, seasonality and cyclical trends Non-linear models fit the data better than linear models

Disadvantages of ARIMA At least 50, and preferably more than 100 observations are needed to stabilize the estimates (Box and Jenkins 1976) ARIMA models are inherently designed for univariate time-series with a single intervention, not sequential interventions. Comparison to a control group is possible, but complicated The procedural complexity of the methodology requires a great deal of expertise. Velicer and Harrop (1983) demonstrated that even highly trained researchers classified only 28 percent of computer-generated time series data correctly

Advantages of OLS-ITSA models OLS may require as few as four observations (Simonton 1977) OLS models are sufficiently flexible to accommodate multiple treatment periods and comparisons with one or more control groups Post-estimation tests are available to assess whether the model correctly adjusted for autocorrelation - lincom - can be used post-estimation to produce other estimates OLS models can be used in conjunction with weighting or matching to improve causal inference OLS models avoid the problems of model identification that encumbers the ARIMA methodology

Disadvantages of OLS-ITSA models They produce linear estimates that may not fit the data well Adjusting for seasonality and cyclical trends adds complexity to the modeling process

The single-group OLS-ITSA model Y t = β + β 1 T t + β 2 X t + β 3 X t T t + ϵ t Y t is the summarized outcome variable measured at each equally spaced time point t , T t is the time since the start of the study, X t is a dummy (indicator) variable representing the intervention (pre-intervention periods 0, otherwise 1), and X t T t is an interaction term

The single-group OLS-ITSA model Pre-intervention Post-intervention Outcome (Y) β β 1(T) β 2(X) β 3(XT)

The multiple-group OLS-ITSA model Y t = β + β 1 T t + β 2 X t + β 3 X t T t + β 4 Z + β 5 ZT t + β 6 ZX t + β 7 ZX t T t + ϵ t β to β 3 represent the control group, and β 4 to β 7 represent the treatment group Z is a dummy variable to denote the cohort assignment (treatment or control) ZT t ZX t , and ZX t T t are all interaction terms among previously described variables

The multiple-group OLS-ITSA model Outcome (Y) Pre-intervention Post-intervention β 4(Z) β 5(ZT) β 6(ZX) β 7(ZXT) β 3(XT)

The multiple-group OLS-ITSA model

Threats to internal validity of ITSA models Single-group ITSA : History -- some event other than the intervention produces the shift in the time-series (Campbell and Stanley 1966) Seasonality Multiple-group ITSA : Unmeasured confounding that affects the treatment group’s series differently than the control group’s series

Examples of where SG-ITSA results can be misinterpreted (math free)

Florida’s 2000 repeal of the helmet law on motorcycle deaths Motorcycle deaths in Florida before and after repeal of the helmet law in July 2000

Florida’s 2000 repeal of the helmet law on motorcycle deaths Motorcycle registrations in Florida before and after repeal of the helmet law in July 2000

Florida’s 2000 repeal of the helmet law on motorcycle deaths Florida’s motorcycle deaths vs those of all other States, and matched control States

California’s Proposition 99 (1988) on per capita cigarette sales (a) Cigarette sales in California before and after Proposition 99. (b) Structural break in 1983

California’s Proposition 99 (1988) on per capita cigarette sales Comparing California’s cigarette sales to all other States, and to matched control States

Louisiana’s repeals and reinstatements of the helmet law Louisiana’s multiple repeals/amendments/reinstatements of helmet law on motorcycle deaths

Louisiana’s repeals and reinstatements of the helmet law Louisiana’s motorcycle deaths and registrations compared to all other States

Take-aways about SG-ITSA? A single-group ITSA is unlikely to be more valid than a simple pre-post test Perform structural break analysis to further support/refute a treatment effect Adding one or more cross-overs may not improve validity Identifying confounders, history, secular trends, may support/refute a treatment effect A multiple-group ITSA is ALWAYS preferred to a single-group ITSA A matched (or weighted) multiple-group ITSA is EVEN better!

Improving causal inference in MG-ITSA Use weights derived from the “synthetic controls” method (Abadie and Diamond 2010) in conjunction with ITSA Match on covariates to identify controls using “ITSAMATCH” then estimate treatment effects using ITSA Run permutation tests (which includes matching and estimation) using “ITSAPERM”

Synthetic controls and ITSA SYNTH assigned weights to Colorado (.159), Connecticut (.068), Montana (.203), Nevada (.235) and Utah (.335)

ITSAMATCH and ITSA ITSAMATCH found Colorado, Idaho, and Montana as best matches to California

ITSAPERM After iteratively matching the treatment unit (CA) and pseudo-treatment units (all other States) to controls, only CA appears to have a statistical (and directionally correct) effect

Conclusions Interrupted time series analysis is an observational (natural) study design that capitalizes on having many data-points for determining treatment effects (both visually and statistically) A single-group ITSA may be no more valid than the simple pre-post design if some (non-observed) event other than the intervention produced the shift in the time-series A multigroup ITSA that compares the treated unit to one or more comparable controls (via weighting or matching) is the most valid approach with observational data Adding permutation tests provides an additional robustness check

ITSA related packages for Stata ITSA – Performs interrupted time series analysis for single and multiple group comparisons ITSAMATCH – Performs matching in multiple group interrupted time series analysis ITSAPERM – Performs permutation tests for matched multiple group interrupted time series analysis ITSARAND – Performs randomization tests for single-case and multiple-baseline AB phase designs  XTITSA - Performs interrupted time series analysis with panel data

References Abadie A, Diamond A. 2010. Synthetic control methods for comparative case studies: Estimating the effect of California's tobacco control program. J Am Stat Assoc . 105: 493‐505. Box, G. E. P., and G. M. Jenkins. 1976. Time Series Analysis: Forecasting and Control . San Francisco, CA: Holden Day. Box, G. E. P., and G. C. Tiao. 1975. Intervention analysis with applications to economic and environmental problems. Journal of the American Statistical Association 70: 70–79. Campbell, D. T., and J. C. Stanley. 1966. Experimental and Quasi-Experimental Designs for Research . Chicago, IL: Rand McNally. Linden A. 2015. Conducting interrupted time series analysis for single and multiple group comparisons. Stata Journal 15: 480-500. Linden A . 2016. Challenges to validity in single-group interrupted time series analysis. Journal of Evaluation in Clinical Practice 23: 413–418. Linden A . 2017. A comprehensive set of post-estimation measures to enrich interrupted time series analysis. Stata Journal 17: 73-88. Linden A. 2017. Persistent threats to validity in single-group interrupted time series analysis with a crossover design. Journal of Evaluation in Clinical Practice 23: 419–425. Linden A. 2018. A matching framework to improve causal inference in interrupted time series analysis. Journal of Evaluation in Clinical Practice 24: 408-415. Linden A. 2018. Combining synthetic controls and interrupted time series analysis to improve causal inference in program evaluation. Journal of Evaluation in Clinical Practice 24: 447-453. Linden A. 2018. Using permutation tests to enhance causal inference in interrupted time series analysis. Journal of Evaluation in Clinical Practice 24:496-501. Linden A. 2022. Erratum: A comprehensive set of post-estimation measures to enrich interrupted time series analysis. Stata Journal 22:231-233. Simonton, D. K. 1977. Cross-sectional time-series experiments: Some suggested statistical analyses. Psychological Bulletin 84: 489–502. Velicer , W. F., and J. Harrop. 1983. The reliability and accuracy of time series model identification. Evaluation Review 7: 551–560.

Thank You!
Tags