<?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: How can MST exists in Proc Lifetest when more than 50% of observations are censored? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-MST-exists-in-Proc-Lifetest-when-more-than-50-of/m-p/487884#M25309</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/226829"&gt;@whitknee48&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;More than 50% of observations may be censored, but whether median survival time can be estimated or not also depends on &lt;EM&gt;when&lt;/EM&gt; they were censored. The formula for the median survival time (see section "&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_lifetest_details03.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;Breslow, Fleming-Harrington, and Kaplan-Meier Methods&lt;/A&gt;" in the documentation) uses &lt;EM&gt;Kaplan-Meier estimates&lt;/EM&gt; (you used the default,&amp;nbsp;KM, of option METHOD= of the PROC LIFETEST statement). Their&amp;nbsp;values can very well drop below 0.5 if many subjects were censored &lt;EM&gt;early&lt;/EM&gt; (as is the case in your data). Then the median survival time&amp;nbsp;&lt;EM&gt;can&lt;/EM&gt; be calculated. (Censored subjects are not expected to survive indefinitely.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC LIFETEST usually plots a survival curve by default. So, you should have got this graph (showing that the survival curve clearly drops below 0.5):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="survival_curve.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22549i843BA01E49D7B1E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="survival_curve.png" alt="survival_curve.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you added, say, 1000 to the &lt;FONT face="courier new,courier"&gt;days_survived&lt;/FONT&gt; values of sufficiently many censored observations, you'd see the difference in the survival curve and get a missing MST.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: Next time please&amp;nbsp;post test data &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;in the form of a data step&lt;/A&gt;, not as pictures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Aug 2018 18:29:06 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2018-08-17T18:29:06Z</dc:date>
    <item>
      <title>How can MST exists in Proc Lifetest when more than 50% of observations are censored?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-MST-exists-in-Proc-Lifetest-when-more-than-50-of/m-p/487751#M25299</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;I'm using the following code to perform a survival analysis, just looking for the general survival information for my cases:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="Courier New" size="5"&gt;&lt;CODE class=" language-sas"&gt;proc lifetest data = combine2;
   time days_survived*censor(1);
run;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Here, I have&amp;nbsp;42 cases,&amp;nbsp;6 with missing censor information (and thus were deleted), and of the remaining 36, 63.89% were censored. This seems to be done appropriately given the output box I received from proc lifetest below:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="5"&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Censor information.PNG" style="width: 377px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22523iFACE97C698AF15EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Censor information.PNG" alt="Censor information.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;It is my understanding that when over 50% of your cases are censored the median survival time does not exist. Using the proc lifetest code above, in which over 50% of my cases are censored, I received the following output:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="5"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MST.PNG" style="width: 426px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22524iEAD798ACE519DDD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="MST.PNG" alt="MST.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Here is the other survival&amp;nbsp;output in case&amp;nbsp;it helps:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="5"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Survival1.PNG" style="width: 444px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22526i102F9AECC95C79EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Survival1.PNG" alt="Survival1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Survival2.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22527i1325A99940F1AE29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Survival2.PNG" alt="Survival2.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="5"&gt;&amp;nbsp;&lt;/FONT&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;&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;&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;&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;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;How is it that Proc Lifetest can compute a median survival time when more than 50% of the cases are censored? I'm using SAS 9.4. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="5"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;I'd appreciate your help!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 13:15:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-MST-exists-in-Proc-Lifetest-when-more-than-50-of/m-p/487751#M25299</guid>
      <dc:creator>whitknee48</dc:creator>
      <dc:date>2018-08-17T13:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can MST exists in Proc Lifetest when more than 50% of observations are censored?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-MST-exists-in-Proc-Lifetest-when-more-than-50-of/m-p/487884#M25309</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/226829"&gt;@whitknee48&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;More than 50% of observations may be censored, but whether median survival time can be estimated or not also depends on &lt;EM&gt;when&lt;/EM&gt; they were censored. The formula for the median survival time (see section "&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_lifetest_details03.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;Breslow, Fleming-Harrington, and Kaplan-Meier Methods&lt;/A&gt;" in the documentation) uses &lt;EM&gt;Kaplan-Meier estimates&lt;/EM&gt; (you used the default,&amp;nbsp;KM, of option METHOD= of the PROC LIFETEST statement). Their&amp;nbsp;values can very well drop below 0.5 if many subjects were censored &lt;EM&gt;early&lt;/EM&gt; (as is the case in your data). Then the median survival time&amp;nbsp;&lt;EM&gt;can&lt;/EM&gt; be calculated. (Censored subjects are not expected to survive indefinitely.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC LIFETEST usually plots a survival curve by default. So, you should have got this graph (showing that the survival curve clearly drops below 0.5):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="survival_curve.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22549i843BA01E49D7B1E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="survival_curve.png" alt="survival_curve.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you added, say, 1000 to the &lt;FONT face="courier new,courier"&gt;days_survived&lt;/FONT&gt; values of sufficiently many censored observations, you'd see the difference in the survival curve and get a missing MST.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: Next time please&amp;nbsp;post test data &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;in the form of a data step&lt;/A&gt;, not as pictures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 18:29:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-MST-exists-in-Proc-Lifetest-when-more-than-50-of/m-p/487884#M25309</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-08-17T18:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can MST exists in Proc Lifetest when more than 50% of observations are censored?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-MST-exists-in-Proc-Lifetest-when-more-than-50-of/m-p/487886#M25310</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;. This was very helpful!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 18:32:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-MST-exists-in-Proc-Lifetest-when-more-than-50-of/m-p/487886#M25310</guid>
      <dc:creator>whitknee48</dc:creator>
      <dc:date>2018-08-17T18:32:34Z</dc:date>
    </item>
  </channel>
</rss>

