Modeladvanced
Frailty model
Also called shared frailty model, random effects survival model.
A survival model with an unobserved random factor that multiplies the hazard, shared within a cluster, to model heterogeneity and dependence between event times.
A frailty model adds to a hazard model an unobserved positive factor , the frailty, that multiplies the hazard. In the shared frailty model, the subjects of one cluster (the members of a family, the two eyes of a patient, the repeated infections of one child, the patients of one hospital) share the same value :
Given the event times in the cluster are independent, but is not observed, so they are dependent in the data: a family with a high frailty has early events for all its members. With one subject per cluster, the frailty models unmeasured differences between subjects. The model explains two facts that a plain Cox model cannot: events in a cluster are correlated, and population hazard ratios drift toward over time even when every subject's hazard ratio is constant. This page proves both for the gamma frailty.
The machine
The data. Clusters with subjects each. For subject of cluster we observe , and , as on the censoring page.
The conditions.
- Conditional proportional hazards. Given , subject has the hazard .
- Conditional independence. Given and the covariates, the event times in cluster are independent, and censoring is independent of the event times.
- The frailty law. are independent and identically distributed, independent of the covariates, with so that is identified. The variance measures the heterogeneity. The case is the Cox model.
- Independent clusters.
Marginal survival. Let , with . Given , the survival function is , so the marginal survival function is the Laplace transform of the frailty, read at :
The second form holds because, given , the joint survival function is the product .
The gamma frailty. The common choice is with shape and rate , so and . Its Laplace transform is . Proof. With , . Other laws in use are the positive stable law, with , (it has no mean, so is replaced by this scaling), and the lognormal law, which has no closed Laplace transform.
What it counts
-
The coefficients are conditional log hazard ratios: they compare two subjects with the same frailty, such as two members of one family. They are not the hazard ratios of the population, which the next section shows to be smaller and not constant.
-
The variance measures both the heterogeneity between clusters and the dependence within a cluster. For the shared gamma frailty, the dependence between two event times in a cluster has Kendall's tau .
-
The frailty of a cluster can be predicted from its data. For the gamma law, the conditional mean given the follow-up of cluster is
where is the number of events in cluster . Proof. The likelihood of the cluster given is proportional to . Times the gamma density , it is a gamma kernel with shape and rate , whose mean is the ratio. A cluster with more events than its cumulative hazard predicts gets a frailty above .
Relation to other models
-
The Cox model is the case . A Cox model that leaves out the frailty assumes proportional marginal hazards, which the gamma model does not have, so its estimate is a time-averaged population effect closer to than . Its usual standard errors also ignore the dependence in a cluster. Cluster-robust standard errors fix the standard errors, not the change in meaning of the coefficient.
-
Mixed models. The frailty plays the role of the cluster term of a linear mixed model, on the log hazard scale: is added to . A lognormal frailty is a Gaussian term on that scale.
-
Copulas. The joint survival function of a shared frailty model is an Archimedean copula of the marginal survival functions. For the gamma law, , so
the Clayton copula. Clayton (1978) derived it from the condition that the cross-ratio, the hazard of at given over that given , equals the constant .
-
Accelerated failure time. With and a Weibull baseline , the marginal law is a log-logistic AFT model. Without clusters, the data cannot tell this frailty model from that AFT model.
-
Competing risks. Correlated frailties for two causes give dependent latent times, one of the models in which the latent failure times of competing risks are dependent.
Known results in the model
The marginal hazard of the gamma frailty model. One subject, gamma frailty with variance . Then
Proof. The first is with the gamma transform. Then .
The same hazard is , with by the posterior formula above with . The survivors at time are less frail on average, because the frail have already had the event. Vaupel, Manton and Stallard (1979) used this to explain why population mortality curves rise more slowly than individual ones.
The marginal hazards are not proportional. Compare and for one binary covariate, with and . The ratio of the marginal hazards is
Proof that it is not constant. As a function of , the derivative of is , which is not . So the ratio is strictly monotone in . It equals at and tends to as . Since increases, the population hazard ratio moves from toward over time.
With and , exactly:
| 0 | 0.5 | 1 | 3 | 9 | ||
|---|---|---|---|---|---|---|
| marginal hazard ratio | 2 | 3/2 | 4/3 | 8/7 | 20/19 | 1 |
So a Cox model fitted to data from this frailty model sees a hazard ratio that is close to early and fades, and its Schoenfeld residuals show a downward trend. A treatment that halves every subject's hazard can look like a treatment whose effect wears off.
The positive stable frailty keeps proportional hazards. With , , a proportional hazards model with baseline and coefficient . The marginal hazard ratio is constant, but it is , closer to than the conditional (Hougaard 2000).
Kendall's tau of the shared gamma frailty. For the Clayton copula, . Computation. The copula is Archimedean with generator , and for such copulas , a known formula that we cite. Here , whose integral over is . So . A variance gives .
The marginal likelihood of the gamma model. Integrating out gives, for cluster ,
Proof. Given the likelihood is , and with . With a parametric , such as Weibull, maximize directly.
Estimation with an unspecified baseline. The EM algorithm treats the as missing data. The E-step computes by the formula above (and for ). The M-step fits a Cox model with the offsets and updates the baseline by the Breslow estimator with the risk sums weighted by . Each EM step does not decrease the marginal likelihood, a general property of EM. For one maximizes the profile likelihood over a grid or by a one-dimensional search. Therneau and Grambsch (2000) show that the same fit comes from a penalized partial likelihood. The asymptotic theory for the semiparametric estimate is harder than for the Cox model and is cited in Andersen et al. (1993), not proved here.
Identifiability without clusters. With one subject per cluster, the frailty law and are identified only through the assumed shape of the model. A gamma frailty with a Weibull baseline and a log-logistic AFT model give the same data distribution, as noted above, so conclusions about from univariate data rest on the parametric assumptions. Clusters with several subjects identify from the dependence within clusters.
Checks. There is no reference code for this page. The Laplace transform, the marginal survival and hazard, the non-constant hazard ratio, the posterior mean, the marginal likelihood and the Clayton form are proved above. The formula for Kendall's tau of Archimedean copulas and the asymptotics of the EM estimate are cited.
References
- James W. Vaupel, Kenneth G. Manton and Eric Stallard, The impact of heterogeneity in individual frailty on the dynamics of mortality, Demography 16(3), 1979, pp. 439 to 454 (the term frailty, the gamma-distributed factor, and the gap between individual and population hazards)
- David G. Clayton, A model for association in bivariate life tables and its application in epidemiological studies of familial tendency in chronic disease incidence, Biometrika 65(1), 1978, pp. 141 to 151 (the bivariate model with a constant cross-ratio, which is the shared gamma frailty model)
- Philip Hougaard, Analysis of Multivariate Survival Data, Springer, 2000, Chapters 7 to 10 (univariate and shared frailty models, the gamma and positive stable laws, and estimation)
- Per Kragh Andersen, Ørnulf Borgan, Richard D. Gill and Niels Keiding, Statistical Models Based on Counting Processes, Springer, 1993, Chapter IX (frailty models and the EM algorithm for the gamma frailty model)
- Terry M. Therneau and Patricia M. Grambsch, Modeling Survival Data, Extending the Cox Model, Springer, 2000, Chapter 9 (frailty models fitted by penalized partial likelihood, with gamma and Gaussian frailties)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag Z68QXE Edit this page History Report an error Markdown