To the best of my knowledge, current methods of doing survival analysis, including those that compares survival curves (log-rank or Wilcoxon) and Cox model, does not have the capability of analyzing variating exposures. For instance, one can divide a group of patients into those with hyperlipidemia and those without hyperlipidemia at baseline. After that, the researcher follows-up for a period of time to see if the end point (e.g. death, stroke) occurred. Next, he can plot the survival curves of the two groups via Kaplan-Meier of life table method and compare to see if there were any difference between the two survival curves by using log-rank or Wilcoxon method. He can also use the Cox model to see if hyperlipidemia at baseline was a risk factor of developing end points like death and stroke during follow-up.
It can be easily observed that not considering the change of blood lipids during follow-up is a huge defect of the methods mentioned above. It can be easily understood and verified that blood lipid levels change every day. Therefore, taking the blood lipid level of a single day into account when analyzing an event that might happen anytime during a long follow-up period (usually more than a year) is far from enough. However, to the best of my knowledge, current statistical methods analyzing longitudinal data does not have the capability of analyzing time-to-event data, especially when lost to follow-up, which is common in time-to-event data, has to be considered.
So here is my question: is there a statistical method using longitudinal data to do survival analysis? If there is, can SAS perform this? Many thanks!
Hello @Season ,
So, you want to analyze two types of outcomes produced usually in longitudinal studies, particularly :
These two outcomes are usually analyzed separately, using a mixed effects model for the longitudinal response and a survival model for the time-to-event.
Geert Verbeke and Geert Molenberghs (two Belgian bio-statistics professors) discussed , somewhere in the 2000s, how you can analyze them jointly.
i.e. ** Joint Models for Longitudinal and Time-to-Event Data **
See
See also :
Joint Analysis of Failure Times and Time-Varying Covariates
Joseph C. Gardiner, Department of Epidemiology and Biostatistics,
Michigan State University, East Lansing, MI 48824
https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2019/3175-2019.pdf
Good luck,
Koen
It sounds like what you have is a time-varying covariate - an explanatory variable that can change over the course of the study. This can be handled in PROC PHREG. See mention of this in the Overview section of the PHREG documentation. An example is titled "Model Using Time-Dependent Explanatory Variables" in the Examples section of the PHREG documentation.
I missed a word in one sentence in the fourth paragraph. "but you cannot put the level of X at baseline, at 1 month after recruitment, at 1 year after recruitment and when the follow-up terminates" should be "but you cannot put the level of X at baseline, at 1 month after recruitment, at 1 year after recruitment and when the follow-up terminates simultaneously". I missed the word "simultaneously" when I was typing.
@Season wrote:
I missed a word in one sentence in the fourth paragraph. "but you cannot put the level of X at baseline, at 1 month after recruitment, at 1 year after recruitment and when the follow-up terminates" should be "but you cannot put the level of X at baseline, at 1 month after recruitment, at 1 year after recruitment and when the follow-up terminates simultaneously". I missed the word "simultaneously" when I was typing.
As the author of a post you can edit it. Under the avatar/icon at the head of a post are three horizontal lines. If you click on them you should have "edit reply" as an option. That will bring up your original post with the message in a window where you can edit it.
After searching for literatures in the past month, I successfully found out that there currently is a model using longitudinal data to do survival analysis. To be more explicit, a joint model of longitudinal and time-to-event data, which in many cases is abbreviated as "joint model") has been proposed, with a few monographs pertaining to this joint model having been published, including those that only introduces statistical theory and those that also introduces the method of building joint models via statistical softwares (such as Rizopoulos, D. . (2012). Joint Models for Longitudinal and Time-to-Event Data). But almost all of the literatures currently published discussing the way to build joint models via statistical softwares are performed via R.
So, my question is: can I perform the building and correction of joint models via SAS? If so, via what module (PROC XXX)?
Many thanks!
Thank you, @Ksharp, for your suggestion!
Hello @Season ,
So, you want to analyze two types of outcomes produced usually in longitudinal studies, particularly :
These two outcomes are usually analyzed separately, using a mixed effects model for the longitudinal response and a survival model for the time-to-event.
Geert Verbeke and Geert Molenberghs (two Belgian bio-statistics professors) discussed , somewhere in the 2000s, how you can analyze them jointly.
i.e. ** Joint Models for Longitudinal and Time-to-Event Data **
See
See also :
Joint Analysis of Failure Times and Time-Varying Covariates
Joseph C. Gardiner, Department of Epidemiology and Biostatistics,
Michigan State University, East Lansing, MI 48824
https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2019/3175-2019.pdf
Good luck,
Koen
Thank you very, very much, Koen, for your wonderful and helpful reply!
I will investigate the information you provided in depth.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.