<?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: p-values in Proc Glimmix in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/p-values-in-Proc-Glimmix/m-p/75411#M3618</link>
    <description>Andres,&lt;BR /&gt;
&lt;BR /&gt;
The p-values for male reported in the Parameter Estimates table represents a test of the effect of gender in the reference wave only.  But the p-value for male reported in the Type III tests of fixed effects table represents a test of the gender effect across all waves.&lt;BR /&gt;
&lt;BR /&gt;
To better understand this, try adding the following ESTIMATE statements to your GLIMMIX run:&lt;BR /&gt;
&lt;BR /&gt;
estimate "Male effect in reference group"&lt;BR /&gt;
&amp;nbsp;&amp;nbsp;male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&lt;BR /&gt;
&amp;nbsp;&amp;nbsp;male*wave 0 0 1;&lt;BR /&gt;
estimate "Average male effect"&lt;BR /&gt;
&amp;nbsp;&amp;nbsp;male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3&lt;BR /&gt;
&amp;nbsp;&amp;nbsp;male*wave 1 1 1 / divisor=3;&lt;BR /&gt;
&lt;BR /&gt;
The first ESTIMATE statement should give you the effect estimate and p-value returned in the Parameter Estimates table.  The second ESTIMATE should give you the p-value returned in the Type III tests of fixed effects table.&lt;BR /&gt;
&lt;BR /&gt;
Your interest is probably not to test the effect of gender in wave 3 only.  Rather, you probably would like to test the effect of gender in the entire data set.  That is the test given by the second ESTIMATE statement representing the "Average male effect" across all waves and also the test presented by the Type III tests of fixed effects table.&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
&lt;BR /&gt;
Dale</description>
    <pubDate>Wed, 14 Oct 2009 22:48:31 GMT</pubDate>
    <dc:creator>Dale</dc:creator>
    <dc:date>2009-10-14T22:48:31Z</dc:date>
    <item>
      <title>p-values in Proc Glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/p-values-in-Proc-Glimmix/m-p/75410#M3617</link>
      <description>Hello- I have run a few models with glimmix and there is something that has confused me and still does. I hope someone can help me figure out what is going on. Right now, I am working on some data whose outcome variable is binary. There are also repeated measurements. So if I run a 'relatively' simple model, say: &lt;BR /&gt;
&lt;BR /&gt;
proc glimmix data=subset5;&lt;BR /&gt;
class wave hhid;&lt;BR /&gt;
model injury(event='1')= arthrit male wave wave*arthrit wave*male / s d=b;&lt;BR /&gt;
random _residual_/ sub=hhid type=cs;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Where the outcome injury and the covariates arthrit male are coded as 1 or 0. &lt;BR /&gt;
&lt;BR /&gt;
So I obtain my Type III tests of fixed effects. The p values for these are: &lt;BR /&gt;
                                         Num      Den&lt;BR /&gt;
                        Effect            DF       DF    F Value    Pr &amp;gt; F&lt;BR /&gt;
&lt;BR /&gt;
                        arthrit            1     2974      33.73    &amp;lt;.0001&lt;BR /&gt;
                        male               1     2974      16.45    &amp;lt;.0001&lt;BR /&gt;
                        wave               3     1911       1.83    0.1387&lt;BR /&gt;
                        arthrit*wave       3     2974       0.64    0.5902&lt;BR /&gt;
                        male*wave          3     2974       0.35    0.7880&lt;BR /&gt;
&lt;BR /&gt;
However, when I look at the solution, the p-values do not correspond at all. For instance, the p-values for simple effects such as arthrit and male are:&lt;BR /&gt;
                                               Standard&lt;BR /&gt;
           Effect          wave    Estimate       Error       DF    t Value    Pr &amp;gt; |t|&lt;BR /&gt;
&lt;BR /&gt;
           Intercept                -2.0517      0.3033      905      -6.76      &amp;lt;.0001&lt;BR /&gt;
           arthrit                   0.4077      0.2432     2974       1.68      0.0938&lt;BR /&gt;
           male                      0.2071      0.2719     2974       0.76      0.4464&lt;BR /&gt;
&lt;BR /&gt;
Can someone please explain to me what is going on? Thank you in advance.&lt;BR /&gt;
Andres</description>
      <pubDate>Fri, 09 Oct 2009 22:05:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/p-values-in-Proc-Glimmix/m-p/75410#M3617</guid>
      <dc:creator>AA1973</dc:creator>
      <dc:date>2009-10-09T22:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: p-values in Proc Glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/p-values-in-Proc-Glimmix/m-p/75411#M3618</link>
      <description>Andres,&lt;BR /&gt;
&lt;BR /&gt;
The p-values for male reported in the Parameter Estimates table represents a test of the effect of gender in the reference wave only.  But the p-value for male reported in the Type III tests of fixed effects table represents a test of the gender effect across all waves.&lt;BR /&gt;
&lt;BR /&gt;
To better understand this, try adding the following ESTIMATE statements to your GLIMMIX run:&lt;BR /&gt;
&lt;BR /&gt;
estimate "Male effect in reference group"&lt;BR /&gt;
&amp;nbsp;&amp;nbsp;male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&lt;BR /&gt;
&amp;nbsp;&amp;nbsp;male*wave 0 0 1;&lt;BR /&gt;
estimate "Average male effect"&lt;BR /&gt;
&amp;nbsp;&amp;nbsp;male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3&lt;BR /&gt;
&amp;nbsp;&amp;nbsp;male*wave 1 1 1 / divisor=3;&lt;BR /&gt;
&lt;BR /&gt;
The first ESTIMATE statement should give you the effect estimate and p-value returned in the Parameter Estimates table.  The second ESTIMATE should give you the p-value returned in the Type III tests of fixed effects table.&lt;BR /&gt;
&lt;BR /&gt;
Your interest is probably not to test the effect of gender in wave 3 only.  Rather, you probably would like to test the effect of gender in the entire data set.  That is the test given by the second ESTIMATE statement representing the "Average male effect" across all waves and also the test presented by the Type III tests of fixed effects table.&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
&lt;BR /&gt;
Dale</description>
      <pubDate>Wed, 14 Oct 2009 22:48:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/p-values-in-Proc-Glimmix/m-p/75411#M3618</guid>
      <dc:creator>Dale</dc:creator>
      <dc:date>2009-10-14T22:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: p-values in Proc Glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/p-values-in-Proc-Glimmix/m-p/75412#M3619</link>
      <description>Thank you very much. It makes sense now.</description>
      <pubDate>Tue, 03 Nov 2009 20:34:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/p-values-in-Proc-Glimmix/m-p/75412#M3619</guid>
      <dc:creator>AA1973</dc:creator>
      <dc:date>2009-11-03T20:34:38Z</dc:date>
    </item>
  </channel>
</rss>

