<?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: Categorical variables in Proc PHREG? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-in-Proc-PHREG/m-p/320164#M16917</link>
    <description>&lt;P&gt;I agree with &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879" target="_self"&gt;Reeza&lt;/A&gt;. Most likely,&amp;nbsp;you should&amp;nbsp;use the param=glm option in the class statement.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2016 10:19:57 GMT</pubDate>
    <dc:creator>JacobSimonsen</dc:creator>
    <dc:date>2016-12-20T10:19:57Z</dc:date>
    <item>
      <title>Categorical variables in Proc PHREG?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-in-Proc-PHREG/m-p/319681#M16905</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using PROC PHREG for time to event analysis. &amp;nbsp;I have a mix of continous and categorical variables to put into the model. &amp;nbsp;Can I put the categorical variables in the class statement of the model, and be OK or do I need to create dummy variables for each of them?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc phreg data=Tx1 outest=coxOutput covout plots=survival;&lt;BR /&gt;class DIAG_US product2 (ref='HMO') PlanGen (ref='Least Generous') rx_list4 (ref='mono') GDR_CD2 US_Cat(ref='no US') INDYR (ref='2004') ;&lt;BR /&gt;model bDMARDtm2*BLGC(0)=&lt;BR /&gt;rx_list4&lt;BR /&gt;US_Cat&lt;BR /&gt;DIAG_US&lt;BR /&gt;PlanGen&lt;BR /&gt;CIRASScore&lt;BR /&gt;OOP&lt;BR /&gt;ageonset&lt;BR /&gt;QCMI&lt;BR /&gt;QCMI6&lt;BR /&gt;Product2&lt;BR /&gt;INDYR&lt;BR /&gt;GDR_CD2&lt;BR /&gt;/ties=exact risklimits;&lt;BR /&gt;Format DIAG_US Diag_US_txt. product2 product2_txt. Fmastatus2 fmastatus2_txt. GDR_CD3 gdr_cd_txt. plangen plangen_txt. US_Cat US_Cat_txt. rx_list4 rx_List4_txt.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 22:38:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-in-Proc-PHREG/m-p/319681#M16905</guid>
      <dc:creator>cbatzi01</dc:creator>
      <dc:date>2016-12-16T22:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Categorical variables in Proc PHREG?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-in-Proc-PHREG/m-p/319684#M16906</link>
      <description>&lt;P&gt;Yes, you can use CLASS variables, but you should verify the parameterization method. Typically, PARAM=REF is the one used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 22:49:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-in-Proc-PHREG/m-p/319684#M16906</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-12-16T22:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Categorical variables in Proc PHREG?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-in-Proc-PHREG/m-p/320164#M16917</link>
      <description>&lt;P&gt;I agree with &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879" target="_self"&gt;Reeza&lt;/A&gt;. Most likely,&amp;nbsp;you should&amp;nbsp;use the param=glm option in the class statement.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 10:19:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-in-Proc-PHREG/m-p/320164#M16917</guid>
      <dc:creator>JacobSimonsen</dc:creator>
      <dc:date>2016-12-20T10:19:57Z</dc:date>
    </item>
  </channel>
</rss>

