hce: Design and Analysis of Hierarchical Composite Endpoints

Simulate and analyze hierarchical composite endpoints. Win odds, also called Wilcoxon-Mann-Whitney or success odds, is the main analysis method. Other win statistics (win probability, win ratio, net benefit) are also implemented in the univariate case, provided there is no censoring. The win probability analysis is based on the Brunner-Munzel test and uses the DeLong-DeLong-Clarke-Pearson variance estimator, as described by Brunner and Konietschke (2025) in “An unbiased rank-based estimator of the Mann–Whitney variance including the case of ties” (Statistical Papers 66 (1): 20, <doi:10.1007/s00362-024-01635-0>). Stratification and covariate adjustment are performed based on the methodology presented by Koch GG et al. in “Issues for covariance analysis of dichotomous and ordered categorical data from randomized clinical trials and non-parametric strategies for addressing them” (Statistics in Medicine 17 (15-16): 1863–92). For a review, see Gasparyan SB et al (2021) “Adjusted win ratio with stratification: Calculation methods and interpretation” (Statistical Methods in Medical Research 30 (2): 580–611, <doi:10.1177/0962280220942558>).

Version: 0.7.2
Depends: R (≥ 2.10)
Imports: base, stats
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2025-05-14
DOI: 10.32614/CRAN.package.hce
Author: Samvel B. Gasparyan ORCID iD [aut, cre]
Maintainer: Samvel B. Gasparyan <gasparyan.co at gmail.com>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: hce results

Documentation:

Reference manual: hce.pdf
Vignettes: Introduction (source, R code)
Wins (source, R code)
Hce (source, R code)
maraca (source, R code)

Downloads:

Package source: hce_0.7.2.tar.gz
Windows binaries: r-devel: hce_0.7.2.zip, r-release: hce_0.7.0.zip, r-oldrel: hce_0.7.0.zip
macOS binaries: r-release (arm64): hce_0.7.2.tgz, r-oldrel (arm64): hce_0.7.2.tgz, r-release (x86_64): hce_0.7.0.tgz, r-oldrel (x86_64): hce_0.7.0.tgz
Old sources: hce archive

Reverse dependencies:

Reverse depends: maraca

Linking:

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