<?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: over dispersion with spatial correlation correction in GLIMMIX in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/over-dispersion-with-spatial-correlation-correction-in-GLIMMIX/m-p/179153#M9286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that if you change the random statement just slightly, it should accommodate overdispersion.&amp;nbsp; Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;random _residual_ / type=sp(exp)(lat long) subject=block;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the use of the underscores on residual when placed before the slash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now on to other questions.&amp;nbsp; You list Site in the CLASS statement.&amp;nbsp; This leads me to suspect that there are blocks at multiple sites, and that you have not yet included the random effect of site.&amp;nbsp; To make sure the overdispersion statement works, you must have unique values for blocks.&amp;nbsp; By this I mean that if you have block=1 at site=1 and also have block=1 at site=2, you are going to run into problems.&amp;nbsp; I would suggest, just to be on the safe side, that you change the subject= option to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subject=block*site;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question, and this one just reflects my not knowing the field very well, has to do with the oddsratio option.&amp;nbsp; What does this represent in a model with gaussian errors?&amp;nbsp; Since you have an identity link, the best that will happen if you include this is a NOTE or WARNING in the log.&amp;nbsp; At worst, it will stop the procedure.&amp;nbsp; The oddsratio option only applies if there is a logit link (could be cumulative or generalized logit).&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, 15 Jul 2014 13:24:40 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2014-07-15T13:24:40Z</dc:date>
    <item>
      <title>over dispersion with spatial correlation correction in GLIMMIX</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/over-dispersion-with-spatial-correlation-correction-in-GLIMMIX/m-p/179152#M9285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have normally distributed data that is spatially correlated. When I put in correction code for spatial correlation the chi square/DF value becomes very large showing that it is over dispersed. Is there a correction I can do for this? Also, how do I refer to this code for spatially correlated data in my methods? The code I have is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;GLIMMIX&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;data&lt;/SPAN&gt;=WORK.Ch_2_tree_inverts;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #0433ff;"&gt;CLASS&lt;/SPAN&gt; Site Treatment Block;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #0433ff;"&gt;MODEL&lt;/SPAN&gt; pests = Treatment&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Courier New'; color: #0433ff;"&gt;&lt;SPAN style="color: #000000;"&gt;/ &lt;/SPAN&gt;dist&lt;SPAN style="color: #000000;"&gt;=gaussian &lt;/SPAN&gt;solution&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;oddsratio&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #0433ff;"&gt;random&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;residual&lt;/SPAN&gt; / &lt;SPAN style="color: #0433ff;"&gt;type&lt;/SPAN&gt;=sp(exp) (Lat Long) &lt;SPAN style="color: #0433ff;"&gt;subject&lt;/SPAN&gt;=Block;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Courier New'; color: #011993;"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Courier New'; color: #011993;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Courier New'; color: #011993;"&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 00:14:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/over-dispersion-with-spatial-correlation-correction-in-GLIMMIX/m-p/179152#M9285</guid>
      <dc:creator>awdanne</dc:creator>
      <dc:date>2014-07-15T00:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: over dispersion with spatial correlation correction in GLIMMIX</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/over-dispersion-with-spatial-correlation-correction-in-GLIMMIX/m-p/179153#M9286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that if you change the random statement just slightly, it should accommodate overdispersion.&amp;nbsp; Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;random _residual_ / type=sp(exp)(lat long) subject=block;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the use of the underscores on residual when placed before the slash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now on to other questions.&amp;nbsp; You list Site in the CLASS statement.&amp;nbsp; This leads me to suspect that there are blocks at multiple sites, and that you have not yet included the random effect of site.&amp;nbsp; To make sure the overdispersion statement works, you must have unique values for blocks.&amp;nbsp; By this I mean that if you have block=1 at site=1 and also have block=1 at site=2, you are going to run into problems.&amp;nbsp; I would suggest, just to be on the safe side, that you change the subject= option to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subject=block*site;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question, and this one just reflects my not knowing the field very well, has to do with the oddsratio option.&amp;nbsp; What does this represent in a model with gaussian errors?&amp;nbsp; Since you have an identity link, the best that will happen if you include this is a NOTE or WARNING in the log.&amp;nbsp; At worst, it will stop the procedure.&amp;nbsp; The oddsratio option only applies if there is a logit link (could be cumulative or generalized logit).&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, 15 Jul 2014 13:24:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/over-dispersion-with-spatial-correlation-correction-in-GLIMMIX/m-p/179153#M9286</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-07-15T13:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: over dispersion with spatial correlation correction in GLIMMIX</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/over-dispersion-with-spatial-correlation-correction-in-GLIMMIX/m-p/179154#M9287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Steve, that was a great help and you're right the oddsratio shouldn't have been there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 05:49:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/over-dispersion-with-spatial-correlation-correction-in-GLIMMIX/m-p/179154#M9287</guid>
      <dc:creator>awdanne</dc:creator>
      <dc:date>2014-07-22T05:49:27Z</dc:date>
    </item>
  </channel>
</rss>

