BookmarkSubscribeRSS Feed
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. 

Calcite | Level 5

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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1 in conversation