My data set has 24 columns of dates (including death date) of Lung cancer patients, where each date represents a procedure done for their disease. I want to create a figure where a line connects all these events till their death date.
one approach could be to restructure the data into a table with one date column and a row for each patient ID / procedure done combination.
Then you could use a line graph with a line per patient.
Path Analysis could be another approach, for which you also would need the data restructuring.
Please keep the community friendly. Like posts you agree with or like. Mark helpful answers as “accepted solutions”. Generally have a look at https://communities.sas.com/t5/Getting-Started/tkb-p/community_articles
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.