# Cox Proportional Hazard

**URL:** <https://discourse.datamethods.org/t/cox-proportional-hazard/5461>\
**Category:** general\
**Tags:** r, statistical-model, censoring\
**Created:** [April 8, 2022, 11:50am UTC](https://discourse.datamethods.org/t/cox-proportional-hazard/5461 "2022-04-08T11:50:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablo](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/pablo/32/2804_2.png) [@pablo](https://discourse.datamethods.org/u/pablo)\
**Post date:** [April 8, 2022, 11:50am UTC](https://discourse.datamethods.org/t/cox-proportional-hazard/5461/1 "2022-04-08T11:50:01Z")

</div>

Hi,

I would like to ask if there is a threshold for the maximum number of censored individuals, given the total number of participants in a study. To give an example I have 11 patients died, out of 46 who are still alive (censored). Is there any rule of how many events should exist in the cohort in order to have robust results using the Cox PH model?  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![f2harrell](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/f2harrell/32/165_2.png) [@f2harrell](https://discourse.datamethods.org/u/f2harrell)\
**Post date:** [April 8, 2022, 2:12pm UTC](https://discourse.datamethods.org/t/cox-proportional-hazard/5461/2 "2022-04-08T14:12:04Z")

</div>

To estimate a hazard ratio to within a multiplicative (fold change) margin of error of 1.2 requires 462 events. You can compute the margin of error with only 11 events. It will be something like 3, i.e., you can’t nail down the true hazard ratio to within a factor of 3.

---

<div class="post-metadata">

**Author:** ![pablo](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/pablo/32/2804_2.png) [@pablo](https://discourse.datamethods.org/u/pablo)\
**Post date:** [April 11, 2022, 8:49am UTC](https://discourse.datamethods.org/t/cox-proportional-hazard/5461/3 "2022-04-11T08:49:40Z")

</div>

Thank you very much for the quick response.  
In my case, the goal is to estimate the hazard in just one group (multivariate Cox regression with continuous independent variables), I don’t have 2 groups to estimate a ratio among them. Should I have in mind the same rule for this analysis too?

---

<div class="post-metadata">

**Author:** ![f2harrell](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/f2harrell/32/165_2.png) [@f2harrell](https://discourse.datamethods.org/u/f2harrell)\
**Post date:** [April 11, 2022, 11:11am UTC](https://discourse.datamethods.org/t/cox-proportional-hazard/5461/4 "2022-04-11T11:11:52Z")

</div>

_Multivariate_ means multiple dependent variables. I think you meant _multivariable_. And without having \>1 group it sounds as if you are developing a multivariable prediction model (you didn’t state your goals). For developing a model there are excellent sample size papers by Richard Riley et al in _Statistics in Medicine_. A crude approximation is that you need 15 events per candidate variable. You do not have enough events for looking at a single candidate variable.

---

<div class="post-metadata">

**Author:** ![pablo](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/pablo/32/2804_2.png) [@pablo](https://discourse.datamethods.org/u/pablo)\
**Post date:** [April 11, 2022, 12:34pm UTC](https://discourse.datamethods.org/t/cox-proportional-hazard/5461/5 "2022-04-11T12:34:11Z")

</div>

Yes, you are right. I meant multivariable.  
I have a group of 46 observations (33 right-censored - 13 died) and 10 variables/measurements of blood characteristics.  
I have used _coxph_ function in R (_survival_ package) to compute a Cox proportional hazards regression model.  
Dependent variable is the survival object _Surv(time to death, event death)_.  
Independent continuous variables are the blood measurements.  
My goal is to identify which of the variables used in the model could be potential protective or risk factors for the group of patients and visualize the result using a forest plot.  
From you reply, I understand that with this low number of events (13) I should use just one dependent variable, is that correct?

---

<div class="post-metadata">

**Author:** ![f2harrell](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/f2harrell/32/165_2.png) [@f2harrell](https://discourse.datamethods.org/u/f2harrell)\
**Post date:** [April 11, 2022, 1:38pm UTC](https://discourse.datamethods.org/t/cox-proportional-hazard/5461/6 "2022-04-11T13:38:20Z")

</div>

No, it’s a bit worse than that. The sample is not adequate for the analysis. You might show some descriptive statistics but not do any statistical tests, seek to describe variable importance, or build a model.
