I am trying to calculate the 95%-CI intervals from relsurv::cmp.rel()
.
I am always getting the mean and the variance, even though I set a 95%-CI in the statement before.
x <- cmp.rel(Surv(fu_365, exitus_1_jahr_0_1)~alter_jahre_groups,
rmap=list(age=alter_jahre*365.241, sex=sex,year=jahr_1),
ratetable=ratetab,data=data_all, conf.int=0.95,precision=1,add.times = c(30,180,365))
summary(x, times = c(30/365,180/365,365/365))
print(x)
I tried this code and was expecting something giving me a lower and an upper value that I could easily bring into my publication. I am not sure how to do this with predict()
etc. I am getting only the variance and the mean.
print(x)
Estimates, variances and area under the curves:
$est