<?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: SAS EG 7.1 and 8.2 give different median 95% CI in proc lifetest in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740070#M35961</link>
    <description>&lt;P&gt;I found a post&amp;nbsp;&lt;A href="https://support.sas.com/kb/64/617.html" target="_self"&gt;https://support.sas.com/kb/64/617.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The upper confidence limit for a quartile&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;q&lt;SUB&gt;p&lt;/SUB&gt;&lt;/EM&gt;&amp;nbsp;in PROC LIFETEST is incorrect if these conditions are met:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;an event is observed at the largest time&lt;/LI&gt;
&lt;LI&gt;the largest event time is also the first time the survival estimate drops below (1-&lt;EM&gt;p&lt;/EM&gt;) for the 100pth percentile point, given the pointwise upper bounds for the survival estimate have not dropped below (1-&lt;EM&gt;p&lt;/EM&gt;) at previous times&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 10 May 2021 00:56:40 GMT</pubDate>
    <dc:creator>fengyuwuzu</dc:creator>
    <dc:date>2021-05-10T00:56:40Z</dc:date>
    <item>
      <title>SAS EG 7.1 and 8.2 give different median 95% CI in proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740068#M35959</link>
      <description>&lt;P&gt;I used the same data and sas code for survival analysis, in SAS EG 7.1 I got the 95% CI for the median survival with the upper limit as a determined number, but in SAS EG 8.3, the upper limit of the 95% CI is NE.&lt;/P&gt;
&lt;P&gt;I am sure the SAS code and data has no change, and the only different is SAS version.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has any one encountered such experience in proc lifetest using different SAS versions?&lt;/P&gt;
&lt;P&gt;How to know which one is correct? Thank you in advance for any comments.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 00:27:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740068#M35959</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2021-05-10T00:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 and 8.2 give different median 95% CI in proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740070#M35961</link>
      <description>&lt;P&gt;I found a post&amp;nbsp;&lt;A href="https://support.sas.com/kb/64/617.html" target="_self"&gt;https://support.sas.com/kb/64/617.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The upper confidence limit for a quartile&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;q&lt;SUB&gt;p&lt;/SUB&gt;&lt;/EM&gt;&amp;nbsp;in PROC LIFETEST is incorrect if these conditions are met:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;an event is observed at the largest time&lt;/LI&gt;
&lt;LI&gt;the largest event time is also the first time the survival estimate drops below (1-&lt;EM&gt;p&lt;/EM&gt;) for the 100pth percentile point, given the pointwise upper bounds for the survival estimate have not dropped below (1-&lt;EM&gt;p&lt;/EM&gt;) at previous times&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 10 May 2021 00:56:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740070#M35961</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2021-05-10T00:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 and 8.2 give different median 95% CI in proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740089#M35963</link>
      <description>&lt;P&gt;Can you post code and data, so that the issue can be replicated?&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 04:47:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740089#M35963</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-05-10T04:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 and 8.2 give different median 95% CI in proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740114#M35965</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;It's possible that in your most recent version you have the Hot Fix applied as in the following Problem Note:&lt;/FONT&gt;&lt;/P&gt;
&lt;H2&gt;&lt;FONT size="3"&gt;Problem Note&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;64617:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;The LIFETEST procedure produces incorrect upper confidence limits for the quartiles for certain data&lt;/FONT&gt;&lt;/H2&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;A href="https://support.sas.com/kb/64/617.html" target="_blank"&gt;https://support.sas.com/kb/64/617.html&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;The Hot Fix described in the note is for Release SAS9.4 (TS1M6) = SAS/STAT 15.1.&amp;nbsp; &amp;nbsp;It is not uncommon after the Hot Fix is applied that some of the quartiles do not exist and that PROC LIFETEST reports them as missing.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;The macro variable &amp;amp;sysvlong can be used in a %PUT statement to see what release you are running.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;%put Version = &amp;amp; sysver (&amp;amp;sysvlong);&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;The results of the %put are in the log file.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 08:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740114#M35965</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2021-05-10T08:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 and 8.2 give different median 95% CI in proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740125#M35967</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/56807"&gt;@fengyuwuzu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I remember that we had to introduce the option &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_lifetest_syntax01.htm#statug.lifetest.lftconftype" target="_blank" rel="noopener"&gt;CONFTYPE=LINEAR&lt;/A&gt; (of the SURVIVAL or, later, the PROC LIFETEST statement) to some of our survival analysis programs when we upgraded to one of the early SAS 9 releases. Otherwise the confidence intervals for quartiles of the survival times would have changed (compared to earlier SAS versions, especially SAS 8.2 [not to be confused with SAS &lt;EM&gt;EG&lt;/EM&gt; 8.2]). The reason was that the default was changed to CONFTYPE=LOGLOG (and the CONFTYPE= option did not even exist in SAS 8.x). This is mentioned in&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_lifetest_overview.htm" target="_blank" rel="noopener"&gt;Overview: LIFETEST Procedure&lt;/A&gt; (next to last paragraph) and explained in detail in the PharmaSUG 2014 paper "&lt;A href="https://www.pharmasug.org/proceedings/2014/SP/PharmaSUG-2014-SP10.pdf" target="_blank" rel="noopener"&gt;Our Survival Confidence Intervals are not the Same!&lt;/A&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example where the existence of the upper confidence limit of the &lt;EM&gt;third&lt;/EM&gt; quartile depends on the CONFTYPE= option (using SAS 9.4M5, SAS/STAT 14.3)&lt;FONT face="helvetica"&gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;ods select quartiles;
proc lifetest data=sashelp.BMT(firstobs=99) conftype=&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;linear&lt;/STRONG&gt;&lt;/FONT&gt;; time T * Status(0); run;
ods select quartiles;
proc lifetest data=sashelp.BMT(firstobs=99) conftype=&lt;FONT color="#FF0000"&gt;loglog&lt;/FONT&gt;; time T * Status(0); run;&lt;/PRE&gt;
&lt;P&gt;With the current default CONFTYPE=LOGLOG the upper CL is missing, whereas with the old default (corresponding to) CONFTYPE=LINEAR it exists.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 10:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740125#M35967</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-05-10T10:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 and 8.2 give different median 95% CI in proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740167#M35971</link>
      <description>&lt;P&gt;Below is my code (and I did use &lt;CODE class=" language-sas"&gt;conftype=loglog)&lt;/CODE&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output QUARTILES = out_Quarts (where = (PERCENT = 50) keep = estimate group percent LOWERLIMIT UPPERLIMIT);
proc lifetest data=mydata alpha=0.05 conftype=loglog;
   time aval*cnsr(0);
   strata group;
run;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way , I tried my data in R, using survival package, and I also got NA for the upper limit of the 95% CI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 13:04:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740167#M35971</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2021-05-10T13:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 and 8.2 give different median 95% CI in proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740182#M35972</link>
      <description>&lt;P&gt;Thanks for posting your code. So, with identical input data &lt;EM&gt;and&lt;/EM&gt; code, in particular using &lt;FONT face="courier new,courier"&gt;conftype=loglog&lt;/FONT&gt;, the two SAS EG versions produce different results (and the difference is not explained by that Problem Note 64617)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case I would&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;clarify what the underlying SAS and SAS/STAT versions are (SAS EG is only the interface): see macro variable SYSVLONG (as &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13540" target="_blank" rel="noopener"&gt;OsoGris&lt;/A&gt; has already mentioned) and &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p1mlr134ho7gcgn189orykajlodg.htm" target="_blank" rel="noopener"&gt;PROC PRODUCT_STATUS&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;determine the upper confidence limit in question by applying the appropriate formula (see section&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_lifetest_details03.htm" target="_blank" rel="noopener"&gt;Breslow, Fleming-Harrington, and Kaplan-Meier Methods&lt;/A&gt;&lt;SPAN style="font-family: inherit;"&gt; of the PROC LIFETEST documentation) to the product-limit (=Kaplan-Meier) survival estimates obtained from PROC LIFETEST.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 10 May 2021 14:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740182#M35972</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-05-10T14:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 and 8.2 give different median 95% CI in proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740228#M35974</link>
      <description>&lt;P&gt;Thank you. My data meets the first condition of &lt;SPAN&gt;64617 note&lt;/SPAN&gt;, but not the second condition. I am not sure if the data need to meet both condition to apply this explanation. I guess it is due to the 64617 hot fix in new SAS/STAT 15.2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The upper confidence limit for a quartile&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;q&lt;SUB&gt;p&lt;/SUB&gt;&lt;/EM&gt;&amp;nbsp;in PROC LIFETEST is incorrect if these conditions are met:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;an event is observed at the largest time&lt;/LI&gt;
&lt;LI&gt;the largest event time is also the first time the survival estimate drops below (1-&lt;EM&gt;p&lt;/EM&gt;) for the 100pth percentile point, given the pointwise upper bounds for the survival estimate have not dropped below (1-&lt;EM&gt;p&lt;/EM&gt;) at previous times&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 10 May 2021 17:04:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740228#M35974</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2021-05-10T17:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 and 8.2 give different median 95% CI in proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740245#M35977</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/56807"&gt;@fengyuwuzu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am not sure if the data need to meet both condition to apply this explanation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The upper confidence limit for a quartile&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;q&lt;SUB&gt;p&lt;/SUB&gt;&lt;/EM&gt;&amp;nbsp;in PROC LIFETEST is incorrect if these conditions are met:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;an event is observed at the largest time&lt;/LI&gt;
&lt;LI&gt;the largest event time is also the first time the survival estimate drops below (1-&lt;EM&gt;p&lt;/EM&gt;) for the 100pth percentile point, given the pointwise upper bounds for the survival estimate have not dropped below (1-&lt;EM&gt;p&lt;/EM&gt;) at previous times&lt;/LI&gt;
&lt;/UL&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My understanding is that &lt;EM&gt;both&lt;/EM&gt; "these condition&lt;U&gt;s&lt;/U&gt;" must be met. (The first criterion alone would also seem to me too weak a condition for SAS to produce "incorrect" results from version 9.2 until&amp;nbsp;&lt;SPAN&gt;9.4 TS1M6, i.e., over many years.) Moreover, I suspect that the two conditions are only &lt;EM&gt;necessary&lt;/EM&gt; conditions for the error to occur: If I'm not mistaken, the almost trivial example of just two survival times t1=1, t2=2, both uncensored, meets both conditions for p=0.75 and yet the upper confidence limit (=2) for that quartile, as obtained with SAS 9.4TS1M5 (SAS/STAT 14.3) using &lt;FONT face="courier new,courier"&gt;conftype=linear&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN&gt;, matches what I get from the formula in the documentation.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 19:00:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-EG-7-1-and-8-2-give-different-median-95-CI-in-proc-lifetest/m-p/740245#M35977</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-05-10T19:00:58Z</dc:date>
    </item>
  </channel>
</rss>

