<?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 Dunnet test - Programming issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Dunnet-test-Programming-issue/m-p/344140#M79059</link>
    <description>&lt;P&gt;I'm having an issue when programming SAS to use Dunnet test: instead of use the treatment "-1" as reference for dunnet test, it is using the treatment "0". So it is comparing treatment "0" with each other treatment. Please, see the attachment with the SAS code and result. What can I do to make SAS use the treatment "-1" as reference?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, the same are occurring in the contrast analysis: instead&amp;nbsp;consider treatments 0, 1000, 2000, and&amp;nbsp;3000 excluding the treatment "-1", it is performing the contrast using "-1, 1000, 2000, and 3000" and excluding the treatment "0".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The treatment -1 means a control treatment and did not macth with the other treatment levels. Such code programming usually work, but now I'm using SAS online and it did not work in the same way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13609i2E1069EB0E575994/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SAS doubt.png" title="SAS doubt.png" /&gt;</description>
    <pubDate>Fri, 24 Mar 2017 17:47:56 GMT</pubDate>
    <dc:creator>Maicon</dc:creator>
    <dc:date>2017-03-24T17:47:56Z</dc:date>
    <item>
      <title>Dunnet test - Programming issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Dunnet-test-Programming-issue/m-p/344140#M79059</link>
      <description>&lt;P&gt;I'm having an issue when programming SAS to use Dunnet test: instead of use the treatment "-1" as reference for dunnet test, it is using the treatment "0". So it is comparing treatment "0" with each other treatment. Please, see the attachment with the SAS code and result. What can I do to make SAS use the treatment "-1" as reference?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, the same are occurring in the contrast analysis: instead&amp;nbsp;consider treatments 0, 1000, 2000, and&amp;nbsp;3000 excluding the treatment "-1", it is performing the contrast using "-1, 1000, 2000, and 3000" and excluding the treatment "0".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The treatment -1 means a control treatment and did not macth with the other treatment levels. Such code programming usually work, but now I'm using SAS online and it did not work in the same way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13609i2E1069EB0E575994/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SAS doubt.png" title="SAS doubt.png" /&gt;</description>
      <pubDate>Fri, 24 Mar 2017 17:47:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Dunnet-test-Programming-issue/m-p/344140#M79059</guid>
      <dc:creator>Maicon</dc:creator>
      <dc:date>2017-03-24T17:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dunnet test - Programming issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Dunnet-test-Programming-issue/m-p/344157#M79065</link>
      <description>&lt;P&gt;Don't post your code as an image, use the icons in the forum to insert your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to modify your CLASS staement. You can set the reference level to first or last. If the level you need is not one of these, then you need to recode your data such that it is.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mixed_syntax03.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mixed_syntax03.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/135651"&gt;@Maicon&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I'm having an issue when programming SAS to use Dunnet test: instead of use the treatment "-1" as reference for dunnet test, it is using the treatment "0". So it is comparing treatment "0" with each other treatment. Please, see the attachment with the SAS code and result. What can I do to make SAS use the treatment "-1" as reference?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, the same are occurring in the contrast analysis: instead&amp;nbsp;consider treatments 0, 1000, 2000, and&amp;nbsp;3000 excluding the treatment "-1", it is performing the contrast using "-1, 1000, 2000, and 3000" and excluding the treatment "0".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The treatment -1 means a control treatment and did not macth with the other treatment levels. Such code programming usually work, but now I'm using SAS online and it did not work in the same way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 18:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Dunnet-test-Programming-issue/m-p/344157#M79065</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-24T18:40:10Z</dc:date>
    </item>
  </channel>
</rss>

