<?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 Interaction term in cox proportional hazard in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-term-in-cox-proportional-hazard/m-p/819185#M40503</link>
    <description>&lt;P&gt;Hello SAS users,&lt;/P&gt;
&lt;P&gt;I made cox proportional code, it runs without errors in the log, but I have some missing values(HR, CI) I need to test for interaction of my primary exposure iron(ironcat) with vitamin c(vitccat). also, how I can get a survival analysis graph with the same code? Thanks in advance&lt;/P&gt;
&lt;P&gt;here is my code:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc phreg data = CANIMPT.capstoneclean covs(aggregate) covm;&lt;BR /&gt;class ironcat vitccat;&lt;BR /&gt;model fup_t1d*case_t1d(0) = ironcat ironcat *vitccat /ties=discrete risklimits covb;&lt;BR /&gt;hazardratio "iron unadjusted" ironcat / diff=ref cl=wald;&lt;BR /&gt;title 'Ironcat consumption and T1D progression';&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2022 17:46:07 GMT</pubDate>
    <dc:creator>sulafa</dc:creator>
    <dc:date>2022-06-20T17:46:07Z</dc:date>
    <item>
      <title>Interaction term in cox proportional hazard</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-term-in-cox-proportional-hazard/m-p/819185#M40503</link>
      <description>&lt;P&gt;Hello SAS users,&lt;/P&gt;
&lt;P&gt;I made cox proportional code, it runs without errors in the log, but I have some missing values(HR, CI) I need to test for interaction of my primary exposure iron(ironcat) with vitamin c(vitccat). also, how I can get a survival analysis graph with the same code? Thanks in advance&lt;/P&gt;
&lt;P&gt;here is my code:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc phreg data = CANIMPT.capstoneclean covs(aggregate) covm;&lt;BR /&gt;class ironcat vitccat;&lt;BR /&gt;model fup_t1d*case_t1d(0) = ironcat ironcat *vitccat /ties=discrete risklimits covb;&lt;BR /&gt;hazardratio "iron unadjusted" ironcat / diff=ref cl=wald;&lt;BR /&gt;title 'Ironcat consumption and T1D progression';&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 17:46:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-term-in-cox-proportional-hazard/m-p/819185#M40503</guid>
      <dc:creator>sulafa</dc:creator>
      <dc:date>2022-06-20T17:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Interaction term in cox proportional hazard</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-term-in-cox-proportional-hazard/m-p/819255#M40509</link>
      <description>You don't get HR for interaction terms in the ParameterEstimates table.  You need to use a HAZARDRATIO statement with the AT= option to specify the level of the interacting variable.   Also, the COVS(AGGREGATE) does nothing unless you have an ID statement to identify the clusters.&lt;BR /&gt;&lt;BR /&gt;proc phreg data = CANIMPT.capstoneclean covs(aggregate) covm;&lt;BR /&gt;class ironcat vitccat;&lt;BR /&gt;model fup_t1d*case_t1d(0) = ironcat ironcat *vitccat /ties=discrete risklimits covb;&lt;BR /&gt;hazardratio "iron unadjusted" ironcat / diff=ref cl=wald;&lt;BR /&gt;title 'Ironcat consumption and T1D progression';&lt;BR /&gt;run;&lt;BR /&gt;You will also need the PLOTS= option on the PROC PHREG statement in conjunction with the BASELINE statement in the code.    See Example 8 Survival Curves in the PHREG documentation for the basics.&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Jun 2022 08:06:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-term-in-cox-proportional-hazard/m-p/819255#M40509</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2022-06-21T08:06:23Z</dc:date>
    </item>
  </channel>
</rss>

