BookmarkSubscribeRSS Feed
Novice2
Calcite | Level 5

Hi All, 

I have two questions (don't know if I should start a separate thread for the other, happy to do so if needed).

I have a longitudinal dataset where patients were followed up for a number of visits. At each visit they were asked 'did condition x occur in the time since last visit' ie a binary outcome (yes/no).

1) I am planning to do a competing risks cox proportional hazards model. However, I have a covariate which is related to the outcome. How would I take account of this in the coding? Further, the covariate has a time-specific function ie its value drops in the first few weeks, then stays stable. Would I need to introduce a spline?

2) I would like to do a logistic regression of said outcome x. Would the outcome from a repeated measures logistic regression be significantly different from standard logistic regression? Again, I think one of the predictors would be the time-varying serum marker mentioned above

Hope that makes sense, I would be grateful for any input and sample code. 

1 REPLY 1
Novice2
Calcite | Level 5

Sorry I should have specified above that the time-dependent covariates are continuous in nature

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 574 views
  • 0 likes
  • 1 in conversation