<?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 - Number at Risk Vs Number Left in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168085#M8781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post some sample data with this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2014 15:55:25 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2014-11-12T15:55:25Z</dc:date>
    <item>
      <title>Proc Lifetest - Number at Risk Vs Number Left</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168084#M8780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know why the atrisk numbers are different on a survival curve compared to the atrisk numbers that are in the ods ProductLimitEstimates dataset in the NumberAtRisk column? It seems like the atrisk numbers on the survival curve correspond to the Left column (Number Left) in the ods ProductLimitEstimates dataset? Can you help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kriss Harris &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 15:41:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168084#M8780</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2014-11-12T15:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest - Number at Risk Vs Number Left</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168085#M8781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post some sample data with this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 15:55:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168085#M8781</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-11-12T15:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest - Number at Risk Vs Number Left</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168086#M8782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, I will create some. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 15:57:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168086#M8782</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2014-11-12T15:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest - Number at Risk Vs Number Left</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168087#M8783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="SurvivalPlot91.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/7870_SurvivalPlot91.png" width="450" /&gt;&lt;BR /&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods output ProductLimitEstimates = out.surv;&lt;/P&gt;&lt;P&gt;proc lifetest data=sashelp.BMT plots=survival(atrisk=0 to 2500 by 500) atrisk timelist = 0 to 2500 by 500;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; time T * Status(0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; strata Group / test=logrank adjust=sidak;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't attach the dataset at the moment, but you will see what I mean when you run the program and compare the Left Column with the NumberAtRisk column and then also compare them to the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 16:10:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168087#M8783</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2014-11-12T16:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest - Number at Risk Vs Number Left</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168088#M8784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the code I ran, number at risk=number left because there are no ties or multiple occurrences with censors at the same time in this data.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; The number left = number at risk seems to make sense intuitively to me except possibly when a censored and event occur at the same time?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:42:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168088#M8784</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-11-12T17:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest - Number at Risk Vs Number Left</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168089#M8785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay thank you. Do you know which Atrisk values we should be using please when there are differences between number at risk and number left?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:46:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168089#M8785</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2014-11-12T17:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest - Number at Risk Vs Number Left</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168090#M8786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can generate the source code for the graph and see it references the ATRISK, check the log...&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #0433ff;"&gt;ods&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;trace&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;on&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #0433ff;"&gt;ods&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;output&lt;/SPAN&gt; ProductLimitEstimates = surv;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;lifetest&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;data&lt;/SPAN&gt;=sashelp.BMT &lt;SPAN style="color: #0433ff;"&gt;plots&lt;/SPAN&gt;=survival(atrisk=&lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt; to &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;2500&lt;/STRONG&gt;&lt;/SPAN&gt; by &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;500&lt;/STRONG&gt;&lt;/SPAN&gt;) atrisk &lt;SPAN style="color: #0433ff;"&gt;timelist&lt;/SPAN&gt; = &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt; to &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;2500&lt;/STRONG&gt;&lt;/SPAN&gt; by &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;500&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;time&lt;/SPAN&gt; T * Status(&lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/SPAN&gt;);&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;strata&lt;/SPAN&gt; Group / &lt;SPAN style="color: #0433ff;"&gt;test&lt;/SPAN&gt;=logrank adjust=sidak;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #011993;"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #0433ff;"&gt;ods&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;trace&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;off&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #011993;"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;template&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #0433ff;"&gt;source&lt;/SPAN&gt; Stat.Lifetest.Graphics.ProductLimitSurvival;&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #011993;"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168090#M8786</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-11-12T17:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest - Number at Risk Vs Number Left</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168091#M8787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for this Reeza, I'll check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 18:12:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168091#M8787</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2014-11-12T18:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest - Number at Risk Vs Number Left</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168092#M8788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for helping out with this. I've just gone back to it, and I can see that the template does reference the ATRISK number. I wonder why the plot uses the Left column then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:28:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168092#M8788</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2015-01-28T14:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest - Number at Risk Vs Number Left</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168093#M8789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From reading Jack Shostak's book, I've seen that a solution to the question mentioned above is to output the "survivalplot" dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 16:04:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Lifetest-Number-at-Risk-Vs-Number-Left/m-p/168093#M8789</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2015-05-12T16:04:47Z</dc:date>
    </item>
  </channel>
</rss>

