CompareCICs | R Documentation |
Inference for the difference and ratio in summary statistics comparing two CICs.
CompareCICs(
time,
status,
arm,
strata = NULL,
sum_stat = "AUC",
param = NULL,
reps = 2000,
alpha = 0.05
)
time |
Observation time. |
status |
Event status. The event coded as 1 is assumed to be the event of interest. |
arm |
Arm, assumed to have two levels, coded 0/1. |
strata |
Optional stratification factor. |
sum_stat |
Summary statistic, from among 'AOC', 'AUC', 'Quantile', 'Rate'. |
param |
Truncation time, if ‘sum_stat' is ’AOC', 'AUC', or 'Rate'; quantile probability, if ‘sum_stat' is ’Quantile'. |
reps |
Bootstrap replicates. |
alpha |
Alpha level. |
Object of class compCICs
containing:
'@cis': Observed difference and ratio in areas with confidence intervals.
'@cics': Cumulative incidence curves.
'@pvals': Bootstrap and permutation p-values.
'@reps': Bootstrap and permutation realizations of the test statistics.
'@marg_stats': Marginal test statistics.
'@stratum_stats': Stratum test statistics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.