<?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 plot of censored observation  in K-M curve in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35728#M1122</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; As per the docs for ods graphics option you're looking for the nocensor option. The options vary by the output type, ie ods graphics and traditional graphics. the nocensplot is for lineprinter not ODS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read the very fine buried print &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following, works on my comp. SAS 9.2.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;BR /&gt;proc lifetest data=BMT plots=survival(atrisk=0 to 2500 by 500 NOCensor) ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; time T * Status(0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; strata Group;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics off;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2011 18:17:50 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2011-11-04T18:17:50Z</dc:date>
    <item>
      <title>plot of censored observation  in K-M curve</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35727#M1121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm trying to draw a Kaplan-Meier Curve without the plot of censored observations by using proc lifetest (The SAS code is as follows). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the NOCENSPLOT option does not work well on&amp;nbsp; my environment (SAS ver.9.2.), though the plot of censored observations can be &lt;SPAN class="st"&gt;suppressed&lt;/SPAN&gt; by using CENSOREDSYMBOL option (i.e. CENSOREDSYMBOL=none). Why is this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, if the ODS GRAPHICS&amp;nbsp; option is specified (i.e. "ods graphics on;"), the plot of censored observations cannot be &lt;SPAN class="st"&gt;suppressed&lt;/SPAN&gt; by using NOCENSPLOT option or CENSOREDSYMBOL option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get the K-M curve without the plot of censored observations when the ODS GRAPHICS option is specified?&lt;/P&gt;&lt;P&gt;I'd appreciate it if someone would tell me how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; value risk 1='ALL' 2='AML-Low Risk' 3='AML-High Risk';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data BMT;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; input Group T Status @@;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; format Group risk.;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; label T='Disease Free Time';&lt;BR /&gt;&amp;nbsp;&amp;nbsp; datalines;&lt;BR /&gt;1 2081 0 1 1602 0 1 1496 0 1 1462 0 1 1433 0&lt;BR /&gt;1 1377 0 1 1330 0 1&amp;nbsp; 996 0 1&amp;nbsp; 226 0 1 1199 0&lt;BR /&gt;1 1111 0 1&amp;nbsp; 530 0 1 1182 0 1 1167 0 1&amp;nbsp; 418 1&lt;BR /&gt;1&amp;nbsp; 383 1 1&amp;nbsp; 276 1 1&amp;nbsp; 104 1 1&amp;nbsp; 609 1 1&amp;nbsp; 172 1&lt;BR /&gt;1&amp;nbsp; 487 1 1&amp;nbsp; 662 1 1&amp;nbsp; 194 1 1&amp;nbsp; 230 1 1&amp;nbsp; 526 1&lt;BR /&gt;1&amp;nbsp; 122 1 1&amp;nbsp; 129 1 1&amp;nbsp;&amp;nbsp; 74 1 1&amp;nbsp; 122 1 1&amp;nbsp;&amp;nbsp; 86 1&lt;BR /&gt;1&amp;nbsp; 466 1 1&amp;nbsp; 192 1 1&amp;nbsp; 109 1 1&amp;nbsp;&amp;nbsp; 55 1 1&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 1&lt;BR /&gt;1&amp;nbsp; 107 1 1&amp;nbsp; 110 1 1&amp;nbsp; 332 1 2 2569 0 2 2506 0&lt;BR /&gt;2 2409 0 2 2218 0 2 1857 0 2 1829 0 2 1562 0&lt;BR /&gt;2 1470 0 2 1363 0 2 1030 0 2&amp;nbsp; 860 0 2 1258 0&lt;BR /&gt;2 2246 0 2 1870 0 2 1799 0 2 1709 0 2 1674 0&lt;BR /&gt;2 1568 0 2 1527 0 2 1324 0 2&amp;nbsp; 957 0 2&amp;nbsp; 932 0&lt;BR /&gt;2&amp;nbsp; 847 0 2&amp;nbsp; 848 0 2 1850 0 2 1843 0 2 1535 0&lt;BR /&gt;2 1447 0 2 1384 0 2&amp;nbsp; 414 1 2 2204 1 2 1063 1&lt;BR /&gt;2&amp;nbsp; 481 1 2&amp;nbsp; 105 1 2&amp;nbsp; 641 1 2&amp;nbsp; 390 1 2&amp;nbsp; 288 1&lt;BR /&gt;2&amp;nbsp; 421 1 2&amp;nbsp;&amp;nbsp; 79 1 2&amp;nbsp; 748 1 2&amp;nbsp; 486 1 2&amp;nbsp;&amp;nbsp; 48 1&lt;BR /&gt;2&amp;nbsp; 272 1 2 1074 1 2&amp;nbsp; 381 1 2&amp;nbsp;&amp;nbsp; 10 1 2&amp;nbsp;&amp;nbsp; 53 1&lt;BR /&gt;2&amp;nbsp;&amp;nbsp; 80 1 2&amp;nbsp;&amp;nbsp; 35 1 2&amp;nbsp; 248 1 2&amp;nbsp; 704 1 2&amp;nbsp; 211 1&lt;BR /&gt;2&amp;nbsp; 219 1 2&amp;nbsp; 606 1 3 2640 0 3 2430 0 3 2252 0&lt;BR /&gt;3 2140 0 3 2133 0 3 1238 0 3 1631 0 3 2024 0&lt;BR /&gt;3 1345 0 3 1136 0 3&amp;nbsp; 845 0 3&amp;nbsp; 422 1 3&amp;nbsp; 162 1&lt;BR /&gt;3&amp;nbsp;&amp;nbsp; 84 1 3&amp;nbsp; 100 1 3&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 1 3&amp;nbsp;&amp;nbsp; 47 1 3&amp;nbsp; 242 1&lt;BR /&gt;3&amp;nbsp; 456 1 3&amp;nbsp; 268 1 3&amp;nbsp; 318 1 3&amp;nbsp;&amp;nbsp; 32 1 3&amp;nbsp; 467 1&lt;BR /&gt;3&amp;nbsp;&amp;nbsp; 47 1 3&amp;nbsp; 390 1 3&amp;nbsp; 183 1 3&amp;nbsp; 105 1 3&amp;nbsp; 115 1&lt;BR /&gt;3&amp;nbsp; 164 1 3&amp;nbsp;&amp;nbsp; 93 1 3&amp;nbsp; 120 1 3&amp;nbsp;&amp;nbsp; 80 1 3&amp;nbsp; 677 1&lt;BR /&gt;3&amp;nbsp;&amp;nbsp; 64 1 3&amp;nbsp; 168 1 3&amp;nbsp;&amp;nbsp; 74 1 3&amp;nbsp;&amp;nbsp; 16 1 3&amp;nbsp; 157 1&lt;BR /&gt;3&amp;nbsp; 625 1 3&amp;nbsp;&amp;nbsp; 48 1 3&amp;nbsp; 273 1 3&amp;nbsp;&amp;nbsp; 63 1 3&amp;nbsp;&amp;nbsp; 76 1&lt;BR /&gt;3&amp;nbsp; 113 1 3&amp;nbsp; 363 1&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc lifetest data=BMT plots=survival(atrisk=0 to 2500 by 500) NOCENSPLOT;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; time T * Status(0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; strata Group;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc lifetest data=BMT plots=survival(atrisk=0 to 2500 by 500) CENSOREDSYMBOL=NONE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; time T * Status(0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; strata Group;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;BR /&gt;proc lifetest data=BMT plots=survival(atrisk=0 to 2500 by 500) CENSOREDSYMBOL=NONE;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; time T * Status(0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; strata Group;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics off;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 07:25:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35727#M1121</guid>
      <dc:creator>Yasu</dc:creator>
      <dc:date>2011-10-27T07:25:46Z</dc:date>
    </item>
    <item>
      <title>plot of censored observation  in K-M curve</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35728#M1122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; As per the docs for ods graphics option you're looking for the nocensor option. The options vary by the output type, ie ods graphics and traditional graphics. the nocensplot is for lineprinter not ODS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read the very fine buried print &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following, works on my comp. SAS 9.2.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;BR /&gt;proc lifetest data=BMT plots=survival(atrisk=0 to 2500 by 500 NOCensor) ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; time T * Status(0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; strata Group;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics off;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 18:17:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35728#M1122</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2011-11-04T18:17:50Z</dc:date>
    </item>
    <item>
      <title>plot of censored observation  in K-M curve</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35729#M1123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Reeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your helpful advice!&lt;/P&gt;&lt;P&gt;I really appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 06:03:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35729#M1123</guid>
      <dc:creator>Yasu</dc:creator>
      <dc:date>2011-11-10T06:03:30Z</dc:date>
    </item>
    <item>
      <title>plot of censored observation  in K-M curve</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35730#M1124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Reeza: I tried the code you provided, it works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the question is, how if we are not removing those censored symbol '+', but changing them to 'Dot's?&lt;/P&gt;&lt;P&gt;I don't see any option for changing cencored symbols.&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 22:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35730#M1124</guid>
      <dc:creator>Ken_oy</dc:creator>
      <dc:date>2012-01-20T22:32:42Z</dc:date>
    </item>
    <item>
      <title>plot of censored observation  in K-M curve</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35731#M1125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using the default SAS graphics you can change the censored symbol (check the docs for this option).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using ODS graphics then you need to modify the templates. Fortunately its a fairly easy change. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get your template using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;source Stat.Lifetest.Graphics.Productlimitsurvival;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appeaers in your log. Copy the template and put proc template at the start and a run at the end. &lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;copied code goes here;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Then find and change the following part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (PLOTCENSORED=1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scatterplot y=CENSORED x=TIME / markerattrs=(symbol=plus size=8px) name="Censored" legendlabel="Censored";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It'll be in the code twice so make sure you change both locations. You're looking to change the symbol=plus to whatever you need it to be. You might need to play with it, but if you make a mistake, just delete it (see below) and start over.&lt;/P&gt;&lt;P&gt;When you're done, delete your template from the 'library' by using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delete Stat.Lifetest.Graphics.Productlimitsurvival;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 23:08:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35731#M1125</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-01-20T23:08:25Z</dc:date>
    </item>
    <item>
      <title>plot of censored observation  in K-M curve</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35732#M1126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can also see SAS modifieable template here:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_templt_a0000000062.htm"&gt;http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_templt_a0000000062.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 23:10:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/plot-of-censored-observation-in-K-M-curve/m-p/35732#M1126</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-01-20T23:10:20Z</dc:date>
    </item>
  </channel>
</rss>

