Survival analysis with time-varying covariatesI am trying to complete an analysis of a dataset which is likely confounded by immortal time bias – some patients died during follow up resulting in them not be eligible for the study intervention. Survival analysis with time-varying covariates is the recommended solution and I understand that it is implemented in SAS with PROC PHREG (There’s a similar approach in the coxph module for R). Per JMP product developers and @JerryFish "PROC PHREG does it in two ways. Neither are doable in JMP https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_phreg_examples07.htm
The first approach requires computational effort at run time, i.e. changing data at run time. This is not possible in Fit Proportional Hazard.
The second approach requires two response columns, which is not allowed in Fit Proportional Hazard.
Since all my analyses are completed in JMP enhanced functionality would be most helpful.
Advanced Statistical ModelingRe: Survival analysis with time-varying covariates - Status changed to: InvestigatingRe: Survival analysis with time-varying covariates - Status changed to: AcknowledgedHi @idouglas, thank you for your suggestion! We have captured your request and will take it under consideration.
Re: Survival analysis with time-varying covariatesHi @idouglas
Looking with a SAS example, there are 2 alternatives:
-
Add interval censoring in Fit Proportional Hazards
-
Look at the continuous effect variables and if we find a formula in them that is a function of the time variable, then do time-varying regression using that formula.
Which alternative would fit best?
Thank you