<?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: Survival Analysis in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Survival-Analysis/m-p/186874#M47446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with following options to get rid of memory issue and for the rest someone would shed light to your questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options maxmemquery=6M;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2014 12:17:43 GMT</pubDate>
    <dc:creator>RamKumar</dc:creator>
    <dc:date>2014-11-26T12:17:43Z</dc:date>
    <item>
      <title>Survival Analysis</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Survival-Analysis/m-p/186873#M47445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to SAS and I have been trying to run survival analysis for sometime now. My general aim is to understand&amp;nbsp; critical factors that affects customer defection over 36 months at individual level. I have incorporated several independent variables (both time constant and time varying) from transaction &amp;amp; complaints dataset. For your information, currently I am dealing with 2,721,168 observations and 20 variables. I started from EG and moved on to SAS 9.3 and now SAS 9.4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several questions as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I was advised to use PROC PHREG but with a random statement. I would like to know if the random statement is necessary since I do not have&amp;nbsp; repeated measures.&lt;/P&gt;&lt;P&gt;2. The data structure is this correct or is there a better way to set it up? &lt;/P&gt;&lt;P&gt;3. I was also asked to use LAG function but do you think this is appropriate since I do not have a time series dataset.&lt;/P&gt;&lt;P&gt;4. I am experiencing several issues when I ran the whole dataset as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: There were 2721168 observations read from the data set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WORK.COMPLAINT.&lt;/P&gt;&lt;P&gt;ERROR: Insufficient space in file WORK.COMPLAINT.DATA.&lt;/P&gt;&lt;P&gt;ERROR: Failure while merging sorted runs from utility file 1 to final&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output.&lt;/P&gt;&lt;P&gt;ERROR: Failure encountered during external sort.&lt;/P&gt;&lt;P&gt;ERROR: File WORK.COMPLAINT.DATA is damaged. I/O processing did not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; complete.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;688&amp;nbsp; proc lifetest data=ModelData_DataModel_Final atrisk plots=survival(cb)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;688!&amp;nbsp; outs=out500;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;689&amp;nbsp; time Time*CENSOR(0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;690&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;NOTE: The LOGLOG transform is used to compute the confidence limits for&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the quartiles of the survivor distribution and the confidence limit&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for the survivor function. To suppress using this transform, specify&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONFTYPE=LINEAR in the PROC LIFETEST statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace'; color: red; background: yellow;"&gt;ERROR: The SAS System stopped processing this step because of insufficient&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace'; color: red; background: yellow;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;NOTE: The data set WORK.OUT500 has 8385 observations and 5 variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;NOTE: PROCEDURE LIFETEST used (Total process time):&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17.22 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17.19 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;692&amp;nbsp; proc lifetest data=ModelData_DataModel_Final atrisk nelson;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;693&amp;nbsp; time Time*CENSOR(0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;694&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;NOTE: The LOGLOG transform is used to compute the confidence limits for&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the quartiles of the survivor distribution. To suppress using this&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; transform, specify CONFTYPE=LINEAR in the PROC LIFETEST statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace'; color: red; background: yellow;"&gt;ERROR: The SAS System stopped processing this step because of insufficient&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace'; color: red; background: yellow;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;NOTE: PROCEDURE LIFETEST used (Total process time):&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.53 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.53 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;695&amp;nbsp; title;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;696&amp;nbsp; ods graphics off;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P&gt;I thank you for your attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeenat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 23:58:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Survival-Analysis/m-p/186873#M47445</guid>
      <dc:creator>jeenat</dc:creator>
      <dc:date>2014-11-25T23:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Survival Analysis</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Survival-Analysis/m-p/186874#M47446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with following options to get rid of memory issue and for the rest someone would shed light to your questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options maxmemquery=6M;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 12:17:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Survival-Analysis/m-p/186874#M47446</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2014-11-26T12:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Survival Analysis</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Survival-Analysis/m-p/186875#M47447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd chat with tech support about this. Depending on your OS/SAS installation (server/desktop) there are various options that can be set to allow this to process. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way would be to partition the data and run multiple samples though that isn't optimal...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 12:38:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Survival-Analysis/m-p/186875#M47447</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-11-26T12:38:55Z</dc:date>
    </item>
  </channel>
</rss>

