<?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: Median survival time in Lifetest procedure in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Median-survival-time-in-Lifetest-procedure/m-p/758992#M36961</link>
    <description>&lt;P&gt;Hallo&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/391952"&gt;@Frank_Furter&lt;/a&gt;&amp;nbsp;and welcome to the SAS Support Communities!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, these results can be correct. &lt;EM&gt;Censoring&lt;/EM&gt; is the key. While the&amp;nbsp;&lt;SPAN&gt;event of interest may occur in less than 50% of the subjects, the &lt;EM&gt;Kaplan-Meier survival estimate can&lt;/EM&gt; drop below 50% due to censored observations and thus allow for a valid estimate of the median survival time. The corresponding 95% confidence interval can be complete, but a missing upper confidence limit (CL) can occur as well. It's also possible that only a lower CL is available while both the point estimate and the upper CL are missing. Please see the 2020 thread "&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Why-did-I-get-confidence-intervals-without-a-estimate/m-p/646614" target="_blank" rel="noopener"&gt;Why did I get confidence intervals without a estimate?&lt;/A&gt;" for an explanation and a link to the formulas in the documentation. (The question there was about the 75% quantile, but &lt;/SPAN&gt;&lt;SPAN&gt;the same arguments hold for the median.)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I've made up an example dataset HAVE with three subgroups (&lt;FONT face="courier new,courier"&gt;grp=1, 2, 3&lt;/FONT&gt;), all of which contain more censored observations (&lt;FONT face="courier new,courier"&gt;cens=1&lt;/FONT&gt;) than subjects with an event (&lt;FONT face="courier new,courier"&gt;cens=0&lt;/FONT&gt;). They exhibit three different situations with regard to the median survival estimate:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;           Point   95% Confidence Interval
Group   Estimate      [Lower      Upper)

  1      55.0000     40.0000     65.0000
  2      40.0000     15.0000       .
  3        .          5.0000       .&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
grp=1;
do time=5 to 70 by 5;
  cens=(time&amp;lt;40 | time=70);
  output;
end;
grp=2;
do time=5 to 50 by 5;
  cens=(time ~in (15,30,40));
  output;
end;
grp=3;
do time=5 to 50 by 5;
  cens=(time ~in (5,10,20));
  output;
end;
run;

proc lifetest data=have plots=survival;
time time*cens(1);
strata grp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;      Summary of the Number of Censored and Uncensored Values

                                                            Percent
Stratum             grp       Total  Failed    Censored    Censored

      1               1          14       6           8       57.14
      2               2          10       3           7       70.00
      3               3          10       3           7       70.00
-------------------------------------------------------------------
  Total                          34      12          22       64.71&lt;/PRE&gt;
&lt;P&gt;Kaplan-Meier curves:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KM_Plot.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62213iD44F01940D41D3DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="KM_Plot.png" alt="KM_Plot.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, it makes a difference whether the censored observations tend to occur early (as in group 1) or rather late (as in group 3). Group 2 is in between.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It should be noted that there was a bug (!) in SAS releases up to 9.4M6 (fixed in 9.4M7) which caused incorrect upper confidence limits for quantiles of the survival distribution &lt;EM&gt;in certain situations&lt;/EM&gt;.&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;This is described in&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://support.sas.com/kb/64/617.html" target="_blank" rel="noopener"&gt;Problem Note 64617&lt;/A&gt;&lt;SPAN style="font-family: inherit;"&gt;. The example above is not affected by this bug, although produced with SAS 9.4M5.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Aug 2021 12:45:50 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2021-08-03T12:45:50Z</dc:date>
    <item>
      <title>Median survival time in Lifetest procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Median-survival-time-in-Lifetest-procedure/m-p/758867#M36950</link>
      <description>&lt;P&gt;I would like to start by saying that I am not a SAS user myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have recently received a statistical report based on a data analysis performed in SAS, that includes results from a Kaplan-Meier survival analysis performed using the Lifetest procedure. The analysis included a comparison of survival analysis results for different subsets of subjects. Even though the event of interest occurred in less than half of the subjects in each subset, the report author specified a median survival time and an accompanying 95% confidence interval. For some subsets only the lower bound of the 95% CI was specified but no median and no upper bound. Unfortunately, I have no access to the original SAS output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can this be correct? From what I have understood so far about Kaplan-Meier survival analysis, median survival can only be specified if the event of interest has occurred in at least 50% of the subjects that were initially at risk. Is my thinking incorrect?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR, Frank&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 18:13:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Median-survival-time-in-Lifetest-procedure/m-p/758867#M36950</guid>
      <dc:creator>Frank_Furter</dc:creator>
      <dc:date>2021-08-02T18:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Median survival time in Lifetest procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Median-survival-time-in-Lifetest-procedure/m-p/758992#M36961</link>
      <description>&lt;P&gt;Hallo&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/391952"&gt;@Frank_Furter&lt;/a&gt;&amp;nbsp;and welcome to the SAS Support Communities!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, these results can be correct. &lt;EM&gt;Censoring&lt;/EM&gt; is the key. While the&amp;nbsp;&lt;SPAN&gt;event of interest may occur in less than 50% of the subjects, the &lt;EM&gt;Kaplan-Meier survival estimate can&lt;/EM&gt; drop below 50% due to censored observations and thus allow for a valid estimate of the median survival time. The corresponding 95% confidence interval can be complete, but a missing upper confidence limit (CL) can occur as well. It's also possible that only a lower CL is available while both the point estimate and the upper CL are missing. Please see the 2020 thread "&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Why-did-I-get-confidence-intervals-without-a-estimate/m-p/646614" target="_blank" rel="noopener"&gt;Why did I get confidence intervals without a estimate?&lt;/A&gt;" for an explanation and a link to the formulas in the documentation. (The question there was about the 75% quantile, but &lt;/SPAN&gt;&lt;SPAN&gt;the same arguments hold for the median.)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I've made up an example dataset HAVE with three subgroups (&lt;FONT face="courier new,courier"&gt;grp=1, 2, 3&lt;/FONT&gt;), all of which contain more censored observations (&lt;FONT face="courier new,courier"&gt;cens=1&lt;/FONT&gt;) than subjects with an event (&lt;FONT face="courier new,courier"&gt;cens=0&lt;/FONT&gt;). They exhibit three different situations with regard to the median survival estimate:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;           Point   95% Confidence Interval
Group   Estimate      [Lower      Upper)

  1      55.0000     40.0000     65.0000
  2      40.0000     15.0000       .
  3        .          5.0000       .&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
grp=1;
do time=5 to 70 by 5;
  cens=(time&amp;lt;40 | time=70);
  output;
end;
grp=2;
do time=5 to 50 by 5;
  cens=(time ~in (15,30,40));
  output;
end;
grp=3;
do time=5 to 50 by 5;
  cens=(time ~in (5,10,20));
  output;
end;
run;

proc lifetest data=have plots=survival;
time time*cens(1);
strata grp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;      Summary of the Number of Censored and Uncensored Values

                                                            Percent
Stratum             grp       Total  Failed    Censored    Censored

      1               1          14       6           8       57.14
      2               2          10       3           7       70.00
      3               3          10       3           7       70.00
-------------------------------------------------------------------
  Total                          34      12          22       64.71&lt;/PRE&gt;
&lt;P&gt;Kaplan-Meier curves:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KM_Plot.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62213iD44F01940D41D3DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="KM_Plot.png" alt="KM_Plot.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, it makes a difference whether the censored observations tend to occur early (as in group 1) or rather late (as in group 3). Group 2 is in between.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It should be noted that there was a bug (!) in SAS releases up to 9.4M6 (fixed in 9.4M7) which caused incorrect upper confidence limits for quantiles of the survival distribution &lt;EM&gt;in certain situations&lt;/EM&gt;.&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;This is described in&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://support.sas.com/kb/64/617.html" target="_blank" rel="noopener"&gt;Problem Note 64617&lt;/A&gt;&lt;SPAN style="font-family: inherit;"&gt;. The example above is not affected by this bug, although produced with SAS 9.4M5.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 12:45:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Median-survival-time-in-Lifetest-procedure/m-p/758992#M36961</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-08-03T12:45:50Z</dc:date>
    </item>
  </channel>
</rss>

