Hi,
I have a survival analysis to do that involves competing risk. Dataset contains approximately 2500 pts, a subset of which died from either cardiac, cancer, or unknown (death=1,2,3, respectively, 0 if not dead at end of study followup). I need to built a model (forward selection strategy with entry and stay criterion both set at p=0.05) using proc phreg accounting for the competing risk from non-cardiac deaths. Then I need to add a new variable omega (serum omega-fish oil level) to see if omega level has association with death incremental to the variables in the model (e.g. var1, var2, var3). The death of interests is cardiac death (death=1) and I had previously censored all other deaths, which obviously did not account for the competing risk.
I found many macros in the web but so far have trouble running them. Unfortunately my skills in using macro is limited. Would anyone be willing to share a solution. Would you be so kind to give me detail instructions if this is a macro you are sharing with me?
much appreciated
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.