<?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 and confidence intervals missing when using proc lifetest in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/934161#M367366</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/226521"&gt;@ANKH1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Missing quartile point estimates and confidence limits are quite common if the Kaplan-Meier curve and related curves for the confidence limits don't drop far enough -- a data-dependent issue: see explanations in &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Why-did-I-get-confidence-intervals-without-a-estimate/m-p/646649/highlight/true#M31026" target="_blank" rel="noopener"&gt;Re: Why did I get confidence intervals without a estimate?&lt;/A&gt; (and the PROC LIFETEST documentation page linked there) and &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815058/highlight/true#M40240" target="_blank" rel="noopener"&gt;Re: Kaplan Meier stats&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, there was a long standing bug impacting some of those calculations of PROC LIFETEST, which has been fixed only in SAS 9.4M7 (and later releases): see&amp;nbsp;&lt;A href="https://support.sas.com/kb/64/617.html" target="_blank" rel="noopener"&gt;Problem Note 64617: The LIFETEST procedure produces incorrect upper confidence limits for the quartiles for certain data&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Sat, 29 Jun 2024 12:37:09 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2024-06-29T12:37:09Z</dc:date>
    <item>
      <title>Median and confidence intervals missing when using proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/933732#M367233</link>
      <description>&lt;P&gt;This is the code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ods output Quartiles= median_ci(where=(percent=50));
proc lifetest data=test;
time duration*censor(1);
strata group;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It runs, but in results for quartile estimates it only shows complete data (point estimate, 95 CI) for the percent 25. There is no point estimate for 50 or 75. For this percents, it only shows the lower CI. Is this something to do with the data? Should I calculate the median and CI with another proc? The median and CI are to describe survival data. Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 23:01:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/933732#M367233</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2024-06-25T23:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Median and confidence intervals missing when using proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/933756#M367244</link>
      <description>&lt;P&gt;It appears that to generate the quartiles the METHOD= on the Proc statement should be one of PL B or FH&amp;nbsp; from the online help Details tab under ODS Table Names . The default is KM when not stated.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 04:34:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/933756#M367244</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-06-26T04:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Median and confidence intervals missing when using proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/933769#M367250</link>
      <description>&lt;P&gt;Check the definition of the CENSOR variable in your data? Is it possible that you should be using CENSOR(0) instead of CENSOR(1) on the TIME statement? If you accidentally switch the 0/1 value, you can get the situation that you describe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 10:10:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/933769#M367250</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-06-26T10:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Median and confidence intervals missing when using proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/934161#M367366</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/226521"&gt;@ANKH1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Missing quartile point estimates and confidence limits are quite common if the Kaplan-Meier curve and related curves for the confidence limits don't drop far enough -- a data-dependent issue: see explanations in &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Why-did-I-get-confidence-intervals-without-a-estimate/m-p/646649/highlight/true#M31026" target="_blank" rel="noopener"&gt;Re: Why did I get confidence intervals without a estimate?&lt;/A&gt; (and the PROC LIFETEST documentation page linked there) and &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815058/highlight/true#M40240" target="_blank" rel="noopener"&gt;Re: Kaplan Meier stats&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, there was a long standing bug impacting some of those calculations of PROC LIFETEST, which has been fixed only in SAS 9.4M7 (and later releases): see&amp;nbsp;&lt;A href="https://support.sas.com/kb/64/617.html" target="_blank" rel="noopener"&gt;Problem Note 64617: The LIFETEST procedure produces incorrect upper confidence limits for the quartiles for certain data&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2024 12:37:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/934161#M367366</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2024-06-29T12:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Median and confidence intervals missing when using proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/934401#M367433</link>
      <description>Thanks for your answer. I tried the different methods but none gave a median quartile.</description>
      <pubDate>Tue, 02 Jul 2024 14:11:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/934401#M367433</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2024-07-02T14:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Median and confidence intervals missing when using proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/934402#M367434</link>
      <description>&lt;P&gt;Thanks for your response. I defined censor=1 to subjects who survived and did not show progression of disease. If I change censor (0) in the code (below) it gives all quartiles. Is this switch ok? I am not sure this is right.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ods output Quartiles= median_ci(where=(percent=50));
proc lifetest data=test;
time duration*censor(0);
strata group;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:18:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/934402#M367434</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2024-07-02T14:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Median and confidence intervals missing when using proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/934403#M367435</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:20:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Median-and-confidence-intervals-missing-when-using-proc-lifetest/m-p/934403#M367435</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2024-07-02T14:20:20Z</dc:date>
    </item>
  </channel>
</rss>

