Fitting Frailty Models with the EM Algorithm
Plots for emfrail objects using ggplot2
Generic autoplot function
Commenges-Andersen test for heterogeneity
dist_to_pars
Fitting semi-parametric shared frailty models with the EM algorithm
Control parameters for emfrail
Distribution parameters for emfrail
Profile log-likelihood calculation
Perform the E step calculations
Fast fitting of the E step
frailtyEM: Fitting Frailty Models with the EM Algorithm
Laplace transform calculation
Log-likelihood for emfrail
fitted models
Plots for emfrail objects
Predicted hazard and survival curves from an emfrail
object
Residuals for frailty models
Summary for emfrail
objects
Contains functions for fitting shared frailty models with a semi-parametric baseline hazard with the Expectation-Maximization algorithm. Supported data formats include clustered failures with left truncation and recurrent events in gap-time or Andersen-Gill format. Several frailty distributions, such as the the gamma, positive stable and the Power Variance Family are supported.