BookmarkSubscribeRSS Feed
SeaMoon_168
Quartz | Level 8

I aim to create a mean cumulative functions figure shown below. Now, I can create a CIF figure. Could anyone help me figure out how to create it? Many thanks!

SeaMoon_168_0-1723724770244.png

 

 

 

 

8 REPLIES 8
PaigeMiller
Diamond | Level 26

Please show us a portion of the SAS data set involved. Please follow these examples and instructions to provide a SAS data set in a form we can use.

--
Paige Miller
SeaMoon_168
Quartz | Level 8

Thank you for your reply. Actually, I have no clue what kind of data required to create this figure. As I mentioned, I only know how to create the Cumulative Incidence Function (CIF) figures. The raw data are regular survival data including event (0, 1), treatment groups, and follow-up time. 

PaigeMiller
Diamond | Level 26

Is not the plot based upon the CIF figures?

--
Paige Miller
SeaMoon_168
Quartz | Level 8

I guess so though I am not 100% sure. The Y-axis of the CIF plot is generally 0.0 - 1.0 as the marginal probability. However, Y-axis of this plot is 0-100 as events per 100 patients. I am not sure if multipling the CIF marginal probability (0-1) could be the Y (0-100) of this figure? That confused me.

Quentin
Super User

Are you asking how to create the graph, or are you asking how to interpret the graph, or are you asking how to calculate the statistics that would be needed to create a graph like that?  What data are you starting with?

Is this a homework problem for a class, or a work problem where you've been asked to generate a graph that you don't fully understand?  Either way, I would refer to the instructions that came with the request, or talk through your understanding of the graph with the requestor.

The Boston Area SAS Users Group is hosting free webinars!
Next up: Lisa Mendez & Richann Watson present Get Tipsy with Debugging Tips for SAS® Code: The After Party on Wednesday Jul 16.
Register now at https://www.basug.org/events.
Quentin
Super User

@SeaMoon_168 wrote:

I guess so though I am not 100% sure. The Y-axis of the CIF plot is generally 0.0 - 1.0 as the marginal probability. However, Y-axis of this plot is 0-100 as events per 100 patients. I am not sure if multipling the CIF marginal probability (0-1) could be the Y (0-100) of this figure? That confused me.


That sounds likely.  You're used to graphs that display the probability as a proportion (0.0-1.0) but this graph shows the probability as a percentage (0-100).  Should be fine either way.  Sometimes for rare events, rates will be displayed as number of patients per 1000, or 100,000,  or whatever the author thinks is convenient.

The Boston Area SAS Users Group is hosting free webinars!
Next up: Lisa Mendez & Richann Watson present Get Tipsy with Debugging Tips for SAS® Code: The After Party on Wednesday Jul 16.
Register now at https://www.basug.org/events.
SeaMoon_168
Quartz | Level 8

Yes, I am not sure if the figure listed in my original post is equivalent to the CIF figure. I saw this kind of figures per 100 patients listed in a couple of journal papers. So it could be popular. if no, how to create this kind of figure in SAS?

Reeza
Super User
Looks like a failure plot (opposite of survival plot) with the HR added in. This would definitely be a custom graphic created in SAS but could be done.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 8 replies
  • 1966 views
  • 2 likes
  • 4 in conversation