<?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: PHREG multilevel response in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-multilevel-response/m-p/709647#M34363</link>
    <description>&lt;P&gt;If the response that you want to model is multinomial (either ordinal or nominal), then you should be using PROC LOGISTIC, not PROC PHREG. You can find examples of both in the Examples section of the LOGISTIC documentation. From your description, it sounds like you want to treat the response levels as nominal. The comparisons you mention will be obtained if you use the LINK=GLOGIT option in the MODEL statement and the DESCENDING response variable option:&lt;/P&gt;
&lt;P&gt;model stm(descending) = drug year / link=glogit;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jan 2021 16:12:07 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2021-01-06T16:12:07Z</dc:date>
    <item>
      <title>PHREG multilevel response</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-multilevel-response/m-p/708337#M34327</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;How can I modify PHREG statement to run for a multilevel response variable (stm= 0, 1, 2). The following statement yield one HR, I need to get two HR for stm(1 vs. 0 and 2 vs. 0)&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc phreg data=s ;

&amp;nbsp;&amp;nbsp; class drug (ref='1') stm (ref='0') / param=ref;

&amp;nbsp;&amp;nbsp; model period1*stm(0)= drug&amp;nbsp; year/ risklimits;

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;any help is appreciated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2020 14:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PHREG-multilevel-response/m-p/708337#M34327</guid>
      <dc:creator>lillymaginta1</dc:creator>
      <dc:date>2020-12-27T14:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: PHREG multilevel response</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-multilevel-response/m-p/709237#M34328</link>
      <description>Moved this post to Statistical Procedures, where it should get better exposure.</description>
      <pubDate>Mon, 04 Jan 2021 15:58:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PHREG-multilevel-response/m-p/709237#M34328</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2021-01-04T15:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: PHREG multilevel response</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-multilevel-response/m-p/709476#M34355</link>
      <description>&lt;P&gt;Try adding a HAZARDRATIO statement, such as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;hazardratio stm/diff=ref;&lt;/PRE&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 18:54:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PHREG-multilevel-response/m-p/709476#M34355</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-01-05T18:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: PHREG multilevel response</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-multilevel-response/m-p/709630#M34362</link>
      <description>&lt;P&gt;Thank you for the response! I tried the statement but I received the following error, the variable specified in the hazardratio statement must be in the model.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 14:51:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PHREG-multilevel-response/m-p/709630#M34362</guid>
      <dc:creator>lillymaginta1</dc:creator>
      <dc:date>2021-01-06T14:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: PHREG multilevel response</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PHREG-multilevel-response/m-p/709647#M34363</link>
      <description>&lt;P&gt;If the response that you want to model is multinomial (either ordinal or nominal), then you should be using PROC LOGISTIC, not PROC PHREG. You can find examples of both in the Examples section of the LOGISTIC documentation. From your description, it sounds like you want to treat the response levels as nominal. The comparisons you mention will be obtained if you use the LINK=GLOGIT option in the MODEL statement and the DESCENDING response variable option:&lt;/P&gt;
&lt;P&gt;model stm(descending) = drug year / link=glogit;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 16:12:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PHREG-multilevel-response/m-p/709647#M34363</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-01-06T16:12:07Z</dc:date>
    </item>
  </channel>
</rss>

