<?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: Cox regression with time dependent continuous covariate with long followup in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Cox-regression-with-time-dependent-continuous-covariate-with/m-p/671098#M32069</link>
    <description>&lt;P&gt;Please see the error log below. Thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiny_Kane_0-1595348542428.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47451i866DF9B0A48EDFB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiny_Kane_0-1595348542428.png" alt="Tiny_Kane_0-1595348542428.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2020 16:23:10 GMT</pubDate>
    <dc:creator>Tiny_Kane</dc:creator>
    <dc:date>2020-07-21T16:23:10Z</dc:date>
    <item>
      <title>Cox regression with time dependent continuous covariate with long followup</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cox-regression-with-time-dependent-continuous-covariate-with/m-p/670826#M32054</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to fit a cox regression with time dependent covariate. I am pretty new to this method. I looked related paper and the SAS PHREG guide, however none of them fit my case. the measurement X was repeatedly taken and it is time dependent. I want to estimate the effect of X on the death. However, the follow-up for this study is very long, it can be up to 10 years. The unit of the time to death is days. I cannot use any array function when preparing the dataset&amp;nbsp; for the PHREG. The array is always out of range. Does any body have any recommendation? Thank you very much in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data example.&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="390"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;ID&amp;nbsp;&lt;/TD&gt;
&lt;TD width="64"&gt;X&lt;/TD&gt;
&lt;TD width="64"&gt;X_date&lt;/TD&gt;
&lt;TD width="64"&gt;death&lt;/TD&gt;
&lt;TD width="134"&gt;time to death&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;23&lt;/TD&gt;
&lt;TD&gt;1/1/2003&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;1880&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;15&lt;/TD&gt;
&lt;TD&gt;2/1/2007&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;1880&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;27&lt;/TD&gt;
&lt;TD&gt;…&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;1880&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;28&lt;/TD&gt;
&lt;TD&gt;…&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;1880&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;20&lt;/TD&gt;
&lt;TD&gt;…&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;1880&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;…&lt;/TD&gt;
&lt;TD&gt;…&lt;/TD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
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;…&lt;/TD&gt;
&lt;TD&gt;…&lt;/TD&gt;
&lt;TD&gt;…&lt;/TD&gt;
&lt;TD&gt;…&lt;/TD&gt;
&lt;TD&gt;…&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Mon, 20 Jul 2020 21:27:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cox-regression-with-time-dependent-continuous-covariate-with/m-p/670826#M32054</guid>
      <dc:creator>Tiny_Kane</dc:creator>
      <dc:date>2020-07-20T21:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cox regression with time dependent continuous covariate with long followup</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cox-regression-with-time-dependent-continuous-covariate-with/m-p/670946#M32060</link>
      <description>&lt;P&gt;How large are the arrays?&amp;nbsp; If you are getting "out of range" errors, test your code in a DATA step, and if it still occurs, share the pertinent section of the log.&amp;nbsp; I don't know what the maximum dimension of an array can be, but I don't think it is less than 3650 (ten years counting by day).&amp;nbsp; Therefore, I suspect that there is something unusual in your situation that is causing the out of range error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 12:05:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cox-regression-with-time-dependent-continuous-covariate-with/m-p/670946#M32060</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-07-21T12:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cox regression with time dependent continuous covariate with long followup</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cox-regression-with-time-dependent-continuous-covariate-with/m-p/671098#M32069</link>
      <description>&lt;P&gt;Please see the error log below. Thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tiny_Kane_0-1595348542428.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47451i866DF9B0A48EDFB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tiny_Kane_0-1595348542428.png" alt="Tiny_Kane_0-1595348542428.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 16:23:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cox-regression-with-time-dependent-continuous-covariate-with/m-p/671098#M32069</guid>
      <dc:creator>Tiny_Kane</dc:creator>
      <dc:date>2020-07-21T16:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cox regression with time dependent continuous covariate with long followup</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cox-regression-with-time-dependent-continuous-covariate-with/m-p/671433#M32094</link>
      <description>&lt;P&gt;Here is a link to someone who had a very similar problem, and the answers they received:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/ERROR-Array-subscript-out-of-range-at-line/td-p/478927" target="_self"&gt;https://communities.sas.com/t5/SAS-Procedures/ERROR-Array-subscript-out-of-range-at-line/td-p/478927&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 15:22:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cox-regression-with-time-dependent-continuous-covariate-with/m-p/671433#M32094</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-07-22T15:22:55Z</dc:date>
    </item>
  </channel>
</rss>

