<?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: proc lifetest add number of events at specific time points in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-lifetest-add-number-of-events-at-specific-time-points/m-p/334667#M17656</link>
    <description>&lt;P&gt;You may be better off taking the output from lifetest and then running that (or doing it directly in) GTL. &amp;nbsp;Then you can plot whatever data you want, for example these posts may help:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2014/02/09/survival-plot/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/2014/02/09/survival-plot/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2011/11/28/survival-plot-with-external-at-risk-table/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/2011/11/28/survival-plot-with-external-at-risk-table/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Illustrates plotting lifetest outputs with other information below.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2017 14:48:49 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-02-21T14:48:49Z</dc:date>
    <item>
      <title>proc lifetest add number of events at specific time points</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-lifetest-add-number-of-events-at-specific-time-points/m-p/334665#M17655</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new here and I am working on a project where I need to produce KM survival plots, which not only provide the number of patients at risk at specific time-points in a table below the graph but, in addition, I need to provide the number of events, which happend up to these timepoints.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the following code to produce the number of people at risk at the time points 0, 200, ... 1000 but I have no idea how I can add the number of events that happened at the same time-points. I know how I could add an additional&amp;nbsp; table with the total number of events during follow-up, but I need to add the more detailed information for the specific time-points. Does anybody know how I can add this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc lifetest data=one plots=s(atrisk(outside(0.15))=0 to 1000 by 200); time totexp1 * outexp(0); run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Li&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 14:36:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-lifetest-add-number-of-events-at-specific-time-points/m-p/334665#M17655</guid>
      <dc:creator>Li17</dc:creator>
      <dc:date>2017-02-21T14:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest add number of events at specific time points</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-lifetest-add-number-of-events-at-specific-time-points/m-p/334667#M17656</link>
      <description>&lt;P&gt;You may be better off taking the output from lifetest and then running that (or doing it directly in) GTL. &amp;nbsp;Then you can plot whatever data you want, for example these posts may help:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2014/02/09/survival-plot/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/2014/02/09/survival-plot/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2011/11/28/survival-plot-with-external-at-risk-table/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/2011/11/28/survival-plot-with-external-at-risk-table/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Illustrates plotting lifetest outputs with other information below.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 14:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-lifetest-add-number-of-events-at-specific-time-points/m-p/334667#M17656</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-02-21T14:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest add number of events at specific time points</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-lifetest-add-number-of-events-at-specific-time-points/m-p/336148#M17728</link>
      <description>&lt;P&gt;Thank you for the advice. I'll try that.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 10:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-lifetest-add-number-of-events-at-specific-time-points/m-p/336148#M17728</guid>
      <dc:creator>Li17</dc:creator>
      <dc:date>2017-02-27T10:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest add number of events at specific time points</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-lifetest-add-number-of-events-at-specific-time-points/m-p/860579#M42517</link>
      <description>&lt;P&gt;Hi Li, how are you. I ran into the same questions and wondering if you solve this problem and could you share your solution/code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 22:31:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-lifetest-add-number-of-events-at-specific-time-points/m-p/860579#M42517</guid>
      <dc:creator>XG</dc:creator>
      <dc:date>2023-02-23T22:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest add number of events at specific time points</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-lifetest-add-number-of-events-at-specific-time-points/m-p/860580#M42518</link>
      <description>&lt;P&gt;Something like the data in this chart?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_lifetest_examples02.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_lifetest_examples02.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI - responding to an almost 6 year old thread isn't super useful. It's better to start your own thread.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 22:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-lifetest-add-number-of-events-at-specific-time-points/m-p/860580#M42518</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-02-23T22:47:13Z</dc:date>
    </item>
  </channel>
</rss>

