formula: survival model formula like Surv(time,status)~x1+x2
fterm: frailty term like c('gamma','center'). Currently we have the option for gamma distribution.
Time: survival time column
status: survival status column
id: id column
data: dataset
bhdist: distribution of survival time at baseline. Available option 'weibull','exponential','gompertz',
method: options are 'LFGS','L-BFGS-G','CG' etc. for more details see optim
maxit: maximum number of iteration
Returns
Estimates obtained from coxph model with the frailty terms.
Details
The hazard model is as follows:
hi(t)=zih0(t)exp(xiβ);i=1,2,3,...,n
where baseline survival distribution could be Weibull distribution and the hazard function is:
h0(t)=ρλtρ−1
. Similarly we can have Expoenetial, log logistic distribution. The following are the formula for hazard and cummulative hazard function For exponential: h0(t)=λ and H0(t)=λt;λ>0
Gompertz: h0(t)=λexp(γt) and H0(t)=γλ(exp(γt)−1);λ,γ>0
The frailty term zi follows Gamma distribution with parameter θ. The parameter estimates are obtained by maximising the log likelihood
i=1∏nli(β,θ,λ,ρ)
The method argument allows the user to select suitable optimisation method available in optim function.
Vishwakarma, G. K., Bhattacherjee, A., Rajbongshi, B. K., & Tripathy, A. (2024). Censored imputation of time to event outcome through survival proximity score method. Journal of Computational and Applied Mathematics, 116103;
Bhattacharjee, A., Vishwakarma, G. K., Tripathy, A., & Rajbongshi, B. K. (2024). Competing risk multistate censored data modeling by propensity score matching method. Scientific Reports, 14(1), 4368.
See Also
dscore ,simfdata
Author(s)
Atanu Bhattacharjee, Bhrigu Kumar Rajbongshi and Gajendra K. Vishwakarma