Is there any existing function in R or package that calculates gradient of partial log-likelihood function in Cox proportional hazards model?
I've tried myslef on this question (How to compute gradient of partial log-likelihood function in Cox proportional hazards model?) but it's probably too long to read so this is a summary of that question
survival::coxphand then there is C implementation for that I don't understand. examplecoxph(Surv(t, c) ~ x, init = c(0), control=list('iter.max'=0))$loglik[2]– Marcin Dec 21 '15 at 16:03