Package: PITS 0.1.0
PITS: Power of Interrupted Time Series (ITS) Studies
Provides tools for estimating the statistical power of Interrupted Time Series (ITS) designs, with a focus on healthcare applications. The package supports prospective power calculations before a study begins, and retrospective assessments of whether a completed study was adequately powered. It includes functions to estimate nuisance parameters (baseline, residual standard deviation, autocorrelation) from data observed before the intervention, and to estimate power via Monte Carlo simulation for single-site and multi-site designs. Utility functions for design optimisation sweeps and publication- ready plots are also provided.
Authors:
PITS_0.1.0.tar.gz
PITS_0.1.0.tar.gz(r-4.7-any)PITS_0.1.0.tar.gz(r-4.6-any)
PITS_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
PITS/json (API)
| # Install 'PITS' in R: |
| install.packages('PITS', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/drdaviddelorenzo/pits/issues
- example_cfr_data - Example pre-intervention case fatality rate data
Last updated from:d63cf1f779. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 141 | ||
| source / vignettes | OK | 199 | ||
| linux-release-x86_64 | OK | 155 | ||
| wasm-release | OK | 108 |
Exports:build_param_gridcalculate_powercalculate_power_multidiagnose_paramsestimate_and_calculateestimate_baselineestimate_its_paramsestimate_rhoestimate_sigmaestimate_trendexport_resultsfit_its_modelinterpret_powerplot_its_exampleplot_power_curveplot_power_heatmappower_sweeprun_its_powerrun_power_gridsimulate_its_datasimulate_predatavalidate_params
Last update: 2026-06-30
Started: 2026-06-30
Last update: 2026-06-30
Started: 2026-06-30
