Description Usage Arguments Author(s) References Examples
View source: R/surv2sample-ver003.R
Compares restricted mean survival time between two groups, adjusting for imbalance of baseline factors.
1 |
y |
The follow-up time. |
delta |
The censoring indicator, 1=event, and 0=censoring. |
x |
The covariate matrix. The group indicator, arm (below) should not be included in this matrix. |
arm |
The group indicator, 1/0. |
tau |
The value indicates the restricted time point on the follow-up time to calculate the restricted mean survival time. |
type |
The type of the between-group contrast measure: "difference"(default), "ratio" or "lossratio". |
conf.int |
The level for computation of the confidence intervals. The default is 0.95. |
Lu Tian
Tian L, Zhao L, Wei LJ. Predicting the restricted mean event time with the subject's baseline covariates in survival analysis. Biostatistics 2014, 15, 222-233.
1 2 |
$result.ini
coef se(coef) z p lower 0.95 upper 0.95
intercept 6.1111255 0.2215825 27.5794600 0.0000000 5.6768318 6.5454192
arm 0.1894029 0.3157595 0.5998326 0.5486178 -0.4294744 0.8082802
$result.aug
coef se(coef) z p lower 0.95 upper 0.95
intercept 6.1981204 0.1933750 32.0523381 0.0000000 5.8191124 6.5771284
arm 0.1857071 0.2392827 0.7760991 0.4376905 -0.2832783 0.6546925
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.