<?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 life test procedure with uniform and biweight kernel smoothing in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-life-test-procedure-with-uniform-and-biweight-kernel/m-p/150324#M39639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the (where=(rel=1)) in the PROC LIFETEST code is subsetting your Q1 dataset.&amp;nbsp; Try running without it.&amp;nbsp; The following worked for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc lifetest data=q1 nelson plots=(hazard(bw=6 kernel=U)) outest=test;&lt;/P&gt;&lt;P&gt;time t*rel(0);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note some rearrangement in the plots= option and a substitution (nelson for aalen)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Oct 2014 19:30:13 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2014-10-30T19:30:13Z</dc:date>
    <item>
      <title>proc life test procedure with uniform and biweight kernel smoothing</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-life-test-procedure-with-uniform-and-biweight-kernel/m-p/150323#M39638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a graduate student, I'm trying to figure out... what is wrong with my syntax... I went to the sas support page and I still can't get it to work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need a small modification to the following proc life test code or do i need to use a macro of some sort?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my code from a book ( no names and identifiable information)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first column I coded 1=Partial Remission and 2=Complete Remission, second column is time to relapse, and third column, 0= censored observations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the log it appears there is an issue with the command kernel which I need to estimate a hazard rate with band wind=6 months using a uniform kernel, I need to do the same for biweight. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data Q1;&lt;/P&gt;&lt;P&gt;input res t rel ;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;1 10 1&lt;/P&gt;&lt;P&gt;1 6 1&lt;/P&gt;&lt;P&gt;1 20 0&lt;/P&gt;&lt;P&gt;1 35 0&lt;/P&gt;&lt;P&gt;1 6 1&lt;/P&gt;&lt;P&gt;2 7 1&lt;/P&gt;&lt;P&gt;2 32 0&lt;/P&gt;&lt;P&gt;2 23 1&lt;/P&gt;&lt;P&gt;2 22 1&lt;/P&gt;&lt;P&gt;2 16 1&lt;/P&gt;&lt;P&gt;2 34 0&lt;/P&gt;&lt;P&gt;2 32 0&lt;/P&gt;&lt;P&gt;2 25 0&lt;/P&gt;&lt;P&gt;2 11 0&lt;/P&gt;&lt;P&gt;2 19 0&lt;/P&gt;&lt;P&gt;2 6 1&lt;/P&gt;&lt;P&gt;2 17 0&lt;/P&gt;&lt;P&gt;2 13 1&lt;/P&gt;&lt;P&gt;2 9 0&lt;/P&gt;&lt;P&gt;2 6 0&lt;/P&gt;&lt;P&gt;2 10 0&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc lifetest data=Q1 (where=(rel=1))plots=hazard(bw=6) aalen kernel=U outtest=test; &lt;/P&gt;&lt;P&gt; time t*rel(0);&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 19:04:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-life-test-procedure-with-uniform-and-biweight-kernel/m-p/150323#M39638</guid>
      <dc:creator>jengarcia1122</dc:creator>
      <dc:date>2014-10-30T19:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: proc life test procedure with uniform and biweight kernel smoothing</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-life-test-procedure-with-uniform-and-biweight-kernel/m-p/150324#M39639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the (where=(rel=1)) in the PROC LIFETEST code is subsetting your Q1 dataset.&amp;nbsp; Try running without it.&amp;nbsp; The following worked for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc lifetest data=q1 nelson plots=(hazard(bw=6 kernel=U)) outest=test;&lt;/P&gt;&lt;P&gt;time t*rel(0);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note some rearrangement in the plots= option and a substitution (nelson for aalen)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 19:30:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-life-test-procedure-with-uniform-and-biweight-kernel/m-p/150324#M39639</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-10-30T19:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc life test procedure with uniform and biweight kernel smoothing</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-life-test-procedure-with-uniform-and-biweight-kernel/m-p/150325#M39640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's funny I just got it to run before I read your response, I didn't include kernel in the parentheses. Thank you Steve! I will omit the where statement since I don't want to subset the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your swift assistance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very grateful Graduate student, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jennifer Garcia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 19:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-life-test-procedure-with-uniform-and-biweight-kernel/m-p/150325#M39640</guid>
      <dc:creator>jengarcia1122</dc:creator>
      <dc:date>2014-10-30T19:47:16Z</dc:date>
    </item>
  </channel>
</rss>

