BookmarkSubscribeRSS Feed
TomHsiung
Lapis Lazuli | Level 10

I read from a textbook saying the traditional (partial) likelihood function does not hold if the time-varying cofactor is endogenous (if the person dies, the factor will not exist anymore). If we are dealing with exogenous time-varying cofactor such as switch between treatment strategies, we can use the Andersen-Gill model with a robust (clustered) variance estimator to get the model parameters.

 

I read further and know the joint model could be used to serve the purpose - a shared random effect model, which includes a submodel to depict the trajectory of the time-varying endogenous cofactor (e.g., serum albumin, CD4 cell count, etc.) and the other submodel to describe the survival function. The two parts can be linked together.

 

I wonder if there is a SAS procedure to fit dataset into this joint model and output estimation of parameters. Thank you.

 

PS: They just jointed the two part independently for the full likelihood function.

Screenshot 2025-10-14 at 9.58.35 PM.png

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is ANOVA?

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.

Discussion stats
  • 0 replies
  • 43 views
  • 0 likes
  • 1 in conversation