<?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 get C statistic from cox regression with time-dependent covariates in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-C-statistic-from-cox-regression-with-time-dependent/m-p/682442#M32821</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used proc phreg to conduct survival analysis but failed to get the c statistic from the model. I kept receiving an error message from the log: &lt;SPAN&gt;&amp;nbsp;'Neither concordance nor ROC analysis is performed with the START/STOP specification'&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;
PROC PHREG DATA=temp.POP_long2 concordance plots=roc rocoptions(at=365 to 2920 by 365);
class c_age (ref='1') c_education (ref='1') c_gender (ref='2') c_race (ref='1') 
      c_married(ref='0') c_access(ref='0') c_financialDifficulty(ref='0') c_depression(ref='0')
      c_Anxiety(ref='0') c_demclas(ref='3') c_carecompanion(ref='0') 
      c_ParticipationRestriction(ref='0')/param=reference;
MODEL (start,stop)*flag_visitFallout_t(0)=c_age  c_gender c_race c_education c_married c_access c_financialDifficulty 
                                          c_ParticipationRestriction c_depression c_Anxiety Comorbidities_f  
                                          IADLs c_demclas  c_carecompanion /TIES=EFRON;
RUN&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also tried something like:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-sas"&gt;&lt;CODE&gt;plots=auc rocoptions(method=ipcw(cl seed=1234));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;but that didn't work neither.&amp;nbsp;&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 any way to work around this. Thanks for your inputs!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2020 23:22:40 GMT</pubDate>
    <dc:creator>Crystal_F</dc:creator>
    <dc:date>2020-09-08T23:22:40Z</dc:date>
    <item>
      <title>How to get C statistic from cox regression with time-dependent covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-C-statistic-from-cox-regression-with-time-dependent/m-p/682442#M32821</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used proc phreg to conduct survival analysis but failed to get the c statistic from the model. I kept receiving an error message from the log: &lt;SPAN&gt;&amp;nbsp;'Neither concordance nor ROC analysis is performed with the START/STOP specification'&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;
PROC PHREG DATA=temp.POP_long2 concordance plots=roc rocoptions(at=365 to 2920 by 365);
class c_age (ref='1') c_education (ref='1') c_gender (ref='2') c_race (ref='1') 
      c_married(ref='0') c_access(ref='0') c_financialDifficulty(ref='0') c_depression(ref='0')
      c_Anxiety(ref='0') c_demclas(ref='3') c_carecompanion(ref='0') 
      c_ParticipationRestriction(ref='0')/param=reference;
MODEL (start,stop)*flag_visitFallout_t(0)=c_age  c_gender c_race c_education c_married c_access c_financialDifficulty 
                                          c_ParticipationRestriction c_depression c_Anxiety Comorbidities_f  
                                          IADLs c_demclas  c_carecompanion /TIES=EFRON;
RUN&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also tried something like:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-sas"&gt;&lt;CODE&gt;plots=auc rocoptions(method=ipcw(cl seed=1234));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;but that didn't work neither.&amp;nbsp;&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 any way to work around this. Thanks for your inputs!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 23:22:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-C-statistic-from-cox-regression-with-time-dependent/m-p/682442#M32821</guid>
      <dc:creator>Crystal_F</dc:creator>
      <dc:date>2020-09-08T23:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get C statistic from cox regression with time-dependent covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-C-statistic-from-cox-regression-with-time-dependent/m-p/685130#M32987</link>
      <description>Please check out this example:&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/63/276.html" target="_blank"&gt;https://support.sas.com/kb/63/276.html&lt;/A&gt;</description>
      <pubDate>Sat, 19 Sep 2020 00:18:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-C-statistic-from-cox-regression-with-time-dependent/m-p/685130#M32987</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2020-09-19T00:18:56Z</dc:date>
    </item>
  </channel>
</rss>

