<?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: Cumhaz plot in PROC PHREG in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Cumhaz-plot-in-PROC-PHREG/m-p/229123#M12088</link>
    <description>&lt;P&gt;I might be misunderstanding, but try OVERLAY=ROW:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc phreg data=LBW plots(overlay=row)=cumhaz;
model Time*Low(0)= LWT Smoke HT UI / ties=discrete;
strata Age;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The various options are &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_phreg_syntax01.htm" target="_self"&gt;documented in the PROC PHREG statement&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Oct 2015 14:00:52 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2015-10-08T14:00:52Z</dc:date>
    <item>
      <title>Cumhaz plot in PROC PHREG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cumhaz-plot-in-PROC-PHREG/m-p/229116#M12087</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a dataset with two groups (treatment=YES and treatment=NO) and time to failure&lt;/P&gt;
&lt;P&gt;I am trying to create a cumhaz plot in PROC PHREG where treatment YES and NO are presented in two separate plots but in the same graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to use stratum/bystatum but I only get a compined hazard plot for both treatment groups.&lt;/P&gt;
&lt;P&gt;Does anyone know what I am doing wrong? I post my code below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS graphics on;&lt;BR /&gt;proc phreg data = MY_DATA plots(overlay=stratum)=cumhaz;&lt;BR /&gt;model time*fail(0)=trt ps&amp;nbsp; /rl ;&lt;BR /&gt;strata=trt;&lt;BR /&gt;run;&lt;BR /&gt;ODS graphics off;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:44:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cumhaz-plot-in-PROC-PHREG/m-p/229116#M12087</guid>
      <dc:creator>bollibompa</dc:creator>
      <dc:date>2015-10-08T13:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cumhaz plot in PROC PHREG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cumhaz-plot-in-PROC-PHREG/m-p/229123#M12088</link>
      <description>&lt;P&gt;I might be misunderstanding, but try OVERLAY=ROW:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc phreg data=LBW plots(overlay=row)=cumhaz;
model Time*Low(0)= LWT Smoke HT UI / ties=discrete;
strata Age;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The various options are &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_phreg_syntax01.htm" target="_self"&gt;documented in the PROC PHREG statement&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2015 14:00:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cumhaz-plot-in-PROC-PHREG/m-p/229123#M12088</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-10-08T14:00:52Z</dc:date>
    </item>
  </channel>
</rss>

