# When is Log rank preferred over Univariable Cox regression?

**URL:** <https://discourse.datamethods.org/t/when-is-log-rank-preferred-over-univariable-cox-regression/2344>\
**Category:** modeling strategy\
**Tags:** research-method\
**Created:** [September 23, 2019, 8:23pm UTC](https://discourse.datamethods.org/t/when-is-log-rank-preferred-over-univariable-cox-regression/2344 "2019-09-23T20:23:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eslam\_Maher](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/eslam_maher/32/4899_2.png) [@Eslam\_Maher](https://discourse.datamethods.org/u/Eslam_Maher)\
**Post date:** [September 23, 2019, 8:23pm UTC](https://discourse.datamethods.org/t/when-is-log-rank-preferred-over-univariable-cox-regression/2344/1 "2019-09-23T20:23:14Z")

</div>

Hi all,

This may sound like an amateur-ish question; but is there ever an advantage for log rank over univariable cox regression? The latter seems to do exactly the same thing log rank does + (a) quantify the relationship (HRs & CIs), and (b) accommodates continuous variables, which otherwise would have to be dichotomized (or categorized) for comparisons using Log rank/Breslow/Tarone-Ware…etc.

Thank you,  
Eslam

---

<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:** [September 23, 2019, 10:14pm UTC](https://discourse.datamethods.org/t/when-is-log-rank-preferred-over-univariable-cox-regression/2344/2 "2019-09-23T22:14:47Z")

</div>

No advantage and even disadvantages:

- log-rank test does not work for continuous exposures
- it does not allow for covariate adjustment
- the usual P-value from log-rank may not be as accurate as the likelihood ratio \chi^2 statistic from Cox PH

For the life of me I don’t know why we still teach log-rank and why it keeps appearing in medical and epidemiologic journals. It has all the assumptions of Cox and more. Glad you raised the issue.

---

<div class="post-metadata">

**Author:** ![Pavlos\_Msaouel](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/pavlos_msaouel/32/739_2.png) [@Pavlos\_Msaouel](https://discourse.datamethods.org/u/Pavlos_Msaouel)\
**Post date:** [September 23, 2019, 11:01pm UTC](https://discourse.datamethods.org/t/when-is-log-rank-preferred-over-univariable-cox-regression/2344/3 "2019-09-23T23:01:44Z")

</div>

@f2harrell, another version I also see frequently used is the stratified log-rank which I think would also be inferior to the corresponding stratified Cox regression for the same reasons. A somewhat related question I have is what is the practical value of a stratified Cox model vs. the unstratified Cox model? Since the stratified Cox model estimates separate hazard functions for each stratum, would that lead to loss of precision compared with the unstratified model? In addition, I would assume that since a stratified Cox produces HRs that are weighted averages of the stratum-specific HRs, it makes the assumption that these weighted HRs are constant across strata, which is not necessarily a very plausible assumption?

---

<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:** [September 24, 2019, 1:24am UTC](https://discourse.datamethods.org/t/when-is-log-rank-preferred-over-univariable-cox-regression/2344/4 "2019-09-24T01:24:04Z")

</div>

Good points. A stratified Cox model makes obsolete a stratified log-rank test. Stratification does not normally cause a loss of precision of the remaining \hat{\beta}, but it does cause a loss of precision of absolute survival probability estimates.

---

<div class="post-metadata">

**Author:** ![Pavlos\_Msaouel](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/pavlos_msaouel/32/739_2.png) [@Pavlos\_Msaouel](https://discourse.datamethods.org/u/Pavlos_Msaouel)\
**Post date:** [September 24, 2019, 1:31am UTC](https://discourse.datamethods.org/t/when-is-log-rank-preferred-over-univariable-cox-regression/2344/5 "2019-09-24T01:31:05Z")

</div>

Good to know - appreciate the insight!

---

<div class="post-metadata">

**Author:** ![Diego\_Escarraman](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/diego_escarraman/32/1326_2.png) [@Diego\_Escarraman](https://discourse.datamethods.org/u/Diego_Escarraman)\
**Post date:** [April 9, 2020, 7:07pm UTC](https://discourse.datamethods.org/t/when-is-log-rank-preferred-over-univariable-cox-regression/2344/6 "2020-04-09T19:07:58Z")

</div>

Hi, do you recommend any text explain the limitations of using log rank? Thanks

---

<div class="post-metadata">

**Author:** ![Pavlos\_Msaouel](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/pavlos_msaouel/32/739_2.png) [@Pavlos\_Msaouel](https://discourse.datamethods.org/u/Pavlos_Msaouel)\
**Post date:** [April 9, 2020, 8:10pm UTC](https://discourse.datamethods.org/t/when-is-log-rank-preferred-over-univariable-cox-regression/2344/7 "2020-04-09T20:10:31Z")

</div>

@Stephen [makes here](https://onlinelibrary.wiley.com/doi/epdf/10.1002/pst.169) a concise but powerful argument for covariate adjustment, e.g., by using the proportional hazards over the log rank.
