<?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: Kaplan Meier stats in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815056#M40238</link>
    <description>&lt;P&gt;Yes, that's right. The data is in a developing stage, but keeping my program ready. Just want to make sure the syntax is right.&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2022 17:06:53 GMT</pubDate>
    <dc:creator>rajredy7172012</dc:creator>
    <dc:date>2022-05-25T17:06:53Z</dc:date>
    <item>
      <title>Kaplan Meier stats</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815048#M40231</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I'm looking to get KM stats for 25th percentile, median &amp;amp; 75th percentile, but can't understand what's the issue. I have 2 treatment groups instead of 3. 1 group with missing data. Below is the data and the program.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajredy7172012_0-1653496799349.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71756i74BEFB5427D881AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajredy7172012_0-1653496799349.png" alt="rajredy7172012_0-1653496799349.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Program:&lt;/P&gt;&lt;PRE&gt;ods output Quartiles=quartiles;&lt;BR /&gt;proc lifetest data=adtte1 method=KM alpha=0.05 conftype=loglog;&lt;BR /&gt;where trtpn ^= 2;&lt;BR /&gt;time AVAL*CNSR(1);&lt;BR /&gt;strata trtpn/notest;&lt;BR /&gt;run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 May 2022 16:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815048#M40231</guid>
      <dc:creator>rajredy7172012</dc:creator>
      <dc:date>2022-05-25T16:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Kaplan Meier stats</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815051#M40233</link>
      <description>What is the issue? What's happening that is unexpected?</description>
      <pubDate>Wed, 25 May 2022 16:56:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815051#M40233</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-05-25T16:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Kaplan Meier stats</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815052#M40234</link>
      <description>&lt;P&gt;Are you sure that where Trtpn ^= 2 leaves three treatment groups in the data? From that output it looks like the WHERE statement removed the level 2 values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 16:58:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815052#M40234</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-05-25T16:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Kaplan Meier stats</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815053#M40235</link>
      <description>&lt;P&gt;Yes, for trtpn=2 i removed the values since they don't have any records.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 17:01:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815053#M40235</guid>
      <dc:creator>rajredy7172012</dc:creator>
      <dc:date>2022-05-25T17:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Kaplan Meier stats</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815054#M40236</link>
      <description>&lt;P&gt;Issue is I don't get the stats for each treatment group. Each treatment group has 2 records.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 17:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815054#M40236</guid>
      <dc:creator>rajredy7172012</dc:creator>
      <dc:date>2022-05-25T17:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Kaplan Meier stats</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815055#M40237</link>
      <description>The data shown is all your input data? 2 records per each group and you want to calculate quartiles off this data?</description>
      <pubDate>Wed, 25 May 2022 17:05:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815055#M40237</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-05-25T17:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Kaplan Meier stats</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815056#M40238</link>
      <description>&lt;P&gt;Yes, that's right. The data is in a developing stage, but keeping my program ready. Just want to make sure the syntax is right.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 17:06:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815056#M40238</guid>
      <dc:creator>rajredy7172012</dc:creator>
      <dc:date>2022-05-25T17:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Kaplan Meier stats</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815057#M40239</link>
      <description>&lt;P&gt;Your syntax is correct, but you cannot calculate quartiles off 2 data points per group.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 17:24:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815057#M40239</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-05-25T17:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Kaplan Meier stats</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815058#M40240</link>
      <description>Your syntax looks OK to me but with only 2 observations per strata I'm not very surprised you are not getting the Quartiles to be computed.  For this to happen the survival curve has to drop below the points of S(t) = .75, .50 and .25 for the first, second and third quartiles respectively.&lt;BR /&gt;</description>
      <pubDate>Wed, 25 May 2022 17:30:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815058#M40240</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2022-05-25T17:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Kaplan Meier stats</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815059#M40241</link>
      <description>The documentation has fake data you can use to ensure you code will report the correct stats, assuming you have data that supports the analysis.</description>
      <pubDate>Wed, 25 May 2022 17:32:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815059#M40241</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-05-25T17:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Kaplan Meier stats</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815065#M40242</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/303715"&gt;@rajredy7172012&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Yes, for trtpn=2 i removed the values since they don't have any records.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So if you have 3 levels of the variable trtpn and you remove one why would you expect any data in the output for it? And missing records means that you only had two levels to begin with. So really, where is the expectation of getting output for non-existent values?&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 17:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Kaplan-Meier-stats/m-p/815065#M40242</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-05-25T17:50:15Z</dc:date>
    </item>
  </channel>
</rss>

