<?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 Wald Test results inconsistent with test of GEE parameter estimate--genmod in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Wald-Test-results-inconsistent-with-test-of-GEE-parameter/m-p/61061#M2843</link>
    <description>Hi there,&lt;BR /&gt;
&lt;BR /&gt;
I ran genmod on a binary DV, and I was puzzled that the parameter for my "time2" variable was nonsignificant, whereas the Wald test for this same variable was significant.  I show my syntax and output below. Could anyone tell me why these results differed (the other parameters matched the p values of the Wald test)?  For some background, I am working with a study that consisted of 2 phases in time. The first went from 0 to 16 weeks, and the second phase went from 16 to 64 weeks.  That is why I form a vector representing these time points below, because I needed to have 2 separate slopes to model the differences between these 2 differing phases.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data ham;&lt;BR /&gt;
set ham;&lt;BR /&gt;
*set up vectors of time points;&lt;BR /&gt;
if time le 16 then time1 = time;&lt;BR /&gt;
else time1 = 16;&lt;BR /&gt;
if time gt 16 then time2 = time;&lt;BR /&gt;
else time2 = 0;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc genmod data=ham descending;&lt;BR /&gt;
class id hasAnxB time;&lt;BR /&gt;
model MDD_C = time1 time2 hasAnxB time1*hasAnxB time2*hasAnxB /link=logit dist=binomial type3 wald;&lt;BR /&gt;
repeated subject=id / within=time  corrw type=un;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
The GENMOD Procedure&lt;BR /&gt;
&lt;BR /&gt;
Analysis Of GEE Parameter Estimates&lt;BR /&gt;
Empirical Standard Error Estimates&lt;BR /&gt;
                              &lt;BR /&gt;
Parameter          Estimate    S.E.                    Z Pr &amp;gt; |Z|&lt;BR /&gt;
&lt;BR /&gt;
            Intercept            1.6477   0.3973   0.8691   2.4263    4.15   &amp;lt;.0001&lt;BR /&gt;
            time1               -0.1792   0.0302  -0.2383  -0.1201   -5.94   &amp;lt;.0001&lt;BR /&gt;
            time2               -0.0021   0.0049  -0.0117   0.0074   -0.44   0.6623&lt;BR /&gt;
            HASANXB       0.00  -0.7935   0.4918  -1.7574   0.1703   -1.61   0.1066&lt;BR /&gt;
            HASANXB       1.00   0.0000   0.0000   0.0000   0.0000     .      .&lt;BR /&gt;
            time1*HASANXB 0.00   0.0724   0.0392  -0.0043   0.1492    1.85   0.0644&lt;BR /&gt;
            time1*HASANXB 1.00   0.0000   0.0000   0.0000   0.0000     .      .&lt;BR /&gt;
            time2*HASANXB 0.00  -0.0269   0.0107  -0.0478  -0.0059   -2.52   0.0119&lt;BR /&gt;
            time2*HASANXB 1.00   0.0000   0.0000   0.0000   0.0000     .      .&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Wald Statistics For Type 3 GEE Analysis&lt;BR /&gt;
Source               DF     Square    Pr &amp;gt; ChiSq&lt;BR /&gt;
&lt;BR /&gt;
                        time1                 1      53.31        &amp;lt;.0001&lt;BR /&gt;
                        time2                 1       8.50        0.0036&lt;BR /&gt;
                        HASANXB               1       2.60        0.1066&lt;BR /&gt;
                        time1*HASANXB         1       3.42        0.0644&lt;BR /&gt;
                        time2*HASANXB         1       6.33        0.0119&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: mburns&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: mburns&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: mburns&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: mburns

Message was edited by: mburns</description>
    <pubDate>Mon, 22 Feb 2010 18:27:56 GMT</pubDate>
    <dc:creator>mburns</dc:creator>
    <dc:date>2010-02-22T18:27:56Z</dc:date>
    <item>
      <title>Wald Test results inconsistent with test of GEE parameter estimate--genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Wald-Test-results-inconsistent-with-test-of-GEE-parameter/m-p/61061#M2843</link>
      <description>Hi there,&lt;BR /&gt;
&lt;BR /&gt;
I ran genmod on a binary DV, and I was puzzled that the parameter for my "time2" variable was nonsignificant, whereas the Wald test for this same variable was significant.  I show my syntax and output below. Could anyone tell me why these results differed (the other parameters matched the p values of the Wald test)?  For some background, I am working with a study that consisted of 2 phases in time. The first went from 0 to 16 weeks, and the second phase went from 16 to 64 weeks.  That is why I form a vector representing these time points below, because I needed to have 2 separate slopes to model the differences between these 2 differing phases.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data ham;&lt;BR /&gt;
set ham;&lt;BR /&gt;
*set up vectors of time points;&lt;BR /&gt;
if time le 16 then time1 = time;&lt;BR /&gt;
else time1 = 16;&lt;BR /&gt;
if time gt 16 then time2 = time;&lt;BR /&gt;
else time2 = 0;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc genmod data=ham descending;&lt;BR /&gt;
class id hasAnxB time;&lt;BR /&gt;
model MDD_C = time1 time2 hasAnxB time1*hasAnxB time2*hasAnxB /link=logit dist=binomial type3 wald;&lt;BR /&gt;
repeated subject=id / within=time  corrw type=un;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
The GENMOD Procedure&lt;BR /&gt;
&lt;BR /&gt;
Analysis Of GEE Parameter Estimates&lt;BR /&gt;
Empirical Standard Error Estimates&lt;BR /&gt;
                              &lt;BR /&gt;
Parameter          Estimate    S.E.                    Z Pr &amp;gt; |Z|&lt;BR /&gt;
&lt;BR /&gt;
            Intercept            1.6477   0.3973   0.8691   2.4263    4.15   &amp;lt;.0001&lt;BR /&gt;
            time1               -0.1792   0.0302  -0.2383  -0.1201   -5.94   &amp;lt;.0001&lt;BR /&gt;
            time2               -0.0021   0.0049  -0.0117   0.0074   -0.44   0.6623&lt;BR /&gt;
            HASANXB       0.00  -0.7935   0.4918  -1.7574   0.1703   -1.61   0.1066&lt;BR /&gt;
            HASANXB       1.00   0.0000   0.0000   0.0000   0.0000     .      .&lt;BR /&gt;
            time1*HASANXB 0.00   0.0724   0.0392  -0.0043   0.1492    1.85   0.0644&lt;BR /&gt;
            time1*HASANXB 1.00   0.0000   0.0000   0.0000   0.0000     .      .&lt;BR /&gt;
            time2*HASANXB 0.00  -0.0269   0.0107  -0.0478  -0.0059   -2.52   0.0119&lt;BR /&gt;
            time2*HASANXB 1.00   0.0000   0.0000   0.0000   0.0000     .      .&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Wald Statistics For Type 3 GEE Analysis&lt;BR /&gt;
Source               DF     Square    Pr &amp;gt; ChiSq&lt;BR /&gt;
&lt;BR /&gt;
                        time1                 1      53.31        &amp;lt;.0001&lt;BR /&gt;
                        time2                 1       8.50        0.0036&lt;BR /&gt;
                        HASANXB               1       2.60        0.1066&lt;BR /&gt;
                        time1*HASANXB         1       3.42        0.0644&lt;BR /&gt;
                        time2*HASANXB         1       6.33        0.0119&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: mburns&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: mburns&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: mburns&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: mburns

Message was edited by: mburns</description>
      <pubDate>Mon, 22 Feb 2010 18:27:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Wald-Test-results-inconsistent-with-test-of-GEE-parameter/m-p/61061#M2843</guid>
      <dc:creator>mburns</dc:creator>
      <dc:date>2010-02-22T18:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Wald Test results inconsistent with test of GEE parameter estimate--genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Wald-Test-results-inconsistent-with-test-of-GEE-parameter/m-p/61062#M2844</link>
      <description>The test in the "Analysis of GEE Parameter Estimates" table is a test that the individual parameter is zero, while the test in the "Type 3 GEE analysis" table is a test of a type3 hypothesis. A type3 hypothesis for a model effect might involve other parameters in the model, such as when it is involved in interactions. &lt;BR /&gt;
&lt;BR /&gt;
To see the form of the type3 hypothesis for a given effect, run the same model in PROC GLM (omit the REPEATED statement) and specify the E and E3 options in the MODEL statement of PROC GLM (ignore all GLM results other than the Estimable Functions tables). The E option shows the general form of the estimable functions, and the E3 option shows the form of the type3 hypothesis that is tested by the TYPE3 option in PROC GENMOD and displayed in the Type 3 analysis table.</description>
      <pubDate>Wed, 24 Feb 2010 17:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Wald-Test-results-inconsistent-with-test-of-GEE-parameter/m-p/61062#M2844</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2010-02-24T17:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Wald Test results inconsistent with test of GEE parameter estimate--genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Wald-Test-results-inconsistent-with-test-of-GEE-parameter/m-p/61063#M2845</link>
      <description>Great to know, thank you!</description>
      <pubDate>Wed, 24 Feb 2010 23:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Wald-Test-results-inconsistent-with-test-of-GEE-parameter/m-p/61063#M2845</guid>
      <dc:creator>mburns</dc:creator>
      <dc:date>2010-02-24T23:51:26Z</dc:date>
    </item>
  </channel>
</rss>

