I would like an estimation of the cumulative hazard in a function that includes random (and fixed) effects. The estimation should be semi-parametric (estimation with splines, piecwise constant exponential, etc)
I tried the R package frailtypack
but the additivePenal
function does not work good (it does not converge with a strata term).
Does anyone have a suggestion of a R function to get estimates of the survival function (with a strata term) and random effects ?
Thanks a lot !