<?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 How to assess PH assumption in extended Cox model? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-assess-PH-assumption-in-extended-Cox-model/m-p/799361#M39311</link>
    <description>&lt;P&gt;In my PH Cox model (using PROC PHREG), one of my continuous covariate (EGFR) violates the PH assumption. Based on the plot of Schoenfeld residual below, I decide to use a heaviside function with the time cut-off at 2 (the 600th rank of time) on this variable.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SASq.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69036iF39890763967B21E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASq.png" alt="SASq.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe that, with the heaviside function, I still assume the proportional hazard in each time interval. I tried the ZPH option and ASSESS statement, and I got the note: "Model assessment is not available when there are time-dependent covariates. The ASSESS statement is ignored." I further tried to output Schoenfeld residual (see code below), but I got no observation in the output dataset. Does anyone know how to assess the PH assumption in this model?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; PROC PHREG DATA= DF;
  CLASS EXPO SEX;
  MODEL TIME*SA(0,)= EXPO AGE SEX  EGFRT1 EGFRT2 / RL=PL;
   EGFRT1=0;
   IF TIME&amp;lt;2 THEN EGFRT1=EGFR;
   EGFRT2=0;
   IF TIME&amp;gt;=2 THEN EGFRT2=EGFR;
  OUTPUT OUT=SCHOEN RESSCH=SCHEXPO SCHAGE SCHSEX SCHEGFRT1 SCHEGFRT2;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 01 Mar 2022 16:07:09 GMT</pubDate>
    <dc:creator>kivanvan</dc:creator>
    <dc:date>2022-03-01T16:07:09Z</dc:date>
    <item>
      <title>How to assess PH assumption in extended Cox model?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-assess-PH-assumption-in-extended-Cox-model/m-p/799361#M39311</link>
      <description>&lt;P&gt;In my PH Cox model (using PROC PHREG), one of my continuous covariate (EGFR) violates the PH assumption. Based on the plot of Schoenfeld residual below, I decide to use a heaviside function with the time cut-off at 2 (the 600th rank of time) on this variable.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SASq.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69036iF39890763967B21E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASq.png" alt="SASq.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe that, with the heaviside function, I still assume the proportional hazard in each time interval. I tried the ZPH option and ASSESS statement, and I got the note: "Model assessment is not available when there are time-dependent covariates. The ASSESS statement is ignored." I further tried to output Schoenfeld residual (see code below), but I got no observation in the output dataset. Does anyone know how to assess the PH assumption in this model?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; PROC PHREG DATA= DF;
  CLASS EXPO SEX;
  MODEL TIME*SA(0,)= EXPO AGE SEX  EGFRT1 EGFRT2 / RL=PL;
   EGFRT1=0;
   IF TIME&amp;lt;2 THEN EGFRT1=EGFR;
   EGFRT2=0;
   IF TIME&amp;gt;=2 THEN EGFRT2=EGFR;
  OUTPUT OUT=SCHOEN RESSCH=SCHEXPO SCHAGE SCHSEX SCHEGFRT1 SCHEGFRT2;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Mar 2022 16:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-assess-PH-assumption-in-extended-Cox-model/m-p/799361#M39311</guid>
      <dc:creator>kivanvan</dc:creator>
      <dc:date>2022-03-01T16:07:09Z</dc:date>
    </item>
  </channel>
</rss>

