> The help says that the exact method is computationally demanding, but even > after days the computing it won't finish. Also, if I include a frailty-term, > the exact method gives me results in no time. Is my setup incorrect?
Assume that at some particular time point there are k deaths and n subjects at risk. The exact partial likelihood calculation for that time point involves an average of k choose n terms. This gets very big very fast. For instance 20 events on day x among 100 subjects involves 100!/(20! 80!) > 5e20 terms. I stopped ever using the exact likelihood when I realized - a particular coxph model was taking a long time, so I did a "back of the envelope" approximation and realized that the expected compute time was several years - for all the cases that were small enough to finish, the Efron approximation was very close. When there are penalized terms such as pspline() or frailty() the code only chooses between the Breslow and Efron approximations. The code should have issued an error message when you specified the exact method -- this is an oversight that I will fix. Since the relevant line of code in coxpenal.fit is if (method=='efron') your frailty fit was done using the Breslow approximation. Terry Therneau ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.