<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to change x axis intervals on cumulative incidence function curves in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/How-to-change-x-axis-intervals-on-cumulative-incidence-function/m-p/437817#M4656</link>
    <description>&lt;P&gt;Most of the time if I don't find a quick option in the analysis procedure I create an appropriate output data set and use sgplot or sgpanel where I have more controls of appearance to create desired graphs.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2018 23:09:19 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-02-15T23:09:19Z</dc:date>
    <item>
      <title>How to change x axis intervals on cumulative incidence function curves</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-change-x-axis-intervals-on-cumulative-incidence-function/m-p/437803#M4655</link>
      <description>&lt;P&gt;Hi, I am using SAS University Edition and looking to graphically display the cumulative incidence function (CIF) curves for a time to event analysis. I am unsure how to customize the x-axis intervals and I don't see any way of customizing the x axis for CIF based on:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_lifetest_syntax01.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_lifetest_syntax01.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;A href="https://support.sas.com/documentation/onlinedoc/stat/141/kaplan.pdf" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/stat/141/kaplan.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My code is below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc lifetest data=filename OUTCIF=ATRISK MAXTIME=6 plots=cif(test);&lt;BR /&gt;time years*censor(0)/ eventcode=1;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the above, I can set the maxtime as 6 years, but the x-axis by default shows tick marks at 2 year intervals. I would like it to show tick marks at 1 year intervals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that for Kaplan-Meier curves you can just do this to customize it:&lt;/P&gt;&lt;P&gt;proc lifetest data=filename atrisk plots=survival(PVALUE ATRISK(atrisktick outside)&lt;STRONG&gt; = 0 to 6 by 1)&lt;/STRONG&gt; MAXTIME=6;&lt;BR /&gt;&lt;SPAN&gt;time years*censor1(0)&lt;/SPAN&gt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would greatly appreciate any help.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 22:14:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-change-x-axis-intervals-on-cumulative-incidence-function/m-p/437803#M4655</guid>
      <dc:creator>sasuser110</dc:creator>
      <dc:date>2018-02-15T22:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x axis intervals on cumulative incidence function curves</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-change-x-axis-intervals-on-cumulative-incidence-function/m-p/437817#M4656</link>
      <description>&lt;P&gt;Most of the time if I don't find a quick option in the analysis procedure I create an appropriate output data set and use sgplot or sgpanel where I have more controls of appearance to create desired graphs.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 23:09:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-change-x-axis-intervals-on-cumulative-incidence-function/m-p/437817#M4656</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-15T23:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x axis intervals on cumulative incidence function curves</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-change-x-axis-intervals-on-cumulative-incidence-function/m-p/437827#M4657</link>
      <description>Thanks - I am a bit confused as to how to do this for a cumulative incidence function. Any tips for that?</description>
      <pubDate>Thu, 15 Feb 2018 23:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-change-x-axis-intervals-on-cumulative-incidence-function/m-p/437827#M4657</guid>
      <dc:creator>sasuser110</dc:creator>
      <dc:date>2018-02-15T23:43:22Z</dc:date>
    </item>
  </channel>
</rss>

