<?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 Time-dependent Cox model with endogenous time-varying cofactor in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Time-dependent-Cox-model-with-endogenous-time-varying-cofactor/m-p/976963#M49005</link>
    <description>&lt;P&gt;I read from a textbook saying the traditional (partial) likelihood function does not hold if the time-varying cofactor is endogenous (if the person dies, the factor will not exist anymore). If we are dealing with exogenous time-varying cofactor such as switch between treatment strategies, we can use the&amp;nbsp;&lt;SPAN&gt;Andersen-Gill model with a&amp;nbsp;robust (clustered) variance estimator to get the model parameters.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I read further and know the joint model could be used to serve the purpose - a&amp;nbsp;shared random eﬀect model, which includes a submodel to depict the trajectory of the time-varying endogenous cofactor (e.g., serum albumin, CD4 cell count, etc.) and the other submodel to describe the survival function. The two parts can be linked together.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I wonder if there is a SAS procedure to fit dataset into this joint model and output estimation of parameters. Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PS: They just jointed the two part independently for the full likelihood function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-10-14 at 9.58.35 PM.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/110623i9DC79A2CCFB20C44/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-10-14 at 9.58.35 PM.png" alt="Screenshot 2025-10-14 at 9.58.35 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 14:07:46 GMT</pubDate>
    <dc:creator>TomHsiung</dc:creator>
    <dc:date>2025-10-14T14:07:46Z</dc:date>
    <item>
      <title>Time-dependent Cox model with endogenous time-varying cofactor</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Time-dependent-Cox-model-with-endogenous-time-varying-cofactor/m-p/976963#M49005</link>
      <description>&lt;P&gt;I read from a textbook saying the traditional (partial) likelihood function does not hold if the time-varying cofactor is endogenous (if the person dies, the factor will not exist anymore). If we are dealing with exogenous time-varying cofactor such as switch between treatment strategies, we can use the&amp;nbsp;&lt;SPAN&gt;Andersen-Gill model with a&amp;nbsp;robust (clustered) variance estimator to get the model parameters.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I read further and know the joint model could be used to serve the purpose - a&amp;nbsp;shared random eﬀect model, which includes a submodel to depict the trajectory of the time-varying endogenous cofactor (e.g., serum albumin, CD4 cell count, etc.) and the other submodel to describe the survival function. The two parts can be linked together.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I wonder if there is a SAS procedure to fit dataset into this joint model and output estimation of parameters. Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PS: They just jointed the two part independently for the full likelihood function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-10-14 at 9.58.35 PM.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/110623i9DC79A2CCFB20C44/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-10-14 at 9.58.35 PM.png" alt="Screenshot 2025-10-14 at 9.58.35 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 14:07:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Time-dependent-Cox-model-with-endogenous-time-varying-cofactor/m-p/976963#M49005</guid>
      <dc:creator>TomHsiung</dc:creator>
      <dc:date>2025-10-14T14:07:46Z</dc:date>
    </item>
  </channel>
</rss>

