Shared Frailty Model for Clustered Survival Data

Statistics
Introduced by
Vaupel, J.W., Manton, K.G. & Stallard, E.
Year
1979
Type
Random effects survival model

What does it do?

The shared frailty model extends survival regression with a random effect, the 'frailty', that captures unobserved heterogeneity shared by subjects or clusters.

It is used when survival outcomes are observed within groups that share a common environment, such as patients in one hospital, members of one family, or littermates. The frailty term models the within-cluster dependence that an ordinary Cox regression, which treats subjects as independent, does not represent.

The intuition behind the method

Consider patients treated at two hospitals for the same cancer. Even after adjusting for age and stage, outcomes at one hospital may differ systematically because of unmeasured factors such as nursing quality or shared genetic background. This cluster-level influence is the frailty. The frailty model multiplies the hazard of every member of a cluster by a shared random term, so the common unmeasured risk is represented explicitly rather than left in the residual. Ignoring it leads to standard errors that are too small, because outcomes within a cluster are not independent.

History

Vaupel, Manton, and Stallard (1979) introduced individual frailty into demographic mortality analysis. Their abstract reports that life-table methods which ignore heterogeneity in individual longevity overestimate current life expectancy and underestimate rates of individual aging, and they illustrate this with Swedish mortality data. The shared, cluster-level frailty model used here is a later development. Hougaard's 2000 book, Analysis of Multivariate Survival Data, provides a book-length treatment of frailty models for clustered and multivariate survival data.

When to use it

Use the frailty model when time-to-event observations are naturally grouped, for example in multi-centre trials, family studies, litter experiments, or repeated events on the same individual, and when you suspect unmeasured cluster-level factors make outcomes within a cluster more alike. Do not use it when the data have no grouping structure or the clustering is negligible, since an ordinary Cox model is then sufficient. Frailty variance estimates are unreliable when there are few subjects, few clusters or few events per cluster, so check the precision of the estimate, for example through the profile likelihood or convergence diagnostics. The frailty distribution must be specified; the Gamma is the most common choice, with Log-Normal as an alternative. If the proportional hazards assumption fails at the conditional level, the frailty model may mislead, and a stratified Cox model or time-dependent coefficients should be considered.

Limitations and considerations

  • Estimates depend on the assumed frailty distribution. Compare Gamma and Log-Normal fits (for example by AIC or log-likelihood) and check how sensitive the hazard ratios are to the choice; a distribution that does not fit the true heterogeneity can distort inference.
  • θ is poorly determined when clusters contain few events.
  • Coefficients are conditional on the cluster frailty, so the hazard ratios are cluster-specific and differ from population-averaged (marginal) hazard ratios.
  • Computation is heavier than for Cox regression, and Log-Normal frailty requires numerical integration or the EM algorithm, as described above.
  • The model assumes that the frailty is independent of the measured covariates, that it acts multiplicatively on the hazard, that censoring is non-informative, and that proportional hazards holds at the conditional level within each cluster. If the frailty is correlated with covariates, coefficient estimates may be biased; informative censoring or a misspecified multiplicative structure compromises both the hazard ratios and the variance estimate.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Models the within-cluster dependence directly, so the correlation induced by shared unmeasured factors is represented rather than ignored.
  • The variance parameter θ is a direct summary of unobserved heterogeneity between clusters. Evidence that clustering matters is best assessed with a boundary-corrected likelihood ratio test, since θ = 0 lies on the boundary of the parameter space.
  • With Gamma frailty the cluster likelihood integrates in closed form, which keeps estimation tractable.
  • Because the conditional model extends Cox regression, its estimation and checking ideas are closely related to those of the Cox model. Residual-based diagnostics for frailty models should nonetheless be interpreted cautiously, as this is an area of ongoing methodological development.

Applications

  • Multi-centre clinical trials, where patients within the same site share unobserved prognostic factors.
  • Family studies of hereditary disease, where relatives share genetic frailty.
  • Litter experiments in animal research, where littermates share prenatal environment.
  • Recurrent event analysis, where the frailty represents a subject's individual propensity to experience repeated episodes.
  • Health economics and epidemiology, where patients grouped by general practice or hospital share unmeasured characteristics that the recorded covariates do not capture.

How it works

How it works

1

Each subject's hazard at time t is the product of a baseline hazard, the exponential of the linear predictor (as in Cox regression), and a cluster-specific frailty term Z. Subjects in the same cluster share the same Z, so their failure times are correlated conditional on Z. Between clusters, Z varies according to an assumed distribution.

Formula
\lambda(t \mid Z) = Z \cdot \lambda_0(t) \exp(\boldsymbol{x}^\top \boldsymbol{\beta})
2

The most common frailty distribution is the Gamma, because integrating it out of the cluster likelihood has a closed form. The Gamma frailty is parameterised so that its mean is one, so frailties average to the population baseline, and its variance θ measures the degree of unobserved heterogeneity. When θ = 0, the model reduces to a standard Cox model with no clustering.

Formula
Z \sim \mathrm{Gamma}\!\left(\frac{1}{\theta}, \frac{1}{\theta}\right), \quad \mathrm{E}[Z]=1,\; \mathrm{Var}[Z]=\theta
3

Estimation proceeds by integrating the frailty term out of the cluster-level likelihood to obtain the marginal (observed-data) likelihood. For Gamma frailty this integral has a closed form; for Log-Normal frailty numerical integration or the EM algorithm is required. Maximising the marginal likelihood yields estimates of the regression coefficients β and the heterogeneity parameter θ.

Formula
L(\boldsymbol{\beta},\theta) = \int_0^\infty \prod_{j \in \text{cluster}} \lambda(t_j \mid z)^{\delta_j} S(t_j \mid z)\, f_Z(z)\, dz

Common pitfalls

  • Reporting a conditional hazard ratio as if it were a population-average effect. State which quantity the model estimates.
  • Using a frailty model when clusters are large and balanced: a robust (sandwich) variance on an ordinary Cox fit can be sufficient and depends on fewer distributional assumptions.
  • Checking proportional hazards only overall. The conditional-level assumptions should also be examined within clusters, and residual-based checks for frailty models should be interpreted cautiously.
  • Omitting the estimated θ and its boundary-corrected likelihood ratio test, which are the main evidence that clustering matters.
  • Fitting with very few subjects or very few clusters. The variance estimate may then be unstable or fail to converge.

Frequently asked questions

What is a frailty term?

A frailty is an unobserved random variable, one per cluster, that multiplies the hazard of every individual in that cluster. It captures the collective influence of all unmeasured cluster-level risk factors. Clusters with a frailty greater than one have higher hazard (more fragile); clusters with a frailty less than one have lower hazard (more robust). The distribution of frailties across clusters is what the model estimates.

How does the frailty model differ from Cox regression?

Standard Cox regression treats all subjects as independent. The frailty model introduces a cluster-level random effect that induces correlation among subjects who share a cluster. When clustered data are analysed with Cox regression, the standard errors are typically too small, so type I error can be inflated. The size of this effect depends on the degree of within-cluster correlation and on the number of clusters. The frailty model addresses it by explicitly modelling the between-cluster variance.

What does the frailty variance θ mean?

The variance parameter θ quantifies the degree of unobserved heterogeneity among clusters. When θ is close to zero the clusters are essentially identical in their unobserved risk, and the model reduces to ordinary Cox regression. A large θ indicates substantial between-cluster variation that must be accounted for. Evidence that clustering matters is best assessed with a boundary-corrected likelihood ratio test, because θ = 0 lies on the boundary of the parameter space and standard Wald intervals are not valid there.

Should I report marginal or conditional hazard ratios?

Both quantities are valid, but they answer different questions. The conditional hazard ratio describes the effect of a covariate within a cluster, holding the frailty fixed, which is a cluster-specific interpretation. The marginal hazard ratio averages over all clusters and is closer to a population-average statement. Shared frailty models directly estimate the conditional quantity; the marginal ratio must be derived separately. Report whichever is relevant to your research question, and state clearly which you are reporting.

Related methods

Sources

  1. Vaupel, J.W., Manton, K.G. & Stallard, E. (1979). The Impact of Heterogeneity in Individual Frailty on the Dynamics of Mortality. Demography, 16(3), 439–454.

    Open DOI reference
  2. Hougaard, P. (2000). Analysis of Multivariate Survival Data. Springer.

    Open DOI reference