<?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: which variable should be censored - cox proportional in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/which-variable-should-be-censored-cox-proportional/m-p/892961#M352726</link>
    <description>I think you want a competing risks model?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings18/2159-2018.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings18/2159-2018.pdf&lt;/A&gt;</description>
    <pubDate>Wed, 06 Sep 2023 15:16:56 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2023-09-06T15:16:56Z</dc:date>
    <item>
      <title>which variable should be censored - cox proportional</title>
      <link>https://communities.sas.com/t5/SAS-Programming/which-variable-should-be-censored-cox-proportional/m-p/892923#M352703</link>
      <description>&lt;P&gt;Hi, I'm cleaning a cohort dataset and want to use Cox proportional to analyze. However, I'm confused about assigning the censor data in the coding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The study lasted 3000 days. The exposure is high salty food and the outcome is the death from stomach cancer. Among the 100,000 participants, 12 patients eventually died from stomach cancer, 38 patients died from other diseases, and the remaining were alive at the end of the study. I'd like to use the cox proportional hazard model to investigate the association between high salty food and the mortality of stomach cancer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on my understanding, we should assign "38 patients died from other diseases" censored (0) , and all the others uncensored (1). But how do we differ the result of dying by stomach cancer and still alive? Will the SAS automatically separate them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code I use:&lt;/P&gt;&lt;PRE&gt;proc phreg data=stomach;
class salty(ref="0") bmi(ref="0") gender(ref="0") / param=ref;
model lenfol*censor(0) = salty bmi gender year los;
strata=age;
run;&lt;/PRE&gt;&lt;P&gt;Could you please check if I correctly understand the model and use the correct codes? Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 13:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/which-variable-should-be-censored-cox-proportional/m-p/892923#M352703</guid>
      <dc:creator>LarissaW</dc:creator>
      <dc:date>2023-09-06T13:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: which variable should be censored - cox proportional</title>
      <link>https://communities.sas.com/t5/SAS-Programming/which-variable-should-be-censored-cox-proportional/m-p/892961#M352726</link>
      <description>I think you want a competing risks model?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings18/2159-2018.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings18/2159-2018.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 06 Sep 2023 15:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/which-variable-should-be-censored-cox-proportional/m-p/892961#M352726</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-09-06T15:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: which variable should be censored - cox proportional</title>
      <link>https://communities.sas.com/t5/SAS-Programming/which-variable-should-be-censored-cox-proportional/m-p/892990#M352741</link>
      <description>&lt;P&gt;Hey, thank you for the information. However, I don't think the competing risk model applied to my study. There is no competing relationship between patients alive and dead from stomach cancer. The question I have is I am confused with the define of the censored and uncensored groups here. I confirm that patients who died from other causes should be censored but I have no idea if patients survive until the end of the study belong to censored group or uncensored group. The event I am interested in here is the death from stomach cancer.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 17:08:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/which-variable-should-be-censored-cox-proportional/m-p/892990#M352741</guid>
      <dc:creator>LarissaW</dc:creator>
      <dc:date>2023-09-06T17:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: which variable should be censored - cox proportional</title>
      <link>https://communities.sas.com/t5/SAS-Programming/which-variable-should-be-censored-cox-proportional/m-p/892992#M352743</link>
      <description>&lt;P&gt;People alive until the end are also censored then, competing risks doesn't necessarily mean competing against each other, but dying for another cause is a competing risk. It is common to ignore this though, competing risks is an analytics level above.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 17:21:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/which-variable-should-be-censored-cox-proportional/m-p/892992#M352743</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-09-06T17:21:57Z</dc:date>
    </item>
  </channel>
</rss>

