SingleArmStratAUC: Single-Arm Area Under the Cumulative Count Curve

View source: R/Stratified.R

SingleArmStratAUCR Documentation

Single-Arm Area Under the Cumulative Count Curve

Description

Confidence intervals and p-values for the difference and ratio of areas under the mean cumulative count curves, comparing treatment (arm = 1) with reference (arm = 0).

Usage

SingleArmStratAUC(data, tau, alpha = 0.05, boot = FALSE, reps = 2000)

Arguments

data

Formatted data.frame. FormatData.

tau

Truncation time.

alpha

Alpha level.

boot

Logical, construct bootstrap confidence intervals?

reps

Replicates for bootstrap/permutation inference.

Value

Object of class compAUCs with these slots:

  • '@Areas': The AUC for each arm.

  • '@CIs': Observed difference and ratio in areas with confidence intervals.

  • '@Curves': Mean cumulative count curve for each arm; averaged across strata if present.

  • '@Pvals': Bootstrap and permutation p-values.

  • '@Reps': Bootstrap and permutation realizations of the test statistics.

  • '@Weights': Per-stratum weights and AUCs.


zrmacc/MCC documentation built on July 16, 2025, 4:04 p.m.