Package: multipleITScontrol 0.1.0

Victor Yu

multipleITScontrol: Interrupted Time Series with a Control and Multiple Interventions

Provides tools to perform interrupted-time series through a generalised least squares (GLS) framework on linear outcomes. Allows for multiple interventions and a control with ARMA (autoregressive and moving-average) correction. For more details see Lopez Bernal, Cummins, and Gasparrini (2017) <doi:10.1093/ije/dyw098>.

Authors:Victor Yu [cre, aut], Emily Dickson [ctb]

multipleITScontrol_0.1.0.tar.gz
multipleITScontrol_0.1.0.zip(r-4.7)multipleITScontrol_0.1.0.zip(r-4.6)multipleITScontrol_0.1.0.zip(r-4.5)
multipleITScontrol_0.1.0.tgz(r-4.6-any)multipleITScontrol_0.1.0.tgz(r-4.5-any)
multipleITScontrol_0.1.0.tar.gz(r-4.7-any)multipleITScontrol_0.1.0.tar.gz(r-4.6-any)
multipleITScontrol_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
multipleITScontrol/json (API)

# Install 'multipleITScontrol' in R:
install.packages('multipleITScontrol', repos = c('https://herts-phei.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/herts-phei/multipleitscontrol/issues

Pkgdown/docs site:https://herts-phei.github.io

Datasets:

On CRAN:

Conda:

5.13 score 1 scripts 483 downloads 6 exports 44 dependencies

Last updated from:6764a9c47d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK199
source / vignettesOK298
linux-release-x86_64OK209
macos-release-arm64OK208
macos-oldrel-arm64OK202
windows-develOK129
windows-releaseOK131
windows-oldrelOK112
wasm-releaseOK173

Exports:fit_its_modelgenerate_predictionsits_plotslope_differencesummary_itstransform_data

Dependencies:AICcmodavgclicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixnlmepillarpkgconfigpurrrR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7scalesstringistringrsurvivaltibbletidyselectTMBunmarkedutf8vctrsVGAMviridisLitewithrxtable

Multiple ITS control introduction for slope change 2nd example (two-stage)
Usage | Controlled Interrupted Time Series Design (2 stage) | Step 1) Loading data | Step 2) Transforming the data | Step 3) Fitting ITS model | Step 4) Analysing ITS model | Pre-intervention period: | First intervention: | Second intervention: | Step 5) Fitting Predictions | Step 6) Plotting the results

Last update: 2026-03-24
Started: 2026-03-19

Multiple ITS control introduction for slope change (two-stage)
Usage | Controlled Interrupted Time Series Design (2 stage) | Step 1) Loading data | Step 2) Transforming the data | Step 3) Fitting ITS model | Step 4) Analysing ITS model | Pre-intervention period: | First intervention: | Second intervention: | Step 5) Fitting Predictions | Step 6) Plotting the results

Last update: 2026-03-24
Started: 2026-03-07

Multiple ITS control introduction for level change (two-stage)
Usage | Intervention 1: Smart‑Lock Upgrade (Fleet‑wide) | Intervention 2: Predictive Maintenance Algorithm | Controlled Interrupted Time Series Design (2 stage) | Step 1) Loading data | Step 2) Transforming the data | Step 3) Fitting ITS model | Step 4) Analysing ITS model | First intervention: | Second intervention: | Step 5) Fitting Predictions | Step 6) Plotting the results

Last update: 2026-03-20
Started: 2026-03-07