The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

AHTauDesign: Truncation Time Selection for Average Hazard Analyses

Implements a two-stage, design-informed framework for selecting the truncation time in time-to-event trials analyzed with the average hazard estimand, motivated by pediatric oncology settings with small samples, slow accrual, and limited follow-up. Stage 1 validates a clinically proposed truncation time against the planned design using simulation-based diagnostics for risk-set support, follow-up coverage, estimability, and estimator stability, classifying it as Pass, Borderline, or Fail. Stage 2 performs constrained optimization over a grid of candidate truncation times within a clinical-distance window, maximizing a utility subject to feasibility constraints, with an independent evaluation run to assess the selected time. Supports proportional-hazards, early-, and delayed-effect patterns, uniform accrual with administrative censoring, and calibrated exponential random censoring.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: survival, stats, utils
Suggests: ggplot2, knitr, rmarkdown
Published: 2026-09-10
DOI: 10.32614/CRAN.package.AHTauDesign
Author: Xinyue Zhao [aut, cre], Haitao Pan [aut]
Maintainer: Xinyue Zhao <xinyuezhao27 at gwu.edu>
License: GPL-3
NeedsCompilation: no
CRAN checks: AHTauDesign results

Documentation:

Reference manual: AHTauDesign.html , AHTauDesign.pdf
Vignettes: Design-informed truncation time selection (source, R code)

Downloads:

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

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.