Description Usage Arguments Details Value Examples
Estimate difference of restricted mean survival (based on ahr object as returned by ahr)
1 | rmeanDiff.ahr(ahr.obj)
|
ahr.obj |
object of class '"ahr"' |
This function is usefull if the function 'ahr' has already been called, since the survival estimates in the object returned by 'ahr' can be reused.
An object of class '"rmd"', i.e. a list containing:
L |
time limit, i.e. restricted mean up to time L is calculated |
rmean1 |
restricted mean in group 1 |
rmean2 |
restricted mean in group 2 |
rmean.diff |
estimated restricted mean difference |
var.rmean1 |
an estimate of the asymptotic variance of the restricted mean in group 1 |
var.rmean2 |
an estimate of the asymptotic variance of the restricted mean in group 2 |
var.rmean.diff |
an estimate of the asymptotic variance of the restricted mean difference |
Z.rmean |
the standardized test statistic for testing rmean.diff=0 |
p.value |
p-value corresponding to Z.rmean |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.