Package: simITS 0.1.1
simITS: Analysis via Simulation of Interrupted Time Series (ITS) Data
Uses simulation to create prediction intervals for post-policy outcomes in interrupted time series (ITS) designs, following Miratrix (2020) <arxiv:2002.05746>. This package provides methods for fitting ITS models with lagged outcomes and variables to account for temporal dependencies. It then conducts inference via simulation, simulating a set of plausible counterfactual post-policy series to compare to the observed post-policy series. This package also provides methods to visualize such data, and also to incorporate seasonality models and smoothing and aggregation/summarization. This work partially funded by Arnold Ventures in collaboration with MDRC.
Authors:
simITS_0.1.1.tar.gz
simITS_0.1.1.zip(r-4.7)simITS_0.1.1.zip(r-4.6)simITS_0.1.1.zip(r-4.5)
simITS_0.1.1.tgz(r-4.6-any)simITS_0.1.1.tgz(r-4.5-any)
simITS_0.1.1.tar.gz(r-4.7-any)simITS_0.1.1.tar.gz(r-4.6-any)
simITS_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
simITS/json (API)
| # Install 'simITS' in R: |
| install.packages('simITS', repos = c('https://lmiratrix.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/lmiratrix/simits/issues
- meck_subgroup - Mecklenberg data by subgroup of charge type
- mecklenberg - Mecklenberg PSA Reform Data
- newjersey - New Jersey PSA Reform aggregate data
Last updated from:6a4c3cb91f. Checks:7 ERROR, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | ERROR | 144 | ||
| source / vignettes | OK | 198 | ||
| linux-release-x86_64 | ERROR | 122 | ||
| macos-release-arm64 | ERROR | 154 | ||
| macos-oldrel-arm64 | ERROR | 142 | ||
| windows-devel | ERROR | 89 | ||
| windows-release | ERROR | 89 | ||
| windows-oldrel | ERROR | 89 | ||
| wasm-release | OK | 109 |
Exports:add_lagged_covariatesadjust_dataaggregate_dataaggregate_simulation_resultscalculate_average_outcomecalculate_group_weightsextrapolate_modelfit_model_defaultgenerate_fake_datagenerate_fake_grouped_datamake_envelope_graphmake_fit_season_modelmake_many_predictionsmake_many_predictions_plugmake_model_smootherprocess_outcome_modelsmooth_residualssmooth_series
Dependencies:clidplyrgenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr
