Firth Penalized Cox Regression
Firth's penalized Cox regression adds half the log-determinant of the information matrix to the partial likelihood, which reduces small-sample bias and keeps hazard ratios finite when the ordinary Cox estimate diverges.
Firth 벌점 Cox 회귀는 부분우도에 정보행렬 로그 행렬식의 절반을 더해 작은 표본의 편향을 줄이고, 일반 Cox 추정값이 무한대로 발산할 때도 위험비를 유한하게 유지합니다.
In my small study one group had no events, so the Cox model reports an infinite hazard ratio; how can I get a finite estimate with a valid confidence interval?
작은 연구에서 한 집단에 사건이 하나도 없어 Cox 모형이 무한대의 위험비를 내는데, 유한한 추정값과 타당한 신뢰구간을 어떻게 얻나요?
The penalty pulls estimates away from infinity in the way Jeffreys' prior does, so a finite hazard ratio is obtained even under monotone likelihood. Confidence intervals come from the profile penalized likelihood, and penalized likelihood-ratio tests replace Wald tests, which are unreliable in this situation.
When to use Firth Penalized Cox Regression
- Few events relative to the number of covariates.
- A covariate level has no events (monotone likelihood) and the Cox fit fails to converge.
- You want less biased hazard ratios in small samples.
When to use something else
- Many events and no separation: use Cox Proportional Hazards Model.
- Many covariates need shrinkage for prediction: use Lasso Cox Regression.
Assumptions and requirements
- Proportional hazards.
- Independent censoring.
- Ties are handled by the Breslow approximation.
What the analysis reports
- Penalized coefficients, hazard ratios and standard errors
- Profile penalized-likelihood confidence intervals (Wald for very large problems)
- Penalized likelihood-ratio test for each covariate and a global test
- Penalized and unpenalized log partial likelihood
How to report it
Firth's penalized Cox regression gave a hazard ratio for [covariate] of [value] (95% profile penalized-likelihood CI [value], [value]; penalized LR χ²(1) = [value], p = [value]).
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-4.
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과(허용오차 1e-4).
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 Firth Penalized Cox Regression on Quorant
- Data you need
- a table (CSV or Excel) with a time variable, an event indicator and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 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.