<?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: proc lifetest, strata in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-strata/m-p/65118#M18552</link>
    <description>the simple way is to change the format to "1:  Early", etc.  If you don't want it to show in the printout, you could prefix the word with non-printable characters to effect the sort order.</description>
    <pubDate>Tue, 09 Dec 2008 17:42:27 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2008-12-09T17:42:27Z</dc:date>
    <item>
      <title>proc lifetest, strata</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-strata/m-p/65117#M18551</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have following format for the variable stadium:&lt;BR /&gt;
PROC FORMAT ;&lt;BR /&gt;
  value stage 1 = "early"&lt;BR /&gt;
  		    2 = "intermediate"&lt;BR /&gt;
		    3 = "advanced";&lt;BR /&gt;
Run;&lt;BR /&gt;
data comparison;&lt;BR /&gt;
  set comparison;&lt;BR /&gt;
  format stadium stage.;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
and when I run the lifetest procedure:&lt;BR /&gt;
proc lifetest data=comparison  method=km  alpha=0.05   ;&lt;BR /&gt;
      time sv*tod_yn(0);&lt;BR /&gt;
      strata stadium;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
when I am using this code, I have folloing stratum&lt;BR /&gt;
stratum 1 : stadium=advanced&lt;BR /&gt;
stratum 2 : stadium=early&lt;BR /&gt;
stratum 3 : stadium=intermediate&lt;BR /&gt;
(it is ordered alphabetisch) &lt;BR /&gt;
&lt;BR /&gt;
I would like to have following:&lt;BR /&gt;
stratum 1 : stadium=early&lt;BR /&gt;
stratum 2 : stadium=intermediate&lt;BR /&gt;
stratum 3 : stadium=advanced&lt;BR /&gt;
(ordered after the values of the variable stadium 1,2,3).&lt;BR /&gt;
&lt;BR /&gt;
can you please tell me what I should do to get the stratum I would like to have.&lt;BR /&gt;
&lt;BR /&gt;
Thank you so much for you help</description>
      <pubDate>Tue, 09 Dec 2008 11:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-strata/m-p/65117#M18551</guid>
      <dc:creator>cogi</dc:creator>
      <dc:date>2008-12-09T11:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest, strata</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-strata/m-p/65118#M18552</link>
      <description>the simple way is to change the format to "1:  Early", etc.  If you don't want it to show in the printout, you could prefix the word with non-printable characters to effect the sort order.</description>
      <pubDate>Tue, 09 Dec 2008 17:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-strata/m-p/65118#M18552</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2008-12-09T17:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest, strata</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-strata/m-p/65119#M18553</link>
      <description>thank you so much for your answer,&lt;BR /&gt;
&lt;BR /&gt;
but I do not want to habe "1: early"...etc ( I already try this way, but it is not what I want, because I use it too to graph!)  ....how can I prefix the word with non-printable characters ?&lt;BR /&gt;
&lt;BR /&gt;
thanks for you help</description>
      <pubDate>Wed, 10 Dec 2008 09:23:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-strata/m-p/65119#M18553</guid>
      <dc:creator>cogi</dc:creator>
      <dc:date>2008-12-10T09:23:44Z</dc:date>
    </item>
  </channel>
</rss>

