<?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: How can I plot hazard functions in Cox models with competing risks and time-dependent covariates in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-plot-hazard-functions-in-Cox-models-with-competing/m-p/865095#M42778</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437457"&gt;@Season&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;(1) when both competing risks and time-dependent covariates are involved in the Cox model, can SAS still generate hazard function plots? &lt;/STRONG&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My answer to questions like this, which boil down to "Can SAS do this", is always the same answer: refer to the ultimate authority on this matter, which is SAS itself. Try it and see.&lt;/P&gt;</description>
    <pubDate>Sun, 19 Mar 2023 13:23:54 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-03-19T13:23:54Z</dc:date>
    <item>
      <title>How can I plot hazard functions in Cox models with competing risks and time-dependent covariates?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-plot-hazard-functions-in-Cox-models-with-competing/m-p/865083#M42775</link>
      <description>&lt;P&gt;I am trying to build a Cox regression model and is planning to plot hazard functions. I learnt from SAS Help that SAS supports plotting hazard functions, with the basic code being as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc lifetest data=xxx plots=hazard;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I assume from professional knowledge that competing risks and time-dependent covariates may be needed in my Cox model. PROC LIFETEST itself is not a module for building Cox models. Yet it is a module that is capable of plotting hazard function when Cox proportional hazards model is built, which is the most basic and a very common situation. In short, if your data is eligible to build a Cox proportional hazards model, you can use the very same data to plot hazard functions in PROC LIFETEST.&lt;/P&gt;
&lt;P&gt;But I wonder if &lt;STRONG&gt;(1) when both competing risks and time-dependent covariates are involved in the Cox model, can SAS still generate hazard function plots? (2) If so, how should I do this? Is there anything different from the situation where Cox proportional hazards model is built?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 10:03:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-plot-hazard-functions-in-Cox-models-with-competing/m-p/865083#M42775</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2023-03-19T10:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I plot hazard functions in Cox models with competing risks and time-dependent covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-plot-hazard-functions-in-Cox-models-with-competing/m-p/865095#M42778</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437457"&gt;@Season&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;(1) when both competing risks and time-dependent covariates are involved in the Cox model, can SAS still generate hazard function plots? &lt;/STRONG&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My answer to questions like this, which boil down to "Can SAS do this", is always the same answer: refer to the ultimate authority on this matter, which is SAS itself. Try it and see.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 13:23:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-plot-hazard-functions-in-Cox-models-with-competing/m-p/865095#M42778</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-03-19T13:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I plot hazard functions in Cox models with competing risks and time-dependent covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-plot-hazard-functions-in-Cox-models-with-competing/m-p/865097#M42779</link>
      <description>&lt;P&gt;Well, I followed your suggestion and took a look at SAS Help of PROC LIFETEST once again. I admit that the process is fruitful, in that I saw the way of taking competing risks into account in TIME statement.&lt;/P&gt;
&lt;P&gt;But I see nowhere of taking time-dependent covariates into account when I try to plot hazard function. What about that? Can SAS do that? (Sorry to have raised the question in the very same format once again, but I tried your method and is still stuck on that problem)&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 14:25:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-plot-hazard-functions-in-Cox-models-with-competing/m-p/865097#M42779</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2023-03-19T14:25:51Z</dc:date>
    </item>
  </channel>
</rss>

