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

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 482 views
  • 0 likes
  • 1 in conversation