<?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: How to use contrast for phreg? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-contrast-for-phreg/m-p/945401#M47235</link>
    <description>I think here CONSTRAST test the hypothesis:&lt;BR /&gt;H0:  -3*does1  +  -1*does2 + 1*does3 + 3*does4 =0 &lt;BR /&gt;Once H0 is true, does1&amp;lt;does2&amp;lt;does3&amp;lt;does4&lt;BR /&gt;&lt;BR /&gt;Here could have you some clue:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Test-for-trend-using-median-values/m-p/306764" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Test-for-trend-using-median-values/m-p/306764&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or calling &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13758"&gt;@lvm&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;  &lt;BR /&gt;</description>
    <pubDate>Fri, 27 Sep 2024 00:39:59 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-09-27T00:39:59Z</dc:date>
    <item>
      <title>How to use contrast for phreg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-contrast-for-phreg/m-p/943565#M47130</link>
      <description>&lt;P&gt;The data have time, censor, and a categorical variable bleed (low, medium, high). I was asked to conduct a trend test for the bleed variable by adding&lt;/P&gt;
&lt;P&gt;contrast 'linear' bleed -1 0 1;&lt;/P&gt;
&lt;P&gt;after the model statement.&lt;/P&gt;
&lt;P&gt;However, if the bleed has four categories, (low, medium, high, severe), the the contrast should be&lt;/P&gt;
&lt;P&gt;contrast 'linear' bleed -3 -1 1 3 ;&lt;/P&gt;
&lt;P&gt;Can anyone help me figure out why the values of the contrast have to be -2 1 1 2 instead or other values?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 20:22:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-contrast-for-phreg/m-p/943565#M47130</guid>
      <dc:creator>SeaMoon_168</dc:creator>
      <dc:date>2024-09-11T20:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use contrast for phreg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-contrast-for-phreg/m-p/943584#M47134</link>
      <description>&lt;A href="https://support.sas.com/kb/22/912.html" target="_blank"&gt;https://support.sas.com/kb/22/912.html&lt;/A&gt;</description>
      <pubDate>Thu, 12 Sep 2024 01:09:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-contrast-for-phreg/m-p/943584#M47134</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-09-12T01:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use contrast for phreg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-contrast-for-phreg/m-p/945364#M47234</link>
      <description>&lt;P&gt;Thank you for your help. But I am still confused about how these values are created, for example, linear (-3 -1 1 3) and quadratic(1 -1 -1 1)?&lt;/P&gt;
&lt;PRE&gt;  contrast 'linear'    dose -3 -1  1 3;
  contrast 'quadratic' dose  1 -1 -1 1;
  contrast 'cubic'     dose -1  3 -3 1;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 20:15:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-contrast-for-phreg/m-p/945364#M47234</guid>
      <dc:creator>SeaMoon_168</dc:creator>
      <dc:date>2024-09-26T20:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use contrast for phreg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-contrast-for-phreg/m-p/945401#M47235</link>
      <description>I think here CONSTRAST test the hypothesis:&lt;BR /&gt;H0:  -3*does1  +  -1*does2 + 1*does3 + 3*does4 =0 &lt;BR /&gt;Once H0 is true, does1&amp;lt;does2&amp;lt;does3&amp;lt;does4&lt;BR /&gt;&lt;BR /&gt;Here could have you some clue:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Test-for-trend-using-median-values/m-p/306764" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Test-for-trend-using-median-values/m-p/306764&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or calling &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13758"&gt;@lvm&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;  &lt;BR /&gt;</description>
      <pubDate>Fri, 27 Sep 2024 00:39:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-contrast-for-phreg/m-p/945401#M47235</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-09-27T00:39:59Z</dc:date>
    </item>
  </channel>
</rss>

