Nested Frailty Cox Model
A nested frailty model handles survival data with two levels of grouping, such as patients in wards within hospitals or children in families within villages. Each cluster and each subgroup within it gets its own gamma-distributed frailty that multiplies the hazard, so the model separates how much risk varies between clusters from how much it varies between subgroups of the same cluster. Covariate effects are estimated conditional on both frailties.
중첩 취약성 모형은 병원 안의 병동에 속한 환자나 마을 안의 가족에 속한 아동처럼 두 수준으로 묶인 생존자료를 다룹니다. 각 군집과 그 안의 하위집단이 위험에 곱해지는 감마 분포 취약성을 따로 가지므로, 위험이 군집 사이에서 얼마나 다르고 같은 군집 안의 하위집단 사이에서 얼마나 다른지를 분리합니다. 공변량 효과는 두 취약성을 조건으로 추정합니다.
How much does the risk vary between clusters and between subgroups within clusters, after adjusting for covariates?
공변량을 보정한 뒤 위험은 군집 사이와 군집 안 하위집단 사이에서 각각 얼마나 달라집니까?
The method returns the cluster and subgroup frailty variances with boundary likelihood-ratio tests, conditional hazard ratios with confidence intervals, the baseline hazard parameters and the log-likelihoods of the reduced models.
When to use Nested Frailty Cox Model
- Survival times are grouped at two nested levels.
- You want to know at which level unexplained heterogeneity lies.
- Ignoring either level would understate standard errors.
When to use something else
- There is a single level of clustering: use Shared Frailty Cox Model
- Groups are crossed rather than nested: use Additive Gamma Frailty Model (Shared and Individual Components)
Assumptions and requirements
- Proportional hazards given the frailties
- Independent gamma frailties at the two levels
- Weibull or piecewise-constant baseline hazard
- Independent censoring
What the analysis reports
- Cluster and subgroup frailty variances with LR tests
- Conditional hazard ratios
- Baseline parameters
How to report it
The cluster frailty variance was [value] (LR = [value], p = [value]) and the subgroup frailty variance was [value] (LR = [value], p = [value]).
Related methods
- Shared Frailty Cox Model
- Additive Gamma Frailty Model (Shared and Individual Components)
- Frailty Distribution Comparison for Shared Frailty Models
- Piecewise Exponential Frailty Model
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy at a stated tolerance of 2e-3.
독립 계산. SciPy 대조 참조 시험 1건 통과(허용오차 2e-3).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Nested Frailty Cox Model on Quorant
- Data you need
- a table (CSV or Excel) with a time variable, an event indicator, a cluster ID and a unit (entity) ID
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.