<?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: standard error equal to 0 using glimmix procedure in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22260#M725</link>
    <description>Yes, I resolved the problem after I divided the animal data by 10,000. Thanks a lot for your valuable suggestion!</description>
    <pubDate>Tue, 26 Oct 2010 18:40:13 GMT</pubDate>
    <dc:creator>sweettravel</dc:creator>
    <dc:date>2010-10-26T18:40:13Z</dc:date>
    <item>
      <title>standard error equal to 0 using glimmix procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22257#M722</link>
      <description>Hi, all&lt;BR /&gt;
&lt;BR /&gt;
I have a question with regard to stand error output when using glimmix.&lt;BR /&gt;
&lt;BR /&gt;
I am trying to run a model on how the No. of veterinarians are determined by animal stocks. Since I have both male vets and female vets for each county, and the explanatory variables are the same for them, I think they are correlated, so I am trying to run a bivariate poisson model here. &lt;BR /&gt;
&lt;BR /&gt;
I use the R-side covariance structure is used to model the correlations. I find in the output, General Chi-square/DF is 1 if I use this regresion. &lt;BR /&gt;
&lt;BR /&gt;
My code is like:&lt;BR /&gt;
 First I combine "male vet" and "female vet" into one variable "gender":&lt;BR /&gt;
data gender2000;&lt;BR /&gt;
length dist $7;&lt;BR /&gt;
length class $7;&lt;BR /&gt;
      set sea2000; &lt;BR /&gt;
      gender =male;&lt;BR /&gt;
      class="male";&lt;BR /&gt;
      dist     = "poisson";&lt;BR /&gt;
      output;&lt;BR /&gt;
      gender = female;&lt;BR /&gt;
      class  = "female";&lt;BR /&gt;
      dist     = "poisson";&lt;BR /&gt;
      output;&lt;BR /&gt;
      keep gender hog Cattle horse sheep dist class obs;&lt;BR /&gt;
   run;&lt;BR /&gt;
&lt;BR /&gt;
Then I run glimmix:&lt;BR /&gt;
  proc glimmix data=gender2000;&lt;BR /&gt;
nloptions maxiter = 100;&lt;BR /&gt;
      class obs class;&lt;BR /&gt;
      model gender = class class*hog class*cattle class*horse class*sheep/&lt;BR /&gt;
                       noint s dist=byobs(dist);&lt;BR /&gt;
      random _residual_ / subject=obs type=chol;&lt;BR /&gt;
   run;&lt;BR /&gt;
&lt;BR /&gt;
This is part of the output I get:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Solutions for Fixed Effects&lt;BR /&gt;
&lt;BR /&gt;
                                                            Standard&lt;BR /&gt;
        Effect              class     Estimate       Error       DF    t Value    Pr &amp;gt; |t|&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
        Hog*class           female    -1.43E-7           0     1387     -Infty      &amp;lt;.0001&lt;BR /&gt;
        Hog*class           male      3.888E-7           0     1387      Infty      &amp;lt;.0001&lt;BR /&gt;
        cattle*class        female    4.039E-7           0     1387      Infty      &amp;lt;.0001&lt;BR /&gt;
        cattle*class        male      1.507E-6           0     1387      Infty      &amp;lt;.0001&lt;BR /&gt;
        Horse*class         female    0.000032    9.712E-6     1387       3.33      0.0009&lt;BR /&gt;
        Horse*class         male      0.000052    6.942E-6     1387       7.44      &amp;lt;.0001&lt;BR /&gt;
        Sheep*class         female     2.83E-6    1.709E-6     1387       1.66      0.0980&lt;BR /&gt;
        Sheep*class         male      -2.98E-7    1.209E-6     1387      -0.25      0.8056&lt;BR /&gt;
&lt;BR /&gt;
As you can see, several explanatory variables have standard error equal to 0. I have never encountered this problem before. As we always expect low standard error is a good sign, but with almost everything equal to 0 is weird here. Is it because my data?  For example, I have the Mean for hog as 85603, with a standard deviation of 258881. I have total 1409 observations in the original data set. &lt;BR /&gt;
&lt;BR /&gt;
I wonder whether anyone could provide an insight into my problem. Is there a way to correct it? Or is there some materials I can read to better understand the glimmix procedures, e.g, how this std. error is calculated? Thanks a lot!</description>
      <pubDate>Mon, 25 Oct 2010 23:11:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22257#M722</guid>
      <dc:creator>sweettravel</dc:creator>
      <dc:date>2010-10-25T23:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: standard error equal to 0 using glimmix procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22258#M723</link>
      <description>It could be that you are in fact having numeric precision problems, as you suspect, given the large number of animals and what is probably a small number of vets.  You could read up on numeric precision in SAS (you get lots of hits with Google), but it's even easier to just divide your animal count variables by 10,000 and see what happens.&lt;BR /&gt;
&lt;BR /&gt;
Let us know!&lt;BR /&gt;
Susan</description>
      <pubDate>Tue, 26 Oct 2010 03:43:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22258#M723</guid>
      <dc:creator>Susan</dc:creator>
      <dc:date>2010-10-26T03:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: standard error equal to 0 using glimmix procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22259#M724</link>
      <description>What about a slightly different approach, rather than the bivariate poisson?  What do you get if you fit differing variance components by class?  For example:&lt;BR /&gt;
&lt;BR /&gt;
proc glimmix data=gender2000;&lt;BR /&gt;
nloptions maxiter = 100;&lt;BR /&gt;
class obs class;&lt;BR /&gt;
model gender = class class*hog class*cattle class*horse class*sheep/&lt;BR /&gt;
noint s dist=poi;&lt;BR /&gt;
random _residual_ / subject=obs type=chol &lt;B&gt;group=class&lt;/B&gt; ;&lt;BR /&gt;
&lt;B&gt;covtest homogeneity;&lt;/B&gt;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
I only suggest this as this leads to a test for homogeneity of variance between the classes, which is not readily available using the bivariate approach.&lt;BR /&gt;
&lt;BR /&gt;
Steve Denham</description>
      <pubDate>Tue, 26 Oct 2010 12:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22259#M724</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2010-10-26T12:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: standard error equal to 0 using glimmix procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22260#M725</link>
      <description>Yes, I resolved the problem after I divided the animal data by 10,000. Thanks a lot for your valuable suggestion!</description>
      <pubDate>Tue, 26 Oct 2010 18:40:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22260#M725</guid>
      <dc:creator>sweettravel</dc:creator>
      <dc:date>2010-10-26T18:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: standard error equal to 0 using glimmix procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22261#M726</link>
      <description>Thanks a lot for your suggestion. I get the following result for the covariance test, yet the coefficient estimation result does not change much. Not sure whether the difference in variance is a problem or not. &lt;BR /&gt;
&lt;BR /&gt;
Tests of Covariance Parameters&lt;BR /&gt;
                             Based on the Residual Pseudo-Likelihood&lt;BR /&gt;
&lt;BR /&gt;
            Label            DF    -2 Res Log P-Like      ChiSq    Pr &amp;gt; ChiSq    Note&lt;BR /&gt;
&lt;BR /&gt;
            Homogeneity       3              7913.87       0.00        1.0000    DF&lt;BR /&gt;
&lt;BR /&gt;
DF: P-value based on a chi-square with DF degrees of freedom.</description>
      <pubDate>Tue, 26 Oct 2010 18:50:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22261#M726</guid>
      <dc:creator>sweettravel</dc:creator>
      <dc:date>2010-10-26T18:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: standard error equal to 0 using glimmix procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22262#M727</link>
      <description>That result says that there is no evidence for a difference in variance between males and females, which to me means that a common estimate is sufficient for the analysis.  You may not need the bivariate approach at all.&lt;BR /&gt;
&lt;BR /&gt;
Good luck.&lt;BR /&gt;
&lt;BR /&gt;
Steve Denham</description>
      <pubDate>Wed, 27 Oct 2010 11:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/standard-error-equal-to-0-using-glimmix-procedure/m-p/22262#M727</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2010-10-27T11:00:32Z</dc:date>
    </item>
  </channel>
</rss>

