<?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 KM Survival Analysis | Survival at interest of Time in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-KM-Survival-Analysis-Survival-at-interest-of-Time/m-p/955815#M10983</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/451191"&gt;@carl_miles&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just omit the "&amp;gt;" sign in the TIMELIST= option. The survival function &lt;EM&gt;S(t)&lt;/EM&gt;, which you estimate using the Kaplan-Meier method, is defined as the probability of the survival time being &lt;STRONG&gt;greater than&lt;/STRONG&gt; &lt;EM&gt;t&lt;/EM&gt;. So the "&amp;gt;" sign is implied and applies also to 25, 30, ... anyway.&lt;/P&gt;</description>
    <pubDate>Sat, 11 Jan 2025 18:54:14 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2025-01-11T18:54:14Z</dc:date>
    <item>
      <title>SAS KM Survival Analysis | Survival at interest of Time</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-KM-Survival-Analysis-Survival-at-interest-of-Time/m-p/955814#M10982</link>
      <description>&lt;PRE&gt;data Patients;
    format Diagnosis_Date Followup_Date date9.;
    input Patient_ID $ Diagnosis_Date :date9. Followup_Date :date9. Obs Age Gender $ Condition $ Treatment $ Event $ event_fl;
    Days = Followup_Date - Diagnosis_Date;
    Months = (Followup_Date - Diagnosis_Date)/30;
    datalines;
P001 05OCT2011 03JUL2015 1 45 Male Hyperten DrugA No 0
P002 13MAY2011 21MAY2011 2 60 Female Diabetes DrugB Yes 1
P003 17OCT2011 07NOV2015 3 50 Male HeartDis DrugA No 0
P004 08NOV2011 17NOV2016 4 39 Female Hyperten DrugC Yes 1
P005 16JUN2011 11FEB2015 5 48 Male Diabetes DrugB No 0
P006 11FEB2011 07NOV2014 6 55 Female Obesity DrugD Yes 1
P007 16JUN2011 10SEP2015 7 65 Male Hyperten DrugA Yes 1
P008 01NOV2011 09JAN2015 8 70 Female HeartDis DrugE No 0
P009 17MAR2011 11JUL2014 9 52 Male Diabetes DrugB Yes 1
P010 09NOV2011 05OCT2014 10 46 Female Obesity DrugC Yes 1
;
run;

proc print data=Patients;
    title "Patients Dataset with Days Between Diagnosis and Follow-up Dates";
run;

proc lifetest data = Patients method=km plots=survival (cb = hw test atrisk) timelist=25 30 35 40 45; 
              time Months*event_fl(0);
              title "Kaplan Meier Analysis on time to death";
              label Months = "Time to Death";&lt;/PRE&gt;&lt;P&gt;Hi Guys,&lt;BR /&gt;&lt;BR /&gt;The attached code snippet is a sample data&amp;nbsp;&lt;BR /&gt;this is KM survival analysis using proc lifetest&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;timelist=25 30 35 40 45&lt;BR /&gt;&lt;BR /&gt;this is the timelist i using to find survival probability at 25th month, and 30th month ..... like that&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;along with that i need to find the survival at &amp;gt;50 months&amp;nbsp;&lt;BR /&gt;i tried mentioning&amp;nbsp;timelist=25 30 35 40 45 &amp;gt;50&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;this is not giving any results so i want to find a way to find survival probability at &amp;gt;50 (Note: I want to mention excatly &amp;gt;50)&lt;BR /&gt;&lt;BR /&gt;Kindly give your inputs guys&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jan 2025 17:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-KM-Survival-Analysis-Survival-at-interest-of-Time/m-p/955814#M10982</guid>
      <dc:creator>carl_miles</dc:creator>
      <dc:date>2025-01-11T17:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS KM Survival Analysis | Survival at interest of Time</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-KM-Survival-Analysis-Survival-at-interest-of-Time/m-p/955815#M10983</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/451191"&gt;@carl_miles&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just omit the "&amp;gt;" sign in the TIMELIST= option. The survival function &lt;EM&gt;S(t)&lt;/EM&gt;, which you estimate using the Kaplan-Meier method, is defined as the probability of the survival time being &lt;STRONG&gt;greater than&lt;/STRONG&gt; &lt;EM&gt;t&lt;/EM&gt;. So the "&amp;gt;" sign is implied and applies also to 25, 30, ... anyway.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jan 2025 18:54:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-KM-Survival-Analysis-Survival-at-interest-of-Time/m-p/955815#M10983</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2025-01-11T18:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS KM Survival Analysis | Survival at interest of Time</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-KM-Survival-Analysis-Survival-at-interest-of-Time/m-p/955825#M10984</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;A class="lia-link-navigation lia-page-link lia-user-name-link" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733" target="_blank"&gt;&lt;SPAN class="login-bold"&gt;FreelanceReinh&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;said, the value at time=50 is SDF, SDF=1-CDF , it is&amp;nbsp; maybe just what you are looking for &amp;gt;50.&lt;/P&gt;
&lt;PRE&gt;proc lifetest data = Patients method=km  plots=survival (cb = hw test atrisk) &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;timelist=25 30 35 40 45&lt;/STRONG&gt; &lt;STRONG&gt;50&lt;/STRONG&gt;&lt;/FONT&gt;; 
              time Months*event_fl(0);
              title "Kaplan Meier Analysis on time to death";
              label Months = "Time to Death";
			run;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1736663665933.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103669i282D9E09C98E45DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1736663665933.png" alt="Ksharp_0-1736663665933.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jan 2025 06:34:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-KM-Survival-Analysis-Survival-at-interest-of-Time/m-p/955825#M10984</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-01-12T06:34:33Z</dc:date>
    </item>
  </channel>
</rss>

