12. 分割時系列デザイン(ITS)
Counterfactual
James Lopez Bernal, Steven Cummins, Antonio Gasparrini; Interrupted time series regression for the evaluation of public
health interventions: a tutorial, International Journal of Epidemiology, Volume 46, Issue 1, 1 February 2017, Pages 348–355
レベルの変化
トレンド
14. ITSの前提条件
1. pre-intervation と post-intervation では集団の分布が変化
していない、つまり同じような背景をもっている集団である
という仮定を置く
2. Pre-intervationの時系列変化が線形であるという仮定
3. 介入以外に時系列の変化を説明できるものがない
Kontopantelis, Evangelos, et al. "Regression based quasi-experimental approach when randomisation is not an option:
interrupted time series analysis." bmj 350 (2015): h2750.
17. James Lopez Bernal, Steven Cummins, Antonio Gasparrini; Interrupted time series regression for the evaluation of public
health interventions: a tutorial, International Journal of Epidemiology, Volume 46, Issue 1, 1 February 2017, Pages 348–355
インパクトモデル
19. タイムポイントの数
• タイムポイントの数が多ければパワーも大きくなる。
• 回帰分析を行う上で最小のタイムポイント数は?
Pre とPostでそれぞれ8ポイントずつ(Penfold and Zhang, 2013)
• 多ければ多いほどいい?
タイムポイントを細分化しすぎると、もともとITSの前提である観
察期間中の定常な共変量分布(年齢分布など)が外れ値など
にviolateされやすくなるので注意
James Lopez Bernal, Steven Cummins, Antonio Gasparrini; Interrupted time series regression for the evaluation of public
health interventions: a tutorial, International Journal of Epidemiology, Volume 46, Issue 1, 1 February 2017, Pages 348–355
20. アウトカム
• アウトカムは割合(率)なのかカウン
ト(回数)なのか明確にする
• モデリングに影響する(後述)
• 天井効果・床効果に注意する
• 例えば測定するアウトカムの上限が
決まっている場合(たばこの本数をみ
るときに2pack per dayが調査の上限
の場合など)は、その制約でトレンド
が狭まってしまうかもしれない https://stats.stackexchange.com/questions/
96715/what-criteria-must-be-met-in-order-
to-conclude-a-ceiling-effect-is-occurring
Jandoc, Racquel, et al. "Interrupted time series analysis in drug utilization research is increasing: systematic review and
recommendations." Journal of clinical epidemiology 68.8 (2015): 950-956.
21. モデリング・推定方法
• カウントデータ(回数)なので、基本的にはポアソン回帰モデル
• アウトカムが割合or率の場合にもポアソン回帰とオフセット項
で対応できる
• 以降のRスクリプトはBernal(2017)のsupplementより
• 例:
• model1 <- glm(aces ~ offset(log(stdpop)) + smokban + time,
family=poisson, data)
James Lopez Bernal, Steven Cummins, Antonio Gasparrini; Interrupted time series regression for the evaluation of public
health interventions: a tutorial, International Journal of Epidemiology, Volume 46, Issue 1, 1 February 2017, Pages 348–355
24. 時系列データを回帰分析で行うときの問題
• 方法論的には以下のような問題が発生する
1. 過分散 (over-dispersion)
2. 周期性 (seasonality)
3. 時間依存性変数(time dependent variables)
4. 自己相関 (autocorrelation)
James Lopez Bernal, Steven Cummins, Antonio Gasparrini; Interrupted time series regression for the evaluation of public
health interventions: a tutorial, International Journal of Epidemiology, Volume 46, Issue 1, 1 February 2017, Pages 348–355
29. 周期性の問題:解決策③スプライン
• スプラインとは?
• いくつかの制御点で通過点が制御される
滑らかな曲線
• Cubic spline: 3次までの多項式を使って補
間する。統計学でよく使う
• Pros: 周期性パターンをかなり滑らかに
反映できる
• Cons: ノットをどれくらいにすべきか明
確なコンセンサスがない
Bhaskaran, Krishnan, et al. "Time series regression studies in environmental epidemiology." International journal of
epidemiology 42.4 (2013): 1187-1195.
30. 周期性の問題: まとめ
• どの解決策がいいの?
• 明確な決まりはない様子。
Bhaskaran, Krishnan, et al. "Time series regression studies in environmental epidemiology." International journal of
epidemiology 42.4 (2013): 1187-1195.
33. 自己相関の問題: Pros and Cons
• 疫学研究においては、周期性さえ顧慮されていれば自己相
関はあまり問題にならないとする論文もあるし、考慮すべき
という論文もある。(下記1, 2)
• コンセンサス:
• 同じ集団を追跡するなら、必ず考慮する
• 周期性を調整したあとのモデルで、自己相関の有無はチェックして
おく
2. James Lopez Bernal, Steven Cummins, Antonio Gasparrini; Interrupted time series regression for the evaluation of public
health interventions: a tutorial, International Journal of Epidemiology, Volume 46, Issue 1, 1 February 2017, Pages 348–355
1. Jandoc, Racquel, et al. "Interrupted time series analysis in drug utilization research is increasing: systematic review and
recommendations." Journal of clinical epidemiology 68.8 (2015): 950-956.
36. 参考文献
• Bernal, J. L., Cummins, S., & Gasparrini, A. (2017). Interrupted time
series regression for the evaluation of public health interventions: a
tutorial. International journal of epidemiology, 46(1), 348-355.
• Bhaskaran, Krishnan, et al. "Time series regression studies in
environmental epidemiology." International journal of epidemiology
42.4 (2013): 1187-1195.
• Jandoc, Racquel, et al. "Interrupted time series analysis in drug
utilization research is increasing: systematic review and
recommendations." Journal of clinical epidemiology 68.8 (2015): 950-
956.
37. 参考文献
• Kontopantelis, Evangelos, et al. "Regression based quasi-experimental
approach when randomisation is not an option: interrupted time series
analysis." bmj 350 (2015): h2750.
• Katayama, Yusuke, et al. "Improvements in Patient Acceptance by
Hospitals Following the Introduction of a Smartphone App for the
Emergency Medical Service System: A Population-Based Before-and-
After Observational Study in Osaka City, Japan." JMIR mHealth and
uHealth 5.9 (2017).
• Penfold, Robert B., and Fang Zhang. "Use of interrupted time series
analysis in evaluating health care quality improvements." Academic
pediatrics 13.6 (2013): S38-S44.