<?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: Trouble with the %CIF macro in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/225273#M53917</link>
    <description>&lt;P&gt;I think that the TITLE= parameter only applies to a limited part of the output.&lt;/P&gt;&lt;PRE&gt;TITLE=value
    specifies the first title for the cumulative incidence function plot. Do not use quotation marks.

TITLE2=value
    specifies the second title for the cumulative incidence function plot. Do not use quotation marks.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But even for that&amp;nbsp;it looks like the&amp;nbsp;TITLE statements are using single quotes instead of double quotes.&amp;nbsp; You should report to SAS.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title '&amp;amp;title';
title2 '&amp;amp;title2';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Sep 2015 15:11:54 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2015-09-12T15:11:54Z</dc:date>
    <item>
      <title>Trouble with the %CIF macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/225272#M53916</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a bit trouble with the %CIF macro. I can't change the title even though I'm doing it correct (I think).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This statement works fine:&lt;BR /&gt;&lt;EM&gt;%CIF (DATA=final,&amp;nbsp;TIME=follow_up, STATUS=hypertension, EVENT=1, censored=0, GROUP=case);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When adding TITLE=xxxx, the title won't change, although the cumulative incidence figure looks like the above:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;%CIF (DATA=final,&amp;nbsp;TIME=follow_up, STATUS=hypertension, EVENT=1, censored=0, GROUP=case, TITLE=xxxx);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hope, you guys can help!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Sep 2015 14:53:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/225272#M53916</guid>
      <dc:creator>ChrisMac</dc:creator>
      <dc:date>2015-09-12T14:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with the %CIF macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/225273#M53917</link>
      <description>&lt;P&gt;I think that the TITLE= parameter only applies to a limited part of the output.&lt;/P&gt;&lt;PRE&gt;TITLE=value
    specifies the first title for the cumulative incidence function plot. Do not use quotation marks.

TITLE2=value
    specifies the second title for the cumulative incidence function plot. Do not use quotation marks.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But even for that&amp;nbsp;it looks like the&amp;nbsp;TITLE statements are using single quotes instead of double quotes.&amp;nbsp; You should report to SAS.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title '&amp;amp;title';
title2 '&amp;amp;title2';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Sep 2015 15:11:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/225273#M53917</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-09-12T15:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with the %CIF macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/225326#M53923</link>
      <description>&lt;P&gt;Not sure if this is useful, but If you have SAS 9.4 you can use Proc PHREG for Fine and Gray's Competing Risks model in SAS now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Vancouver-User-Group/Gondara_CompetingRiskAnalysis_May2015.pdf" target="_blank"&gt;http://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Vancouver-User-Group/Gondara_CompetingRiskAnalysis_May2015.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2015 23:57:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/225326#M53923</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-09-13T23:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with the %CIF macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/225955#M53994</link>
      <description>&lt;P&gt;I just discovered the same problem, and it works just fine if you change those sinle quotes to double.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Previously I was using an older version of this macro I found online, and I didn't encounter the bug until I use the autocall version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I'm new here - where do I report this?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 22:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/225955#M53994</guid>
      <dc:creator>EastwoodDC</dc:creator>
      <dc:date>2015-09-16T22:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with the %CIF macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/225981#M53997</link>
      <description>Contact SAS tech support, open a track.</description>
      <pubDate>Thu, 17 Sep 2015 01:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/225981#M53997</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-09-17T01:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with the %CIF macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/226026#M54001</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After running the following command - this time with double quotes - the title stil wont change. Am I doing it wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;%&lt;SPAN class="lia-search-match-lithium"&gt;CIF&lt;/SPAN&gt; (DATA=final, TIME=follow_up, STATUS=hypertension, EVENT=1, censored=0, GROUP=case, TITLE="Survival data");&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2015 11:49:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/226026#M54001</guid>
      <dc:creator>ChrisMac</dc:creator>
      <dc:date>2015-09-17T11:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with the %CIF macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/226078#M54002</link>
      <description>I believe you need to modify the actual macro code not the macro call. In the code change the single quotes to double quotes.</description>
      <pubDate>Thu, 17 Sep 2015 15:37:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/226078#M54002</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-09-17T15:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with the %CIF macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/226222#M54013</link>
      <description>&lt;P&gt;On the old site the link was in the page footer. &amp;nbsp;On this new site click on the Contact link under the Connect column in the page footer. Then on that page click on the support link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/ctx/supportform/createForm" target="_blank"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2015 10:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/226222#M54013</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-09-18T10:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with the %CIF macro</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/261873#M57646</link>
      <description>&lt;P&gt;I encountered a different problem with the %CIF macro.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The error occurs if the Cumulative Incidence Function (CIF) ever reaches 1.0, which can occur if there are no competing or censored events in one of the groups. The EXP() function generates an error because it may be given a value larger than IML can evaluate. This occurs in the following code when cifEST[cifloc,2] is very close to 1.0:&lt;/P&gt;&lt;PRE&gt;lowci[cifloc] = cifEST[cifloc, 2]##exp((-z*cifEST[cifloc, 3]) /(cifEST[cifloc,2]#LOG(cifEST[cifloc,2]))); 
upci[cifloc] = cifEST[cifloc, 2]##exp((z*cifEST[cifloc, 3]) /(cifEST[cifloc,2]#LOG(cifEST[cifloc,2])));&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which occurs 3 times in the macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This error can be avoided by inserting a MIN() function to prevent an overly large number from being evaluated, as follows:&lt;/P&gt;&lt;PRE&gt;lowci[cifloc] = cifEST[cifloc, 2]##exp((-z*cifEST[cifloc, 3]) /&lt;STRONG&gt;min(9999999,&lt;/STRONG&gt;cifEST[cifloc,2]#LOG(cifEST[cifloc,2]))); 
upci[cifloc] = cifEST[cifloc, 2]##exp((z*cifEST[cifloc, 3]) /&lt;STRONG&gt;min(9999999,&lt;/STRONG&gt;cifEST[cifloc,2]#LOG(cifEST[cifloc,2]))); &lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Divide by zero warning can also occur here, but those do not cause the macro to fail.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2016 17:56:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-the-CIF-macro/m-p/261873#M57646</guid>
      <dc:creator>EastwoodDC</dc:creator>
      <dc:date>2016-04-06T17:56:10Z</dc:date>
    </item>
  </channel>
</rss>

