Cargando…
Using fractional polynomials and restricted cubic splines to model non‐proportional hazards or time‐varying covariate effects in the Cox regression model
The Cox proportional hazards model is used extensively in clinical and epidemiological research. A key assumption of this model is that of proportional hazards. A variable satisfies the proportional hazards assumption if the effect of that variable on the hazard function is constant over time. When...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
John Wiley & Sons, Inc.
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9299077/ https://www.ncbi.nlm.nih.gov/pubmed/34806210 http://dx.doi.org/10.1002/sim.9259 |
_version_ | 1784750863961554944 |
---|---|
author | Austin, Peter C. Fang, Jiming Lee, Douglas S. |
author_facet | Austin, Peter C. Fang, Jiming Lee, Douglas S. |
author_sort | Austin, Peter C. |
collection | PubMed |
description | The Cox proportional hazards model is used extensively in clinical and epidemiological research. A key assumption of this model is that of proportional hazards. A variable satisfies the proportional hazards assumption if the effect of that variable on the hazard function is constant over time. When the proportional hazards assumption is violated for a given variable, a common approach is to modify the model so that the regression coefficient associated with the given variable is assumed to be a linear function of time (or of log‐time), rather than being constant or fixed. However, this is an unnecessarily restrictive assumption. We describe two different methods to allow a regression coefficient, and thus the hazard ratio, in a Cox model to vary as a flexible function of time. These methods use either fractional polynomials or restricted cubic splines to model the log‐hazard ratio as a function of time. We illustrate the utility of these methods using data on 12 705 patients who presented to a hospital emergency department with a primary diagnosis of heart failure. We used a Cox model to assess the association between elevated cardiac troponin at presentation and the hazard of death after adjustment for an extensive set of covariates. SAS code for implementing the restricted cubic spline approach is provided, while an existing Stata function allows for the use of fractional polynomials. |
format | Online Article Text |
id | pubmed-9299077 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | John Wiley & Sons, Inc. |
record_format | MEDLINE/PubMed |
spelling | pubmed-92990772022-07-21 Using fractional polynomials and restricted cubic splines to model non‐proportional hazards or time‐varying covariate effects in the Cox regression model Austin, Peter C. Fang, Jiming Lee, Douglas S. Stat Med Tutorial in Biostatistics The Cox proportional hazards model is used extensively in clinical and epidemiological research. A key assumption of this model is that of proportional hazards. A variable satisfies the proportional hazards assumption if the effect of that variable on the hazard function is constant over time. When the proportional hazards assumption is violated for a given variable, a common approach is to modify the model so that the regression coefficient associated with the given variable is assumed to be a linear function of time (or of log‐time), rather than being constant or fixed. However, this is an unnecessarily restrictive assumption. We describe two different methods to allow a regression coefficient, and thus the hazard ratio, in a Cox model to vary as a flexible function of time. These methods use either fractional polynomials or restricted cubic splines to model the log‐hazard ratio as a function of time. We illustrate the utility of these methods using data on 12 705 patients who presented to a hospital emergency department with a primary diagnosis of heart failure. We used a Cox model to assess the association between elevated cardiac troponin at presentation and the hazard of death after adjustment for an extensive set of covariates. SAS code for implementing the restricted cubic spline approach is provided, while an existing Stata function allows for the use of fractional polynomials. John Wiley & Sons, Inc. 2021-11-21 2022-02-10 /pmc/articles/PMC9299077/ /pubmed/34806210 http://dx.doi.org/10.1002/sim.9259 Text en © 2021 The Authors. Statistics in Medicine published by John Wiley & Sons Ltd. https://creativecommons.org/licenses/by-nc/4.0/This is an open access article under the terms of the http://creativecommons.org/licenses/by-nc/4.0/ (https://creativecommons.org/licenses/by-nc/4.0/) License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited and is not used for commercial purposes. |
spellingShingle | Tutorial in Biostatistics Austin, Peter C. Fang, Jiming Lee, Douglas S. Using fractional polynomials and restricted cubic splines to model non‐proportional hazards or time‐varying covariate effects in the Cox regression model |
title | Using fractional polynomials and restricted cubic splines to model non‐proportional hazards or time‐varying covariate effects in the Cox regression model |
title_full | Using fractional polynomials and restricted cubic splines to model non‐proportional hazards or time‐varying covariate effects in the Cox regression model |
title_fullStr | Using fractional polynomials and restricted cubic splines to model non‐proportional hazards or time‐varying covariate effects in the Cox regression model |
title_full_unstemmed | Using fractional polynomials and restricted cubic splines to model non‐proportional hazards or time‐varying covariate effects in the Cox regression model |
title_short | Using fractional polynomials and restricted cubic splines to model non‐proportional hazards or time‐varying covariate effects in the Cox regression model |
title_sort | using fractional polynomials and restricted cubic splines to model non‐proportional hazards or time‐varying covariate effects in the cox regression model |
topic | Tutorial in Biostatistics |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9299077/ https://www.ncbi.nlm.nih.gov/pubmed/34806210 http://dx.doi.org/10.1002/sim.9259 |
work_keys_str_mv | AT austinpeterc usingfractionalpolynomialsandrestrictedcubicsplinestomodelnonproportionalhazardsortimevaryingcovariateeffectsinthecoxregressionmodel AT fangjiming usingfractionalpolynomialsandrestrictedcubicsplinestomodelnonproportionalhazardsortimevaryingcovariateeffectsinthecoxregressionmodel AT leedouglass usingfractionalpolynomialsandrestrictedcubicsplinestomodelnonproportionalhazardsortimevaryingcovariateeffectsinthecoxregressionmodel |