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

  • Thomas L
  • Reyes E
N/ACitations
Citations of this article
354Readers
Mendeley users who have this article in their library.

Abstract

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 follow-up, the proportional-hazards assumption of constant hazard ratios is frequently violated.\rOne 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\rprogramming statements for survival estimation are not directly applicable. Unique data manipulation and syntax is required, but is not well documented for either software.\rThis 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\rwhere the current functionality is more limited. The macro is validated in simulated data\rand illustrated in an application.

Cite

CITATION STYLE

APA

Thomas, L., & Reyes, E. M. (2014). Tutorial: Survival Estimation for Cox Regression Models with Time-Varying Coefficients Using SAS and R. Journal of Statistical Software, 61(Code Snippet 1). https://doi.org/10.18637/jss.v061.c01

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free