<?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: Coxph model when a subject is  at risk more than once in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/406460#M21166</link>
    <description>Thank you. This was a good article but my problem is that subjects survival time counter resets to 0 each time they transfer hospitals or are readmitted. They cannot have reoccurring events (death) but it appears that they are in the risk set multiple times at say day 3 if they were in many hospitals more than 3 days.&lt;BR /&gt;</description>
    <pubDate>Mon, 23 Oct 2017 11:10:57 GMT</pubDate>
    <dc:creator>Sammi_Kerti</dc:creator>
    <dc:date>2017-10-23T11:10:57Z</dc:date>
    <item>
      <title>Coxph model when a subject is  at risk more than once</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/405534#M21140</link>
      <description>&lt;P&gt;I need to run a coxph model with time dependent weights. I am using proc phreg. Our data set contains patients that transfer from one hospital to another as well as patients that are readmitted. The PI is interested in thirty day mortality from the first day at each individual hospital. Therefore, each patient will only have one outcome but on a specific relative day, they could appear in the risk set more than once. Does this justify needing the random effect at the patient level? I also need a random effect at the hospital level and so if both are required, i run out of resources. If the patient level random effect is needed, is there another way to program around this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Sammi&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 13:51:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/405534#M21140</guid>
      <dc:creator>Sammi_Kerti</dc:creator>
      <dc:date>2017-10-19T13:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Coxph model when a subject is  at risk more than once</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/406416#M21165</link>
      <description>&lt;P&gt;You might find the following&amp;nbsp;useful:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings10/255-2010.pdf" target="_blank" rel="nofollow noopener noreferrer"&gt;http://support.sas.com/resources/papers/proceedings10/255-2010.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Analysis of Survival Data with Recurrent Events Using SAS"&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 04:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/406416#M21165</guid>
      <dc:creator>Norman21</dc:creator>
      <dc:date>2017-10-23T04:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Coxph model when a subject is  at risk more than once</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/406460#M21166</link>
      <description>Thank you. This was a good article but my problem is that subjects survival time counter resets to 0 each time they transfer hospitals or are readmitted. They cannot have reoccurring events (death) but it appears that they are in the risk set multiple times at say day 3 if they were in many hospitals more than 3 days.&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Oct 2017 11:10:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/406460#M21166</guid>
      <dc:creator>Sammi_Kerti</dc:creator>
      <dc:date>2017-10-23T11:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Coxph model when a subject is  at risk more than once</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/406735#M21180</link>
      <description>&lt;P&gt;Just to clarify - is this what you want for each of these scenarios?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient A: Hospital A -&amp;gt; Discharged, alive for 30 days -&amp;gt; Admitted to Hospital&amp;nbsp;B -&amp;gt; Discharged after 1 day -&amp;gt; Alive after 30 days&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient A will count as a success (for Hospital A).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient B: Hospital A -&amp;gt; Discharged, alive for 3 days -&amp;gt; Dies at day 15&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient&amp;nbsp;B will count as a failure (for Hospital A).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient C: Hospital A -&amp;gt; Discharged, alive for 29 days -&amp;gt; Admitted to Hospital&amp;nbsp;B -&amp;gt; Discharged after 1 day -&amp;gt; Alive after 30 days&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient&amp;nbsp;C will count as a success (for Hospital B).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; Hospital A -&amp;gt; Discharged, alive for 29 days -&amp;gt; Admitted to Hospital&amp;nbsp;B -&amp;gt; Discharged after 1 day -&amp;gt; Dies at day 7&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient&amp;nbsp;D will count as a failure (for Hospital B).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient E: Hospital A -&amp;gt; Discharged, alive for 29 days -&amp;gt; Admitted to Hospital&amp;nbsp;B -&amp;gt; Discharged after 1 day -&amp;gt; Contact lost after 10 days.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient&amp;nbsp;E will count as "missing data".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the above are correct, can't you ascribe success, failure, or missing to each patient in a DATA step?&lt;/P&gt;
&lt;P&gt;- If the patient has not died, then find the "oldest" 30 day period of survival and ascribe to the Hospital immediately prior.&lt;/P&gt;
&lt;P&gt;-- If there are no periods of survival &amp;gt;29 days, then this patient counts as missing.&lt;/P&gt;
&lt;P&gt;- If the patient has died, ascribe to the Hospital immediately prior.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 20:10:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/406735#M21180</guid>
      <dc:creator>Norman21</dc:creator>
      <dc:date>2017-10-23T20:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Coxph model when a subject is  at risk more than once</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/406880#M21185</link>
      <description>This was my proposed setup but the investigator wants survival to reset at each hospital a person enters. This is want makes it more difficult. I already need a random effect for hospital (157 levels) and now I need to either add a random effect for hospital or add id= statement. I was just wondering if there is a more efficient way to run this.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Oct 2017 10:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/406880#M21185</guid>
      <dc:creator>Sammi_Kerti</dc:creator>
      <dc:date>2017-10-24T10:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Coxph model when a subject is  at risk more than once</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/407006#M21191</link>
      <description>&lt;P&gt;I think I see - the investigator wants to know about the most recent hospital stay only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in this scenario:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient A: Hospital A -&amp;gt; Discharged, alive for 30 days -&amp;gt; Admitted to Hospital&amp;nbsp;B -&amp;gt; Discharged after 1 day -&amp;gt; Alive after 30 days&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Patient A will count as a success (for Hospital &lt;STRONG&gt;B&lt;/STRONG&gt;, &lt;EM&gt;not&lt;/EM&gt; A).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know of a way to do this outside of a DATA step.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 16:49:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/407006#M21191</guid>
      <dc:creator>Norman21</dc:creator>
      <dc:date>2017-10-24T16:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Coxph model when a subject is  at risk more than once</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/407206#M21198</link>
      <description>&lt;P&gt;Norman, thank you for your help. My main focus is using a patient level RE because it gives me an out of memory error. I needed to find ways to avoid using this random effect and I have done this by FINALLY convincing the investigator to not reset the survival counter for transfers and place blame for death on initial hospital regardless if you were transferred or readmitted. Now there is no need for RE and model runs. This is a very difficult question to discuss via blog because there is much much more going on and&amp;nbsp;the project is&amp;nbsp;changing directions frequently. I apologize.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 11:32:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/407206#M21198</guid>
      <dc:creator>Sammi_Kerti</dc:creator>
      <dc:date>2017-10-25T11:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Coxph model when a subject is  at risk more than once</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/407234#M21201</link>
      <description>&lt;P&gt;No need to apologise! I understand the pressure of trying to deliver a quality service while under pressure - and with the goalposts changing occasionally.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:00:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Coxph-model-when-a-subject-is-at-risk-more-than-once/m-p/407234#M21201</guid>
      <dc:creator>Norman21</dc:creator>
      <dc:date>2017-10-25T13:00:09Z</dc:date>
    </item>
  </channel>
</rss>

