<?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: Wrong median survival time in proc lifetest in SAS ondemand in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751610#M236624</link>
    <description>&lt;P&gt;Running your program, I do not reproduce your results.&amp;nbsp; I get a range of 15,25 for median of group=1.&amp;nbsp; I get this via the ods pdf, using ods html, and in the results window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jul 2021 02:36:44 GMT</pubDate>
    <dc:creator>mkeintz</dc:creator>
    <dc:date>2021-07-02T02:36:44Z</dc:date>
    <item>
      <title>Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751609#M236623</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data toxic;
input time group event;
datalines;
18 0 1
23 0 1
25 0 1
26 0 1
29 0 0
30 0 1
30 0 1
31 0 1
31 0 0
32 0 0
13 1 1
13 1 1
15 1 1
17 1 1
17 1 0
18 1 1
18 1 1
21 1 1
23 1 1
23 1 0
24 1 1
25 1 1
25 1 1
;
run;

ods pdf file='/home/lrackley0/Biostatistical Methods II/lifetest.pdf';
proc lifetest data=toxic;
	time time*event(0);
	strata group;
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Can someone please run this code and tell me what you get for median survival time for group 1? The 95% CI for median should be (15,25) but I am getting (15,.). Can anyone explain this? Why is it getting the wrong result?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 01:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751609#M236623</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-07-02T01:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751610#M236624</link>
      <description>&lt;P&gt;Running your program, I do not reproduce your results.&amp;nbsp; I get a range of 15,25 for median of group=1.&amp;nbsp; I get this via the ods pdf, using ods html, and in the results window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 02:36:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751610#M236624</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2021-07-02T02:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751611#M236625</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31461"&gt;@mkeintz&lt;/a&gt;&amp;nbsp;Thanks. Do you have any idea what could account for the discrepancy? I swear my output says 15,.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it a bug in SAS? I've been staring at this a long time. It is driving me insane. I have no idea what is going on. I have a track open with SAS support.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 02:41:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751611#M236625</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-07-02T02:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751612#M236626</link>
      <description>&lt;P&gt;I had at first wondered if it was an ODS PDF problem, which is why I ran it also with ODS HTML.&amp;nbsp; &amp;nbsp;But that didn't seem to be the case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your case,&amp;nbsp;I would completely close down the SAS session, delete the PDF file, then reload the program, re-run, and re-view your new PDF file.&amp;nbsp; If that doesn't make it go away, perhaps someone else can diagnose.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 02:45:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751612#M236626</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2021-07-02T02:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751613#M236627</link>
      <description>&lt;P&gt;It makes no difference if i use pdf or not. I always get 15,. and other people are getting 15,25. I don't get the difference. I will wait for SAS support I guess.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 02:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751613#M236627</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-07-02T02:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751656#M236647</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/181158"&gt;@tarheel13&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the missing upper CL for the median the only discrepancy while all other statistics are correct? That would be strange. At least the upper CL for the third quartile should then be missing as well to be "consistent."&lt;/P&gt;
&lt;PRE&gt;The LIFETEST Procedure

Stratum 2: group = 1

                 Product-Limit Survival Estimates

                                     Survival
                                     Standard    Number    Number
    time     Survival    Failure      Error      Failed     Left

  0.0000       1.0000           0           0       0        13
 13.0000            .           .           .       1        12
 13.0000       0.8462      0.1538      0.1001       2        11
 15.0000       0.7692      0.2308      0.1169       3        10
 17.0000       0.6923      0.3077      0.1280       4         9
 17.0000*           .           .           .       4         8
 18.0000            .           .           .       5         7
 18.0000       0.5192      0.4808      0.1430       6         6
 21.0000       0.4327      0.5673      0.1430       7         5
 23.0000       0.3462      0.6538      0.1381       8         4
 23.0000*           .           .           .       8         3
 24.0000       0.2308      0.7692      0.1317       9         2
 25.0000            .           .           .      10         1
 25.0000            0      1.0000           .      11         0

NOTE: The marked survival times are censored observations.


Summary Statistics for Time Variable time

                   Quartile Estimates

              Point         95% Confidence Interval
Percent    Estimate    Transform      [Lower      Upper)

     75     24.0000    LOGLOG        18.0000     25.0000
     50     21.0000    LOGLOG        15.0000     &lt;STRONG&gt;25.0000&lt;/STRONG&gt;
     25     17.0000    LOGLOG        13.0000     21.0000


            Standard
    Mean       Error

 19.9231      1.3017


      Summary of the Number of Censored and Uncensored Values

                                                            Percent
Stratum           group       Total  Failed    Censored    Censored

      1               0          10       7           3       30.00
      2               1          13      11           2       15.38
-------------------------------------------------------------------
  Total                          23      18           5       21.74&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Jul 2021 08:56:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751656#M236647</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-07-02T08:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751709#M236674</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am pasting my output. I am still waiting for someone who would be able to resolve this. I've never seen anything like it and no one I asked has been able to account for the discrepancy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="table" aria-label="Quartiles of the Survival Distribution"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;75&lt;/TH&gt;
&lt;TD class="r data"&gt;24.0000&lt;/TD&gt;
&lt;TD class="data"&gt;LOGLOG&lt;/TD&gt;
&lt;TD class="r data"&gt;18.0000&lt;/TD&gt;
&lt;TD class="r data"&gt;.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;50&lt;/TH&gt;
&lt;TD class="r data"&gt;21.0000&lt;/TD&gt;
&lt;TD class="data"&gt;LOGLOG&lt;/TD&gt;
&lt;TD class="r data"&gt;15.0000&lt;/TD&gt;
&lt;TD class="r data"&gt;.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;25&lt;/TH&gt;
&lt;TD class="r data"&gt;17.0000&lt;/TD&gt;
&lt;TD class="data"&gt;LOGLOG&lt;/TD&gt;
&lt;TD class="r data"&gt;13.0000&lt;/TD&gt;
&lt;TD class="r data"&gt;21.0000&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Fri, 02 Jul 2021 12:10:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751709#M236674</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-07-02T12:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751745#M236688</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/181158"&gt;@tarheel13&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am pasting my output. I am still waiting for someone who would be able to resolve this. I've never seen anything like it and no one I asked has been able to account for the discrepancy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="table" aria-label="Quartiles of the Survival Distribution"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;75&lt;/TH&gt;
&lt;TD class="r data"&gt;24.0000&lt;/TD&gt;
&lt;TD class="data"&gt;LOGLOG&lt;/TD&gt;
&lt;TD class="r data"&gt;18.0000&lt;/TD&gt;
&lt;TD class="r data"&gt;.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;50&lt;/TH&gt;
&lt;TD class="r data"&gt;21.0000&lt;/TD&gt;
&lt;TD class="data"&gt;LOGLOG&lt;/TD&gt;
&lt;TD class="r data"&gt;15.0000&lt;/TD&gt;
&lt;TD class="r data"&gt;.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;25&lt;/TH&gt;
&lt;TD class="r data"&gt;17.0000&lt;/TD&gt;
&lt;TD class="data"&gt;LOGLOG&lt;/TD&gt;
&lt;TD class="r data"&gt;13.0000&lt;/TD&gt;
&lt;TD class="r data"&gt;21.0000&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How strange. So, at least the upper CL for the third quartile is also missing. But the other parts of the output, i.e. Mean, Standard Error, Survival Estimates and Censored Summary are &lt;EM&gt;exactly&lt;/EM&gt; the same as shown in my output?&lt;/P&gt;
&lt;P&gt;For example, your quartile estimates (and CLs) would be correct for a dataset where just the last two values of variable EVENT were changed from 1 to 0. But, of course, this change would affect other statistics as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other things one could check in this situation:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Does the Kaplan-Meier plot look suspicious?&lt;/LI&gt;
&lt;LI&gt;Have the ODS templates been modified?&lt;/LI&gt;
&lt;LI&gt;Can examples from the documentation be reproduced?&lt;/LI&gt;
&lt;LI&gt;What happens if data and code are simplified step by step? First step: Excluding group 0 and removing the STRATA statement should not change the results for group 1.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 14:32:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751745#M236688</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-07-02T14:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751760#M236695</link>
      <description>&lt;P&gt;I did not touch any templates. Plot looks good to me.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31461"&gt;@mkeintz&lt;/a&gt;&amp;nbsp;mind telling me what version of SAS you guys are using? I tried SAS OnDemand and DM SAS. I am going to show you the response I got from SAS support. It seems to be something with a hot fix. My question is which one is correct? So I actually work as a statistical programmer and even though this was just for class, it's very important for me to get the right numbers in tables. I wouldn't want to put 25 if it was actually NE (not estimable).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You didn't say what releases of&amp;nbsp;&lt;SPAN class="il"&gt;SAS&lt;/SPAN&gt;&amp;nbsp;are involved here but one I think must be SAS9.4 TS1M6 = &amp;nbsp;&lt;SPAN class="il"&gt;SAS&lt;/SPAN&gt;/STAT 15.1 with a Hot Fix applied for a bug with the quartile upper confidence limits (quartile UCL) or it could be SAS9.4 (TS1M7) =&amp;nbsp;&lt;SPAN class="il"&gt;SAS&lt;/SPAN&gt;/STAT 15.2 where the bug is fixed. &amp;nbsp;I think this would be for your system which is showing missing quartile UCL apparently.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, I think I can explain why some quartile upper confidence limits (quartile UCL) may have changed to missing in SAS9.4 (TS1M6) =&amp;nbsp;&lt;SPAN class="il"&gt;SAS&lt;/SPAN&gt;/STAT 15.1 or in SAS9.4 (TS1M7) =&amp;nbsp;&lt;SPAN class="il"&gt;SAS&lt;/SPAN&gt;/STAT 15.2.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I suspect that your system has had the Hot Fix discussed on the Hot Fix tab in the following&amp;nbsp;&lt;SPAN class="il"&gt;SAS&lt;/SPAN&gt;&amp;nbsp;Note applied which could cause the quartile UCL to change in 15.1; see the Hot Fix tab in the following&amp;nbsp;&lt;SPAN class="il"&gt;SAS&lt;/SPAN&gt;&amp;nbsp;Note:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Problem Note 64617: The LIFETEST procedure produces incorrect upper confidence limits for the quartiles for certain data&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://urldefense.com/v3/__https:/support.sas.com/kb/64/617.html__;!!Dq7g1IpY!zBikepfYG6snR97uLUGNZU6FZFcuWDaChAVHJuJAHX0S8vDhJG1Y0ifLRSHEjZWbSnNU$" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://urldefense.com/v3/__https:/support.sas.com/kb/64/617.html__;!!Dq7g1IpY!zBikepfYG6snR97uLUGNZU6FZFcuWDaChAVHJuJAHX0S8vDhJG1Y0ifLRSHEjZWbSnNU$&amp;amp;source=gmail&amp;amp;ust=1625325129093000&amp;amp;usg=AFQjCNElxY5UqXXIFcYUL_K4znmZxpHICA"&gt;https://&lt;SPAN class="il"&gt;support&lt;/SPAN&gt;.&lt;SPAN class="il"&gt;sas&lt;/SPAN&gt;.com/kb/64/&lt;WBR /&gt;617.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Often we see that after the Hot Fix is applied that some &amp;nbsp;quartile UCL do not exist and are then reported as missing but this does not rule out other changes as well. &amp;nbsp;Note that the Hot Fix is specific to SAS9.4 (TS1M6) =&amp;nbsp;&lt;SPAN class="il"&gt;SAS&lt;/SPAN&gt;/STAT 15.1 and your professor should try applying it in that release.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 15:13:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751760#M236695</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-07-02T15:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751806#M236719</link>
      <description>&lt;P&gt;Now that you mention it, I remember that I had heard about this (somewhat alarming) Problem Note 64617, but I haven't applied the hot fix. I'm using SAS 9.4 (TS1M&lt;STRONG&gt;5&lt;/STRONG&gt;) with SAS/STAT 14.3, so my printed results might be wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Indeed, a manual calculation of the upper CL for the median suggests that it is &lt;EM&gt;not estimable and hence should really be missing&lt;/EM&gt;:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The calculation described in section &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_lifetest_details03.htm" target="_blank" rel="noopener"&gt;Breslow, Fleming-Harrington, and Kaplan-Meier Methods&lt;/A&gt; of the documentation yields &lt;FONT face="courier new,courier"&gt;abs(...)&lt;/FONT&gt; values which are &amp;lt;1.95996... for event times t=15 (i.e., this is the lower CL) through t=24 (where &lt;FONT face="courier new,courier"&gt;abs(...)=1.92...&lt;/FONT&gt;) and not defined for t=25. This might still be regarded consistent with an upper CL of 25, but the definition continues with a peculiar turn: Suddenly, it considers "the&amp;nbsp;curve that represents the upper confidence limits for the survivor function."&lt;/LI&gt;
&lt;LI&gt;This leads us to section&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_lifetest_details08.htm" target="_blank" rel="noopener"&gt;Pointwise Confidence Limits in the OUTSURV= Data Set&lt;/A&gt; of the documentation. The manual calculation of that upper CL for the survivor function at t=24 yields 0.5047... (as is confirmed by the OUTSURV= dataset, variable SDF_UCL) and "not defined" for t=25 (OUTSURV= dataset has a trivial SDF_UCL=0 there). So, it appears that no non-trivial upper CL (of the SDF) drops below 0.5, which they say prevents the estimation of the upper CL of the median survival time.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Yet, strangely enough, the second condition of &lt;A href="https://support.sas.com/kb/64/617.html" target="_blank" rel="noopener"&gt;Problem Note 64617&lt;/A&gt; is &lt;EM&gt;not&lt;/EM&gt; met: The largest event time, t=25, is &lt;EM&gt;not&lt;/EM&gt; "the first time the survival estimate drops below (1-p) for the 100pth percentile point," i.e., below 0.5. It's t=&lt;EM&gt;21&lt;/EM&gt; where that happens (0.43...).&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 18:58:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751806#M236719</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-07-02T18:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751812#M236723</link>
      <description>&lt;P&gt;I actually saved a CSV and ran this in R with survfit and also got NE so I'm inclined to believe that NE is more correct. It is kind of strange though. I don't really know how to apply the hot fix but I think I have a later version of SAS. I think the hot fix is not widely known. I think I will stop worrying about this but wish that it was more reliable and that all 3 of us got the same results.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 19:30:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751812#M236723</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-07-02T19:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong median survival time in proc lifetest in SAS ondemand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751815#M236724</link>
      <description>&lt;P&gt;I am using SAS 9.4 (TS1M6)&amp;nbsp; and SAS/STAT 15.1.&amp;nbsp; &amp;nbsp;I haven't done any hotfixes.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 19:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wrong-median-survival-time-in-proc-lifetest-in-SAS-ondemand/m-p/751815#M236724</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2021-07-02T19:36:39Z</dc:date>
    </item>
  </channel>
</rss>

