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 via a regression model.
1 |
y |
The follow-up time. |
delta |
The censoring indicator, 1=event, and 0=censoring. |
x |
The covariate matrix. The first colomn of this matrix should be the group indicator, arm (below). |
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 3 |
coef se(coef) z p lower 0.95
intercept 2.6905643719 1.4733790060 1.82611830 0.0678324436 -0.197205415
0.0084165949 0.2602358592 0.03234218 0.9741991724 -0.501636317
edema -1.7797656406 0.9925664762 -1.79309465 0.0729577906 -3.725160186
bili -0.1630732547 0.0420232855 -3.88054511 0.0001042226 -0.245437381
chol -0.0006939487 0.0005268023 -1.31728490 0.1877431437 -0.001726462
albumin 1.4338384926 0.3916587331 3.66093839 0.0002512932 0.666201481
copper -0.0067731962 0.0017895288 -3.78490485 0.0001537674 -0.010280608
upper 0.95
intercept 5.5783341593
0.5184695063
edema 0.1656289050
bili -0.0807091287
chol 0.0003385648
albumin 2.2014755037
copper -0.0032657842
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.