Is there a way to check for collinearity in a cox regression model with time dependent variables?
Can PROG REG and VIF be used??
Grateful for any assistance.
So, yes, you can indeed run the data through PROC REG to compute VIFs of your many time dependent variables.
It's not clear to me what you would do if there was significant collinearity between two time dependent variables -- would you remove one (or more) of the times? What exactly are the time dependent variables, anyway?
Thank you Paige.
It is a survival analysis in patients with a particular type of cancer. The variables are baseline patient characteristics, tumour characteristics, scan characteristics etc. I think I would have to remove collinear variables from the model.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.