<?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 output missing the LEFT column in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889691#M82889</link>
    <description>Interesting, probably  a leftover from an older version of SAS. &lt;BR /&gt;&lt;BR /&gt;If you can see it in the ODS output, use this method to capture that table:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html&lt;/A&gt;</description>
    <pubDate>Thu, 17 Aug 2023 15:45:22 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2023-08-17T15:45:22Z</dc:date>
    <item>
      <title>proc lifetest output missing the LEFT column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889681#M82886</link>
      <description>&lt;P&gt;Hi everyone, hopefully someone can help me out with this puzzle.&lt;/P&gt;&lt;P&gt;I'm using a Proc Lifetest with the following setup:&lt;/P&gt;&lt;PRE&gt;proc lifetest data =getdata(where=(aval^=.)) timelist = (3 6 9 12 18) alpha = 0.05;
    time aval * CNSR(1);
    by TRTGRPN;
    survival out = atrisk conftype = loglog reduceout;
run;&lt;/PRE&gt;&lt;P&gt;For whatever reason the number of survivors at each timepoint from the list (the LEFT column) is being suppressed, even though NOLEFT option is not specified. I'm confused why this is happening, since the survival % is calculated just fine.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 14:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889681#M82886</guid>
      <dc:creator>SSimonov</dc:creator>
      <dc:date>2023-08-17T14:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest output missing the LEFT column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889682#M82887</link>
      <description>&lt;P&gt;Which output, the displayed output or a table?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your code appears to have some syntax errors, survival isn't a valid statement.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;    survival out = atrisk conftype = loglog reduceout;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Can you post the log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Documentation for lifetest:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/statug/15.2/statug_lifetest_syntax.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/statug/15.2/statug_lifetest_syntax.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/401649"&gt;@SSimonov&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi everyone, hopefully someone can help me out with this puzzle.&lt;/P&gt;
&lt;P&gt;I'm using a Proc Lifetest with the following setup:&lt;/P&gt;
&lt;PRE&gt;proc lifetest data =getdata(where=(aval^=.)) timelist = (3 6 9 12 18) alpha = 0.05;
    time aval * CNSR(1);
    by TRTGRPN;
    survival out = atrisk conftype = loglog reduceout;
run;&lt;/PRE&gt;
&lt;P&gt;For whatever reason the number of survivors at each timepoint from the list (the LEFT column) is being suppressed, even though NOLEFT option is not specified. I'm confused why this is happening, since the survival % is calculated just fine.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 15:00:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889682#M82887</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-08-17T15:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest output missing the LEFT column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889688#M82888</link>
      <description>&lt;P&gt;The Survival statement is what was left by previous programmer, the idea behind it's use is unclear to me.&lt;/P&gt;&lt;P&gt;Here's the log after the procedure's execution:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;2023      +proc lifetest data =getdata(where=(aval^=.)) timelist = (3 6 9 12 18) alpha = 0.05;
MPRINT(SCSM):   proc lifetest data =getdata(where=(aval^=.)) timelist = (3 6 9 12 18) alpha = 0.05;
2024      +   time aval * CNSR(1);
MPRINT(SCSM):   time aval * CNSR(1);
2025      +   by TRTGRPN;
MPRINT(SCSM):   by TRTGRPN;
2026      +   survival out = atrisk conftype = loglog reduceout;
MPRINT(SCSM):   survival out = atrisk conftype = loglog reduceout;
2027      +run;
MPRINT(SCSM):   run;

NOTE: The data set WORK.ATRISK has 35 observations and 8 variables.
NOTE: The PROCEDURE LIFETEST printed pages 26-32.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The ODS output contains Left and Failed numbers, but I need them in the dataset.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 15:40:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889688#M82888</guid>
      <dc:creator>SSimonov</dc:creator>
      <dc:date>2023-08-17T15:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest output missing the LEFT column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889691#M82889</link>
      <description>Interesting, probably  a leftover from an older version of SAS. &lt;BR /&gt;&lt;BR /&gt;If you can see it in the ODS output, use this method to capture that table:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html&lt;/A&gt;</description>
      <pubDate>Thu, 17 Aug 2023 15:45:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889691#M82889</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-08-17T15:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest output missing the LEFT column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889716#M82890</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Interesting, probably a leftover from an older version of SAS.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Exactly. The SURVIVAL statement appears to have been introduced in SAS 9.0 (cf. SAS/STAT® 9.1 User’s Guide linked in&amp;nbsp;&lt;A href="https://support.sas.com/documentation/onlinedoc/91pdf/index_913.html" target="_blank" rel="noopener"&gt;SAS 9.1.3 Documentation&lt;/A&gt;), but in version 9.2 its options were moved to the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_lifetest_syntax01.htm" target="_blank" rel="noopener"&gt;PROC LIFETEST statement&lt;/A&gt; (with OUT= renamed to &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_lifetest_syntax01.htm#statug.lifetest.lftoutsurv" target="_blank" rel="noopener"&gt;OUTSURV=&lt;/A&gt;, alias: OUTS=), of course leaving the old statement valid. This change, although 15 years old, is still mentioned even in the latest SAS Viya documentation (see penultimate paragraph of&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_042/statug/statug_lifetest_overview.htm" target="_blank" rel="noopener"&gt;Overview: LIFETEST Procedure&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 18:08:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889716#M82890</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-08-17T18:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest output missing the LEFT column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889801#M82891</link>
      <description>&lt;P&gt;Totally forgot about this and it worked perfectly.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 07:31:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-lifetest-output-missing-the-LEFT-column/m-p/889801#M82891</guid>
      <dc:creator>SSimonov</dc:creator>
      <dc:date>2023-08-18T07:31:27Z</dc:date>
    </item>
  </channel>
</rss>

