search for: pfit2

Displaying 2 results from an estimated 2 matches for "pfit2".

Did you mean: fit2
2010 Sep 13
0
using survexp and ratetable with coxph object that includes a factor term
...pfit1 <- coxph(Surv(time, status > 0) ~ trt + log(bili) + log(protime) + age + platelet, data=pbc) #this works as expected survexp(~ trt, ratetable = pfit1, data = pbc) #now I fit a similar model, simply adding the 'sex' term #note sex is now the only factor in the model pfit2 <- coxph(Surv(time, status > 0) ~ trt + log(bili) + log(protime) + age + platelet + sex, data = pbc) #however, I now get an error with survexp survexp(~ trt, ratetable = pfit2, data = pbc) Error in ratetable(trt = trt, bili = bili, protime = protime, age = age, : object 'sexf&...
2011 May 12
3
Survival Rate Estimates
Dear List, Is there an automated way to use the survival package to generate survival rate estimates and their standard errors? To be clear, *not *the survivorship estimates (which are cumulative), but the survival *rate * estimates... Thank you in advance for any help. Best, Brian [[alternative HTML version deleted]]