<?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 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809361#M319170</link>
    <description>The purpose is to illustrate how many persons took/got a preacribtion x weeks from the entering date (which is different for every person).&lt;BR /&gt;Should the censoring variable then contain the date of end of follow-up?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 22 Apr 2022 16:59:24 GMT</pubDate>
    <dc:creator>lone0708</dc:creator>
    <dc:date>2022-04-22T16:59:24Z</dc:date>
    <item>
      <title>proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809240#M319093</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is probably very simple for someone used to use SAS. But i am interested in making a simple "survival curve" on my data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My dataset is containing information about prescriptions filled in a 6 months period. I have two groups i want to illustrate in the same plot. The first group in persons who did not fill a prescription in the first 10 weeks and the other group in persons who did fill a prescription.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;data have;
input person_id week_of_use group
datalines;
1   3    1
1   3     1
1    7     1
2   11     2
3    8     1
3    12   1
4   23     2
5  2       1
6   13    2
6    14   2
6    20    2
6    23    2&lt;BR /&gt;;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I hope, you can help me&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 08:48:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809240#M319093</guid>
      <dc:creator>lone0708</dc:creator>
      <dc:date>2022-04-22T08:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809246#M319095</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="survivalcurve.jpg" style="width: 320px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70732iC761DC5A4EBB8528/image-size/large?v=v2&amp;amp;px=999" role="button" title="survivalcurve.jpg" alt="survivalcurve.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 09:51:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809246#M319095</guid>
      <dc:creator>lone0708</dc:creator>
      <dc:date>2022-04-22T09:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809252#M319098</link>
      <description>&lt;P&gt;&lt;A href="https://support.sas.com/documentation/onlinedoc/stat/151/kaplan.pdf" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/stat/151/kaplan.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Examples in this chapter start with the simple and continue to the complex.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 10:14:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809252#M319098</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2022-04-22T10:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809260#M319103</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16777"&gt;@WarrenKuhfeld&lt;/a&gt;,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;The problem for me is, that i do not understand the coding of status in my particular case, as all participants are contributing in all of the study period</description>
      <pubDate>Fri, 22 Apr 2022 10:52:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809260#M319103</guid>
      <dc:creator>lone0708</dc:creator>
      <dc:date>2022-04-22T10:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809333#M319147</link>
      <description>&lt;P&gt;For survival analysis you need your data in the form of:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ID Duration Censor
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;How does that work for your data if all participants are available throughout the study? What is the time component that causes people to drop off?&lt;/P&gt;
&lt;P&gt;Please explain your data and the graph you're trying to create.&amp;nbsp;&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/338918"&gt;@lone0708&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16777"&gt;@WarrenKuhfeld&lt;/a&gt;,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;The problem for me is, that i do not understand the coding of status in my particular case, as all participants are contributing in all of the study period&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 15:21:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809333#M319147</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-04-22T15:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809338#M319152</link>
      <description>&lt;P&gt;Why does one group start at a fixed number and drop off and one starts at nothing and grows?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 15:32:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809338#M319152</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-04-22T15:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809342#M319155</link>
      <description>﻿&lt;BR /&gt;Hi Reeza,&lt;BR /&gt;Thanks for your reply!&lt;BR /&gt;I can create a variable with duration of use, and I also have entering and end date of study period for all participants (not shown in the sample data). All participants have the same length of follow-up, but the entering and end dates are different for each person.&lt;BR /&gt;What should the censor variable contain?&lt;BR /&gt;&lt;BR /&gt;I am sorry for my clumsiness. I am far from being a statistician……&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Apr 2022 15:50:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809342#M319155</guid>
      <dc:creator>lone0708</dc:creator>
      <dc:date>2022-04-22T15:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809345#M319157</link>
      <description>It’s just how I expect the curve to look like.&lt;BR /&gt;After a certain event (entering date) some will not use any medication, but at some point (10 weeks after event) they will be more likely have a need for medication.&lt;BR /&gt;The other way around with the other group. They have an immediate need for medication right after the event, but will not need it with time.&lt;BR /&gt;I hope it makes sense&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Apr 2022 15:54:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809345#M319157</guid>
      <dc:creator>lone0708</dc:creator>
      <dc:date>2022-04-22T15:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809349#M319161</link>
      <description>Your censor variable tells you of the event of interest and if it's met. So what are you looking for the graph to tell you? How many patients were in the study and when they needed the medication? If so, the timepoint of when they started the medication and if they took the medication is your censor variable.</description>
      <pubDate>Fri, 22 Apr 2022 16:12:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809349#M319161</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-04-22T16:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809361#M319170</link>
      <description>The purpose is to illustrate how many persons took/got a preacribtion x weeks from the entering date (which is different for every person).&lt;BR /&gt;Should the censoring variable then contain the date of end of follow-up?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Apr 2022 16:59:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809361#M319170</guid>
      <dc:creator>lone0708</dc:creator>
      <dc:date>2022-04-22T16:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809370#M319176</link>
      <description>So duration is the time to start taking the drug or end of follow up from when they started. &lt;BR /&gt;Censor is if they took the drug, a 0/1. &lt;BR /&gt;</description>
      <pubDate>Fri, 22 Apr 2022 17:26:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest/m-p/809370#M319176</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-04-22T17:26:17Z</dc:date>
    </item>
  </channel>
</rss>

