mlefrailty.fit(x,tvals, lambda=NULL, alpha=NULL, alpha.min, alpha.max,
tol=1e-07, maxiter=500,alpha.console=TRUE)
A common and convenient choice of frailty distribution is a gamma distribution with shape and scale parameters set equal to an unknown parameter $\alpha$. The common marginal survival function can be written as following
$$\bar {F}(t) = {\left[ {{\frac{{\alpha }}{{\alpha + \Lambda _{0} \left( {t} \right)}}}} \right]}^{\alpha}$$
The parameter $\alpha$ controls the degree of association between interoccurrence
times within a unit. Pe
In order to obtain a good convergence, $\alpha$ is estimated previously. This estimation is used as a initial value in the EM procedure and it's carried out by the maximisation of the profile likelihood for $\alpha$. In this case the arguments of mlefrailty.fit function called alpha.min and alpha.max are the boundaries of this maximisation. The maximum is obtained using the golden section search method.
survfitr
Survr
data(MMC)
fit<-mlefrailty.fit(Survr(MMC$id,MMC$time,MMC$event))
fit
plot(fit)
# compare with pena-straderman-hollander
fit<-psh.fit(Survr(MMC$id,MMC$time,MMC$event))
fit
lines(fit,lty=2)
# and with wang-chang
fit<-wc.fit(Survr(MMC$id,MMC$time,MMC$event))
fit
lines(fit,lty=3)
Run the code above in your browser using DataLab