<?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 categorical data in glimmix in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/categorical-data-in-glimmix/m-p/179214#M9288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I've a data set including two fixed factors (house, strain) with 3 levels of each. The response variable is a lameness score of birds with scores ranging from 0 to 4 (0, 1, 2, 3, 4). I wanted to know if there is a effect of house and/or strain for each score separately. I considered using glimmix with following code&lt;/P&gt;&lt;P&gt;proc glimmix data=work;&lt;/P&gt;&lt;P&gt;class house strain;&lt;/P&gt;&lt;P&gt;model score=house strain/dist=multinomial link=glogit ;&lt;/P&gt;&lt;P&gt;estimate 'A vs B' house 1 -1/ bycat;&lt;/P&gt;&lt;P&gt;estimate 'A vs C' house 1 0 -1/ bycat;&lt;/P&gt;&lt;P&gt;estimate 'B Vs C' house 0&amp;nbsp; 1 -1/ bycat;&lt;/P&gt;&lt;P&gt;estimate 'D vs E' strain 1 -1/ bycat;&lt;/P&gt;&lt;P&gt;estimate 'D vs F' strain 1 0 -1/ bycat;&lt;/P&gt;&lt;P&gt;estimate 'E vs F' strain 0&amp;nbsp; 1 -1/ bycat;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt; However Sas keeps giving me wrong degrees of freedom for main effects and i think the whole analysis was wrong. It would be of great help if somebody could tell me what i'm doing wrong or what would be the appropriate code...&lt;/P&gt;&lt;P&gt;thaks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Oct 2014 20:59:28 GMT</pubDate>
    <dc:creator>Poultry</dc:creator>
    <dc:date>2014-10-09T20:59:28Z</dc:date>
    <item>
      <title>categorical data in glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/categorical-data-in-glimmix/m-p/179214#M9288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I've a data set including two fixed factors (house, strain) with 3 levels of each. The response variable is a lameness score of birds with scores ranging from 0 to 4 (0, 1, 2, 3, 4). I wanted to know if there is a effect of house and/or strain for each score separately. I considered using glimmix with following code&lt;/P&gt;&lt;P&gt;proc glimmix data=work;&lt;/P&gt;&lt;P&gt;class house strain;&lt;/P&gt;&lt;P&gt;model score=house strain/dist=multinomial link=glogit ;&lt;/P&gt;&lt;P&gt;estimate 'A vs B' house 1 -1/ bycat;&lt;/P&gt;&lt;P&gt;estimate 'A vs C' house 1 0 -1/ bycat;&lt;/P&gt;&lt;P&gt;estimate 'B Vs C' house 0&amp;nbsp; 1 -1/ bycat;&lt;/P&gt;&lt;P&gt;estimate 'D vs E' strain 1 -1/ bycat;&lt;/P&gt;&lt;P&gt;estimate 'D vs F' strain 1 0 -1/ bycat;&lt;/P&gt;&lt;P&gt;estimate 'E vs F' strain 0&amp;nbsp; 1 -1/ bycat;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt; However Sas keeps giving me wrong degrees of freedom for main effects and i think the whole analysis was wrong. It would be of great help if somebody could tell me what i'm doing wrong or what would be the appropriate code...&lt;/P&gt;&lt;P&gt;thaks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 20:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/categorical-data-in-glimmix/m-p/179214#M9288</guid>
      <dc:creator>Poultry</dc:creator>
      <dc:date>2014-10-09T20:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: categorical data in glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/categorical-data-in-glimmix/m-p/179215#M9289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, assuming no interaction, something odd &lt;STRONG&gt;is&lt;/STRONG&gt; happening.&amp;nbsp; By specifying link=glogit, you should be getting nominal data, and the estimates should be correct--if everything else is working.&amp;nbsp; So some design questions: I assume 3 houses and 3 strains.&amp;nbsp; How many observations are available?&amp;nbsp; What degrees of freedom are coming up in the output?&amp;nbsp; Maybe with those we can identify the source of the oddness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 11:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/categorical-data-in-glimmix/m-p/179215#M9289</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-10-14T11:54:28Z</dc:date>
    </item>
  </channel>
</rss>

