Welcome to ClientVPS Mirrors

CRAN: Package PITS

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.

Version: 0.1.0
Depends: R (≥ 4.0.0)
Imports: nlme, stats, graphics, grDevices, utils
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-06-30
DOI: 10.32614/CRAN.package.PITS (may not be active yet)
Author: David de Lorenzo ORCID iD [aut, cre] (affiliation: UCL Great Ormond Street Institute of Child Health, London, UK; Neotree, London, UK (https://neotree.org/))
Maintainer: David de Lorenzo <drdaviddelorenzo at gmail.com>
BugReports: https://github.com/drdaviddelorenzo/PITS/issues
License: MIT + file LICENSE
URL: https://github.com/drdaviddelorenzo/PITS
NeedsCompilation: no
Language: en-GB
Citation: PITS citation info
Materials: README, NEWS
CRAN checks: PITS results

Documentation:

Reference manual: PITS.html , PITS.pdf
Vignettes: PITS: Power of an ITS — CDSS/CFR worked example (source, R code)
Estimating ITS parameters from pre-intervention data (source, R code)

Downloads:

Package source: PITS_0.1.0.tar.gz
Windows binaries: r-devel: PITS_0.1.0.zip, r-release: not available, r-oldrel: PITS_0.1.0.zip
macOS binaries: r-release (arm64): PITS_0.1.0.tgz, r-oldrel (arm64): PITS_0.1.0.tgz, r-release (x86_64): PITS_0.1.0.tgz, r-oldrel (x86_64): PITS_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=PITS to link to this page.

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.