<?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 Proc Lifetest - Min and Max for duration of response in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Min-and-Max-for-duration-of-response/m-p/713633#M34486</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to find minimum and maximum for duration of response. Is there a way to get those numbers from PROC LIFETEST procedure. Mean, median and 95% CI are straight forward from the procedure. Should I use Proc means or proc summary instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My SAS code :&lt;/P&gt;&lt;P&gt;ods output productlimitestimates = km (keep=stratum trtpn Timelist Survival)&lt;BR /&gt;Quartiles =_quartiles (keep=stratum trtpn percent estimate lowerlimit upperlimit percent&lt;BR /&gt;where=(percent eq 50))&lt;BR /&gt;Means = mean&lt;BR /&gt;CensoredSummary =_censorsum;&lt;BR /&gt;proc lifetest data=want&lt;BR /&gt;method=KM timelist=12 24 outsurv=surv;&lt;BR /&gt;time dor*dorcnsr(1); /* dor - duration of response */&lt;BR /&gt;strata trt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated. Thank you !!&lt;/P&gt;</description>
    <pubDate>Sat, 23 Jan 2021 21:50:15 GMT</pubDate>
    <dc:creator>Banoo</dc:creator>
    <dc:date>2021-01-23T21:50:15Z</dc:date>
    <item>
      <title>Proc Lifetest - Min and Max for duration of response</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Min-and-Max-for-duration-of-response/m-p/713633#M34486</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to find minimum and maximum for duration of response. Is there a way to get those numbers from PROC LIFETEST procedure. Mean, median and 95% CI are straight forward from the procedure. Should I use Proc means or proc summary instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My SAS code :&lt;/P&gt;&lt;P&gt;ods output productlimitestimates = km (keep=stratum trtpn Timelist Survival)&lt;BR /&gt;Quartiles =_quartiles (keep=stratum trtpn percent estimate lowerlimit upperlimit percent&lt;BR /&gt;where=(percent eq 50))&lt;BR /&gt;Means = mean&lt;BR /&gt;CensoredSummary =_censorsum;&lt;BR /&gt;proc lifetest data=want&lt;BR /&gt;method=KM timelist=12 24 outsurv=surv;&lt;BR /&gt;time dor*dorcnsr(1); /* dor - duration of response */&lt;BR /&gt;strata trt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated. Thank you !!&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jan 2021 21:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Min-and-Max-for-duration-of-response/m-p/713633#M34486</guid>
      <dc:creator>Banoo</dc:creator>
      <dc:date>2021-01-23T21:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest - Min and Max for duration of response</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Min-and-Max-for-duration-of-response/m-p/713701#M34490</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/240001"&gt;@Banoo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/240001"&gt;@Banoo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I want to find minimum and maximum for duration of response. Is there a way to get those numbers from PROC LIFETEST procedure. Mean, median and 95% CI are straight forward from the procedure. Should I use Proc means or proc summary instead.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To be consistent with other quantile estimates (such as the median) using the Kaplan-Meier method -- see the "general formula for estimating the 100&lt;EM&gt;p&lt;/EM&gt;th percentile point" in section&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_lifetest_details03.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;Breslow, Fleming-Harrington, and Kaplan-Meier Methods&lt;/A&gt; of the PROC LIFETEST documentation and consider the cases &lt;EM&gt;p&lt;/EM&gt; → 0 and &lt;EM&gt;p&lt;/EM&gt; → 1 -- I would use&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;for the minimum: the smallest duration ("&lt;EM&gt;event&lt;/EM&gt; time," i.e., &lt;EM&gt;excluding&lt;/EM&gt; censored times)&lt;/LI&gt;
&lt;LI&gt;for the maximum: the largest duration, &lt;EM&gt;unless it is censored&lt;/EM&gt;, in which case the maximum cannot be estimated (cf. missing quartile estimates if the Kaplan-Meier curve doesn't drop far enough).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So, yes, you can use PROC MEANS or PROC SUMMARY, but taking the censoring flag (your variable&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;dorcnsr&lt;/FONT&gt;) into consideration as described above.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 16:57:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Min-and-Max-for-duration-of-response/m-p/713701#M34490</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-01-24T16:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest - Min and Max for duration of response</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Min-and-Max-for-duration-of-response/m-p/725808#M35224</link>
      <description>Thanks for your input. I took the simpler approach by using Proc Means and appending them with appropriate censoring flag.</description>
      <pubDate>Fri, 12 Mar 2021 15:12:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Min-and-Max-for-duration-of-response/m-p/725808#M35224</guid>
      <dc:creator>Banoo</dc:creator>
      <dc:date>2021-03-12T15:12:55Z</dc:date>
    </item>
  </channel>
</rss>

