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.5)simITS_0.1.1.zip(r-4.4)simITS_0.1.1.zip(r-4.3)
simITS_0.1.1.tgz(r-4.4-any)simITS_0.1.1.tgz(r-4.3-any)
simITS_0.1.1.tar.gz(r-4.5-noble)simITS_0.1.1.tar.gz(r-4.4-noble)
simITS_0.1.1.tgz(r-4.4-emscripten)simITS_0.1.1.tgz(r-4.3-emscripten)
simITS.pdf |simITS.html✨
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 1 years agofrom:6a4c3cb91f. Checks:OK: 1 ERROR: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 26 2024 |
R-4.5-win | ERROR | Oct 26 2024 |
R-4.5-linux | ERROR | Oct 26 2024 |
R-4.4-win | ERROR | Oct 26 2024 |
R-4.4-mac | ERROR | Oct 26 2024 |
R-4.3-win | ERROR | Oct 26 2024 |
R-4.3-mac | ERROR | Oct 26 2024 |
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:clidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr