Hi
How do you decide how many lags to include in a interrupted time series analysis (ITSA) with multiple groups?
Following Linden (2015) there is a statistically significant lag at 1 but no higher, thus, using 1 lag is supported. However, in my analysis, there is a statistically significant lag at 7 (below). How can I handle this? Is it as easy as re-specifying my model with -lag(7)-?
With output for -actest-:
Thus, I specify the following model:
Reference:
Linden (2015) Conducting interrupted time-series analysis for single- and multiple-group comparisons. The Stata Journal. http://www.lindenconsulting.org/docu...SA_Article.pdf
How do you decide how many lags to include in a interrupted time series analysis (ITSA) with multiple groups?
Following Linden (2015) there is a statistically significant lag at 1 but no higher, thus, using 1 lag is supported. However, in my analysis, there is a statistically significant lag at 7 (below). How can I handle this? Is it as easy as re-specifying my model with -lag(7)-?
Code:
itsa s_rate_treated, treatid(1) trperiod(677) lag(1) replace fig posttrend actest, lag(12)
Code:
Cumby-Huizinga test for autocorrelation H0: variable is MA process up to order q HA: serial correlation present at specified lags >q ----------------------------------------------------------------------------- H0: q=0 (serially uncorrelated) | H0: q=specified lag-1 HA: s.c. present at range specified | HA: s.c. present at lag specified -----------------------------------------+----------------------------------- lags | chi2 df p-val | lag | chi2 df p-val -----------+-----------------------------+-----+----------------------------- 1 - 1 | 4.271 1 0.0388 | 1 | 4.271 1 0.0388 1 - 2 | 4.271 2 0.1182 | 2 | 0.112 1 0.7379 1 - 3 | 7.608 3 0.0549 | 3 | 3.032 1 0.0816 1 - 4 | 7.735 4 0.1018 | 4 | 0.761 1 0.3831 1 - 5 | 8.317 5 0.1396 | 5 | 0.898 1 0.3432 1 - 6 | 12.216 6 0.0573 | 6 | 3.446 1 0.0634 1 - 7 | 15.377 7 0.0315 | 7 | 4.041 1 0.0444 1 - 8 | 17.503 8 0.0253 | 8 | 2.524 1 0.1121 1 - 9 | 17.812 9 0.0374 | 9 | 0.094 1 0.7595 1 - 10 | 18.466 10 0.0476 | 10 | 1.847 1 0.1741 1 - 11 | 19.343 11 0.0552 | 11 | 0.055 1 0.8154 1 - 12 | 19.881 12 0.0694 | 12 | 1.769 1 0.1835 ----------------------------------------------------------------------------- Test allows predetermined regressors/instruments Test requires conditional homoskedasticity
Code:
itsa s_rate_treated, treatid(1) trperiod(677) lag(7) fig posttrend
Linden (2015) Conducting interrupted time-series analysis for single- and multiple-group comparisons. The Stata Journal. http://www.lindenconsulting.org/docu...SA_Article.pdf
Comment