Tutorial: Survival Estimation for Cox Regression Models with Time-Varying Coe?cients Using SAS and R

Survival estimates are an essential compliment to multivariable regression models for time-to-event data, both for prediction and illustration of covariate effects. They are easily obtained under the Cox proportional-hazards model. In populations defined by an initial, acute event, like myocardial i...

Full description

Bibliographic Details
Main Authors: Laine Thomas, Eric M. Reyes
Format: Article
Language:English
Published: Foundation for Open Access Statistics 2014-10-01
Series:Journal of Statistical Software
Online Access:http://www.jstatsoft.org/index.php/jss/article/view/2202
id doaj-14246627834b4fb9abd44edd63f2a509
record_format Article
spelling doaj-14246627834b4fb9abd44edd63f2a5092020-11-24T23:17:11ZengFoundation for Open Access StatisticsJournal of Statistical Software1548-76602014-10-0161112310.18637/jss.v061.c01806Tutorial: Survival Estimation for Cox Regression Models with Time-Varying Coe?cients Using SAS and RLaine ThomasEric M. ReyesSurvival estimates are an essential compliment to multivariable regression models for time-to-event data, both for prediction and illustration of covariate effects. They are easily obtained under the Cox proportional-hazards model. In populations defined by an initial, acute event, like myocardial infarction, or in studies with long-term followup, the proportional-hazards assumption of constant hazard ratios is frequently violated. One alternative is to fit an interaction between covariates and a prespecified function of time, implemented as a time-dependent covariate. This effectively creates a time-varying coefficient that is easily estimated in software such as SAS and R. However, the usual programming statements for survival estimation are not directly applicable. Unique data manipulation and syntax is required, but is not well documented for either software. This paper offers a tutorial in survival estimation for the time-varying coefficient model, implemented in SAS and R. We provide a macro coxtvc to facilitate estimation in SAS where the current functionality is more limited. The macro is validated in simulated data and illustrated in an application.http://www.jstatsoft.org/index.php/jss/article/view/2202
collection DOAJ
language English
format Article
sources DOAJ
author Laine Thomas
Eric M. Reyes
spellingShingle Laine Thomas
Eric M. Reyes
Tutorial: Survival Estimation for Cox Regression Models with Time-Varying Coe?cients Using SAS and R
Journal of Statistical Software
author_facet Laine Thomas
Eric M. Reyes
author_sort Laine Thomas
title Tutorial: Survival Estimation for Cox Regression Models with Time-Varying Coe?cients Using SAS and R
title_short Tutorial: Survival Estimation for Cox Regression Models with Time-Varying Coe?cients Using SAS and R
title_full Tutorial: Survival Estimation for Cox Regression Models with Time-Varying Coe?cients Using SAS and R
title_fullStr Tutorial: Survival Estimation for Cox Regression Models with Time-Varying Coe?cients Using SAS and R
title_full_unstemmed Tutorial: Survival Estimation for Cox Regression Models with Time-Varying Coe?cients Using SAS and R
title_sort tutorial: survival estimation for cox regression models with time-varying coe?cients using sas and r
publisher Foundation for Open Access Statistics
series Journal of Statistical Software
issn 1548-7660
publishDate 2014-10-01
description Survival estimates are an essential compliment to multivariable regression models for time-to-event data, both for prediction and illustration of covariate effects. They are easily obtained under the Cox proportional-hazards model. In populations defined by an initial, acute event, like myocardial infarction, or in studies with long-term followup, the proportional-hazards assumption of constant hazard ratios is frequently violated. One alternative is to fit an interaction between covariates and a prespecified function of time, implemented as a time-dependent covariate. This effectively creates a time-varying coefficient that is easily estimated in software such as SAS and R. However, the usual programming statements for survival estimation are not directly applicable. Unique data manipulation and syntax is required, but is not well documented for either software. This paper offers a tutorial in survival estimation for the time-varying coefficient model, implemented in SAS and R. We provide a macro coxtvc to facilitate estimation in SAS where the current functionality is more limited. The macro is validated in simulated data and illustrated in an application.
url http://www.jstatsoft.org/index.php/jss/article/view/2202
work_keys_str_mv AT lainethomas tutorialsurvivalestimationforcoxregressionmodelswithtimevaryingcoecientsusingsasandr
AT ericmreyes tutorialsurvivalestimationforcoxregressionmodelswithtimevaryingcoecientsusingsasandr
_version_ 1725584371190071296