Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Survival›Cox Regression with Time-Varying Covariates
Survival analysis

Cox Regression with Time-Varying Covariates

Also known as: time-varying covariate Cox model, extended Cox model, Zamana Bağlı Kovaryatlı Cox Regresyonu

Time-dependent Cox regression is an extension of the standard Cox proportional hazards model, introduced through the counting-process formulation developed by Therneau and Grambsch (2000), that allows one or more predictor variables to take different values at different points in a subject's follow-up period. It is the method of choice whenever a covariate — such as a laboratory measurement, a medication dose, or a disease severity score — changes over time rather than remaining fixed from study entry.

ScholarGate
  1. Survival analysis
  2. v1
  3. 1 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Time-Dependent Cox Regression
Frailty ModelJoint Model for Longitud…Kaplan-MeierRoyston-Parmar ModelFine-Gray Competing Risk…

When to use it

Use time-dependent Cox regression when your data contain covariates that change value during follow-up and you cannot reduce them to a single baseline summary without losing important information. Typical scenarios include repeated laboratory measurements, time-varying treatment or drug exposure, cumulative exposure metrics, and scores of disease activity measured at clinic visits. The data must be restructured into long format with one row per interval per subject. The minimum practical sample size is around 50 subjects with sufficient events, because the model must estimate coefficients across many intervals. The non-informative censoring assumption of standard Cox regression carries over here. Be alert to endogeneity: if a time-varying covariate is itself influenced by the outcome process (for example, a biomarker that deteriorates because the subject is approaching death), causal interpretation requires extra care and a joint model may be more appropriate.

Strengths & limitations

Strengths
  • Captures the time-varying nature of covariates, producing estimates that reflect the true covariate-hazard relationship rather than a diluted baseline snapshot.
  • Retains the semi-parametric flexibility of standard Cox regression — the baseline hazard is left unspecified.
  • Directly handles right-censoring via the counting-process framework without any modification to the statistical theory.
  • Applicable across domains wherever repeated measurements accompany a time-to-event outcome.
Limitations
  • Requires data in long format (start–stop structure), which can be error-prone to construct; mistakes in restructuring silently distort results.
  • A minimum of approximately 50 subjects with adequate event counts is needed; with fewer data the time-interval coefficients become unstable.
  • Endogenous (internally generated) time-varying covariates, such as a biomarker driven by the outcome, violate causal interpretability; a joint model is then preferable.
  • The proportional-hazards assumption still applies within each interval, and violation is harder to diagnose than in the standard Cox model.

Frequently asked

What is a time-varying covariate?

A time-varying (or time-dependent) covariate is a predictor whose value is not fixed at study entry but changes over the course of follow-up. Examples include laboratory values measured at each clinic visit, changes in medication, and accumulating exposure levels. In contrast, fixed covariates such as sex or baseline age take a single value for the entire follow-up.

How does this differ from standard Cox regression?

Standard Cox regression uses a single covariate value per subject, measured at baseline, and assumes it remains constant. Time-dependent Cox regression uses the covariate value current at each event time in the partial likelihood, requiring the data to be restructured into multiple rows per subject covering consecutive time intervals.

When should I prefer a joint model over time-dependent Cox?

When the time-varying covariate is endogenous — meaning it is part of the biological or disease process leading to the event — standard time-dependent Cox regression produces biased estimates and cannot support causal inference. A joint model simultaneously models the longitudinal trajectory of the biomarker and the survival process, properly accounting for their dependence, and is therefore the method to prefer in that situation.

How do I structure my data for this model?

Each subject's follow-up must be expanded into one row per interval during which all covariates remain constant. Each row needs a start time (left endpoint of the interval, exclusive), a stop time (right endpoint, inclusive), and an event indicator that is 1 only in the last row if the subject experienced the event at the stop time. All other rows have an event indicator of 0.

Sources

  1. Therneau, T. M. & Grambsch, P. M. (2000). Modeling Survival Data: Extending the Cox Model. Springer. DOI: 10.1007/978-1-4757-3294-8 ↗

How to cite this page

ScholarGate. (2026, June 1). Cox Regression with Time-Varying Covariates. ScholarGate. https://scholargate.app/en/survival/time-dependent-cox

Related methods

Frailty ModelJoint Model for Longitudinal and Survival DataKaplan-MeierRoyston-Parmar Model

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Frailty ModelSurvival↔ compare
  • Joint Model for Longitudinal and Survival DataSurvival↔ compare
  • Kaplan-MeierSurvival↔ compare
  • Royston-Parmar ModelSurvival↔ compare
Compare side by side →

Referenced by

Fine-Gray Competing Risks ModelJoint Model for Longitudinal and Survival Data

Similar methods

Cox RegressionProspective Cox proportional hazardsCox proportional hazardsJoint Model for Longitudinal and Survival DataRetrospective Cox proportional hazardsBayesian Cox RegressionRisk-adjusted Cox Proportional HazardsRobust Cox Regression

Related reference concepts

Cox Regression ModelsProportional Hazards AssumptionSurvival Analysis and Time-to-Event MethodsHazard RatioCensoring and Follow-Up DataCompeting Risks

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Time-Dependent Cox Regression (Cox Regression with Time-Varying Covariates). Retrieved 2026-07-21 from https://scholargate.app/en/survival/time-dependent-cox · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Cox, D. R. (extended formulation by Therneau & Grambsch)
Year
1972
Type
Semi-parametric hazard regression model
DataStructure
Long-format (start–stop intervals)
Handles
Right-censoring, time-varying covariates
MinimumSample
50
Related methods
Frailty ModelJoint Model for Longitudinal and Survival DataKaplan-MeierRoyston-Parmar Model
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account