<?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 Output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495006#M130567</link>
    <description>&lt;P&gt;PNG, HTML, RTF, etc files can stick around until you delete them.&amp;nbsp; You are probably looking at an old results file.&amp;nbsp; SAS procedures do not randomly use old data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are interested in ways to customize the KM plot, check out this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/onlinedoc/stat/142/kaplan.pdf" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/stat/142/kaplan.pdf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 19:54:22 GMT</pubDate>
    <dc:creator>WarrenKuhfeld</dc:creator>
    <dc:date>2018-09-12T19:54:22Z</dc:date>
    <item>
      <title>Proc Lifetest Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/494999#M130564</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need assistance with a bizarre situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have experimented with Kaplan-Meier curves before, but am attempting to learn survival analysis properly by going through the UCLA tutorial: &lt;A href="https://stats.idre.ucla.edu/sas/seminars/sas-survival/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/seminars/sas-survival/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After downloading the whas500 dataset from the UCLA tutorial, I followed the instructions and reproduced each graphic correctly until section 1.2.3. For that section, I entered the following code, as specified:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc lifetest data= survival.whas500 (where=(fstat=1)) plots=survival(atrisk);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;time lenfol*fstat(0);&lt;BR /&gt;run; quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of producing the output shown in the tutorial, familiar data from back when I originally experimented with Kaplan-Meier curves (nearly one year ago) appeared. How is this data randomly showing up nearly a year later without any deliberate referencing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for helping!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 19:47:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/494999#M130564</guid>
      <dc:creator>DMMD</dc:creator>
      <dc:date>2018-09-12T19:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495006#M130567</link>
      <description>&lt;P&gt;PNG, HTML, RTF, etc files can stick around until you delete them.&amp;nbsp; You are probably looking at an old results file.&amp;nbsp; SAS procedures do not randomly use old data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are interested in ways to customize the KM plot, check out this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/onlinedoc/stat/142/kaplan.pdf" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/stat/142/kaplan.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 19:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495006#M130567</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2018-09-12T19:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495009#M130570</link>
      <description>&lt;P&gt;I am not even remotely using the same folders (for both permanent and temporary files) as before. How do I delete these PNG, HTML, RTF files you reference?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 19:58:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495009#M130570</guid>
      <dc:creator>DMMD</dc:creator>
      <dc:date>2018-09-12T19:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495027#M130576</link>
      <description>&lt;P&gt;Were you attempting to modify the templates? If so, it's possible you inadvertently permanently replaced the templates and hardcoded references in those. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/110325"&gt;@DMMD&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi everyone!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need assistance with a bizarre situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have experimented with Kaplan-Meier curves before, but am attempting to learn survival analysis properly by going through the UCLA tutorial: &lt;A href="https://stats.idre.ucla.edu/sas/seminars/sas-survival/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/seminars/sas-survival/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After downloading the whas500 dataset from the UCLA tutorial, I followed the instructions and reproduced each graphic correctly until section 1.2.3. For that section, I entered the following code, as specified:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc lifetest data= survival.whas500 (where=(fstat=1)) plots=survival(atrisk);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;time lenfol*fstat(0);&lt;BR /&gt;run; quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of producing the output shown in the tutorial, familiar data from back when I originally experimented with Kaplan-Meier curves (nearly one year ago) appeared. How is this data randomly showing up nearly a year later without any deliberate referencing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for helping!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:42:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495027#M130576</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-12T20:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495029#M130577</link>
      <description>&lt;P&gt;I am not sure, but I suppose that is possible as my current code does not reference the previous dataset whatsoever. The previous dataset has a completely different libname, permanent files folder location, as well as temporary files folder location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to restore the default templates for Proc Lifetest? If so, could you show me how to execute that task?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495029#M130577</guid>
      <dc:creator>DMMD</dc:creator>
      <dc:date>2018-09-12T20:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495031#M130579</link>
      <description>&lt;P&gt;Not that I'm aware of, unfortunately. Last time I tried, I ended up using a colleagues and replacing mine. You may want to ask SAS tech support, though they may not be operational today due to Hurricane Florence.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to have the correct version of SAS and the know which templates to modify. Why not check a few of yours first to see if that's happening?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Follow the instructions here to get them to a text file and then search for the data set name if you know it. These templates would be under SAS/STAT.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2017/08/30/advanced-ods-graphics-examining-processing-templates/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2017/08/30/advanced-ods-graphics-examining-processing-templates/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:50:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495031#M130579</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-12T20:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495033#M130580</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming you never modified the actual templates provided by SAS in SASHelp (never, ever do that), then this will delete the modified templates in SASUser.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   ods path sashelp.tmplmst(read);
   proc datasets library=sasuser nolist; delete templat(memtype=itemstor); run;
   ods path sasuser.templat(update) sashelp.tmplmst(read);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In other words, never specify an access for sashelp.tmplmst&amp;nbsp; besides READ access.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now all that said, the templates know nothing about your data sets. So if the problem is really that you are seeing old data, then I think you have to be looking at old results.&amp;nbsp; Either that or you are not getting your data from where you think you are.&amp;nbsp; You could use PROC CONTENTS to verify the contents of your data set.&amp;nbsp; I can't comment much more on what you are doing, because you have not provided any details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:56:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495033#M130580</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2018-09-12T20:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495036#M130583</link>
      <description>&lt;P&gt;Thank you! It was a template issue. I found my old code... and did ODS trace to find the problematic template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran the command:&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;delete &amp;lt;template name&amp;gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 21:06:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495036#M130583</guid>
      <dc:creator>DMMD</dc:creator>
      <dc:date>2018-09-12T21:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495044#M130588</link>
      <description>&lt;P&gt;Just for my knowledge, the code you provided clears &lt;EM&gt;all&lt;/EM&gt; template modifications, correct? For example, if there were too many different templates malfunctioning to use ODS trace efficiently?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 21:14:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495044#M130588</guid>
      <dc:creator>DMMD</dc:creator>
      <dc:date>2018-09-12T21:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495119#M130613</link>
      <description>&lt;P&gt;The code I provided deletes all templates in sasuser.&amp;nbsp; You could be modifying templates in all kinds of other ways that would not be&amp;nbsp;deleted&amp;nbsp;by this.&amp;nbsp; If you are using the default template path, and if you never make sashelp itemstore updatable, then it will clean out all modified templates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I stand by my statement though that a modified template could not account for using old data, but perhaps you associated an old data set with an old template. I hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 01:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Lifetest-Output/m-p/495119#M130613</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2018-09-13T01:38:52Z</dc:date>
    </item>
  </channel>
</rss>

