<?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 ODS and PROC LIFETEST in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-and-PROC-LIFETEST/m-p/61164#M7300</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'm generating Kaplan-Meier curves using PROC LIFETEST, with the following code, but have a few questions.  &lt;BR /&gt;
&lt;BR /&gt;
1) How do I avoid getting a log-rank p-value outputted onto the RTF? &lt;BR /&gt;
2) When I don't use ODS, and instead get a graph in SAS, the color scheme and lines I have specified are adhered to, but in ODS, a completely random set of colors/line patterns is used - why is this and how do I change it?&lt;BR /&gt;
3) Is it possible to remove the legend?&lt;BR /&gt;
&lt;BR /&gt;
Thanks so much! Code below.&lt;BR /&gt;
&lt;BR /&gt;
ods graphics on;&lt;BR /&gt;
ods rtf file = "\pathway\filename.rtf";&lt;BR /&gt;
ods noptitle;&lt;BR /&gt;
ods select survival;&lt;BR /&gt;
proc lifetest data=agegrp plots=(s) width=1 graphics;&lt;BR /&gt;
	time year*failure(1,2);&lt;BR /&gt;
	strata agegrp;&lt;BR /&gt;
	symbol1 v=none color=red line=1;&lt;BR /&gt;
	symbol2 v=none color=blue line=1;&lt;BR /&gt;
	symbol3 v=none color=green line=1;&lt;BR /&gt;
	symbol4 v=none color=orange line=1;&lt;BR /&gt;
	symbol5 v=none color=red line=2;&lt;BR /&gt;
	symbol6 v=none color=blue line=2;&lt;BR /&gt;
	symbol7 v=none color=green line=2;&lt;BR /&gt;
	symbol8 v=none color=orange line=2;&lt;BR /&gt;
	label year='Year';&lt;BR /&gt;
	title1 "Kaplan-Meier Estimates of Survival Function, By Age Group";&lt;BR /&gt;
	run;&lt;BR /&gt;
	ods rtf close;&lt;BR /&gt;
	ods graphics off;</description>
    <pubDate>Tue, 23 Feb 2010 03:29:53 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-02-23T03:29:53Z</dc:date>
    <item>
      <title>ODS and PROC LIFETEST</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-and-PROC-LIFETEST/m-p/61164#M7300</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'm generating Kaplan-Meier curves using PROC LIFETEST, with the following code, but have a few questions.  &lt;BR /&gt;
&lt;BR /&gt;
1) How do I avoid getting a log-rank p-value outputted onto the RTF? &lt;BR /&gt;
2) When I don't use ODS, and instead get a graph in SAS, the color scheme and lines I have specified are adhered to, but in ODS, a completely random set of colors/line patterns is used - why is this and how do I change it?&lt;BR /&gt;
3) Is it possible to remove the legend?&lt;BR /&gt;
&lt;BR /&gt;
Thanks so much! Code below.&lt;BR /&gt;
&lt;BR /&gt;
ods graphics on;&lt;BR /&gt;
ods rtf file = "\pathway\filename.rtf";&lt;BR /&gt;
ods noptitle;&lt;BR /&gt;
ods select survival;&lt;BR /&gt;
proc lifetest data=agegrp plots=(s) width=1 graphics;&lt;BR /&gt;
	time year*failure(1,2);&lt;BR /&gt;
	strata agegrp;&lt;BR /&gt;
	symbol1 v=none color=red line=1;&lt;BR /&gt;
	symbol2 v=none color=blue line=1;&lt;BR /&gt;
	symbol3 v=none color=green line=1;&lt;BR /&gt;
	symbol4 v=none color=orange line=1;&lt;BR /&gt;
	symbol5 v=none color=red line=2;&lt;BR /&gt;
	symbol6 v=none color=blue line=2;&lt;BR /&gt;
	symbol7 v=none color=green line=2;&lt;BR /&gt;
	symbol8 v=none color=orange line=2;&lt;BR /&gt;
	label year='Year';&lt;BR /&gt;
	title1 "Kaplan-Meier Estimates of Survival Function, By Age Group";&lt;BR /&gt;
	run;&lt;BR /&gt;
	ods rtf close;&lt;BR /&gt;
	ods graphics off;</description>
      <pubDate>Tue, 23 Feb 2010 03:29:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-and-PROC-LIFETEST/m-p/61164#M7300</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-23T03:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: ODS and PROC LIFETEST</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-and-PROC-LIFETEST/m-p/61165#M7301</link>
      <description>Hi:&lt;BR /&gt;
  See response here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=32650羊" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=32650羊&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 23 Feb 2010 16:42:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-and-PROC-LIFETEST/m-p/61165#M7301</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-02-23T16:42:19Z</dc:date>
    </item>
  </channel>
</rss>

