Package: citsr 0.1.3
citsr: Controlled Interrupted Time Series Analysis and Visualization
Implements controlled interrupted time series (CITS) analysis for evaluating interventions in comparative time-series data. The package provides tools for preparing panel time-series datasets, fitting models using generalized least squares (GLS) with optional autoregressive–moving-average (ARMA) error structures, and computing fitted values and robust standard errors using cluster-robust variance estimators (CR2). Visualization functions enable clear presentation of estimated effects and counterfactual trajectories following interventions. Background on methods for causal inference in interrupted time series can be found in Linden and Adams (2011) <doi:10.1111/j.1365-2753.2010.01504.x> and Lopez Bernal, Cummins, and Gasparrini (2018) <doi:10.1093/ije/dyy135>.
Authors:
citsr_0.1.3.tar.gz
citsr_0.1.3.zip(r-4.7)citsr_0.1.3.zip(r-4.6)citsr_0.1.3.zip(r-4.5)
citsr_0.1.3.tgz(r-4.6-any)citsr_0.1.3.tgz(r-4.5-any)
citsr_0.1.3.tar.gz(r-4.7-any)citsr_0.1.3.tar.gz(r-4.6-any)
citsr_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
citsr/json (API)
| # Install 'citsr' in R: |
| install.packages('citsr', repos = c('https://hmgu-urban.r-universe.dev', 'https://cloud.r-project.org')) |
- df_cits_example - Example CITS Dataset
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:22f12e59cd. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 150 | ||
| source / vignettes | OK | 213 | ||
| linux-release-x86_64 | OK | 140 | ||
| macos-release-arm64 | OK | 134 | ||
| macos-oldrel-arm64 | OK | 134 | ||
| windows-devel | OK | 115 | ||
| windows-release | OK | 93 | ||
| windows-oldrel | OK | 123 | ||
| wasm-release | OK | 114 |
Exports:citsplot_cits_resultplot_cits_result_cf
Dependencies:AICcmodavgcliclubSandwichcpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixnlmepillarpkgconfigR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7sandwichscalessurvivaltibbletidyselectTMBunmarkedutf8vctrsVGAMviridisLitewithrxtablezoo
Last update: 2025-12-22
Started: 2025-12-22
Last update: 2025-12-22
Started: 2025-12-22
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Controlled Interrupted Time Series (CITS) Estimation | cits |
| Example CITS Dataset | df_cits_example |
| CITS Automatic Analysis and Visualization | plot_cits_result |
| CITS Automatic Analysis and Counterfactual Visualization | plot_cits_result_cf |
