BookmarkSubscribeRSS Feed
yubaraj
Fluorite | Level 6

Hi All

I am trying to create a cumulative incidence curve showing cumulative vaccine coverage in a fixed cohort.

The follow up starts at Nov 24 2017 and ends in May 23 2018.

I want to show dates (last of each months and 15th of each months. i.e Nov 30, Dec 15, Dec 31 and so on along the x-axis).

I am using %NEWSURV macro, but could not figure out any customization to insert dates along x-axis.

I was wondering if this is possible at all. Is it possible to add manual labels or some alternate ways.

I am using SAS 9.4. 

 

Thanks a lot

Yuba 

1 REPLY 1
Reeza
Super User

According to the docs for X axis:

  • X-axis can be transformed into other time units (days to months, etc.)

So I think this would require customizing the code directly. 

 

Look for the XAXIS options in the code to apply a format along with a custom format. 

 

Note that this would require that you have everyone start on the exact same date.

 

For cumulative vaccine coverage, would that be any different than using a Cumulative Distribution function in this case? Not sure censoring matters here unless you have dropouts. 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 519 views
  • 0 likes
  • 2 in conversation