<?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: Testing simultaneous effect in PROC MIXED in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918819#M45610</link>
    <description>So then maybe MIXED will not supply what is needed as I think the Type I,&lt;BR /&gt;II, and III tests are not able to accommodate tests of "simultaneous"&lt;BR /&gt;effects of two or more variables.&lt;BR /&gt;</description>
    <pubDate>Mon, 04 Mar 2024 13:07:49 GMT</pubDate>
    <dc:creator>svh</dc:creator>
    <dc:date>2024-03-04T13:07:49Z</dc:date>
    <item>
      <title>Testing simultaneous effect in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918375#M45578</link>
      <description>&lt;P&gt;Certainly!&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;Dear SAS Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a question about testing the simultaneous effect of two covariates in PROC MIXED, specifically under the null hypothesis: H0: B1=B2=0. Is there a method to perform this test in SAS? It appears that neither the estimate statement nor the contrast statement provides a straightforward solution for this scenario. It's worth noting that these covariates are distinct variables, not different levels of the same categorical variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, I'm curious if it's feasible to aggregate the results of this hypothesis test across multiple imputed datasets using PROC MIANALYZE.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 08:18:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918375#M45578</guid>
      <dc:creator>mgx</dc:creator>
      <dc:date>2024-02-29T08:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Testing simultaneous effect in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918524#M45587</link>
      <description>&lt;P&gt;The test of their effects would be in the "Type III Tests of Fixed Effects" that is part of the standard output of the MIXED procedure. The test of each covariate is after all of the other predictors are included in the model. That is where you'd find your test of B1=B2=0.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 01:22:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918524#M45587</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2024-03-01T01:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Testing simultaneous effect in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918728#M45604</link>
      <description>&lt;P&gt;This would indeed be the case if it were&amp;nbsp;&lt;SPAN&gt; different levels of the same categorical variable, but the&lt;/SPAN&gt;&amp;nbsp;my&amp;nbsp;&lt;SPAN&gt;mean structure is E(Y_{ij})=a+bx+cx^2, and I want to test whether b=c=0.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2024 11:19:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918728#M45604</guid>
      <dc:creator>mgx</dc:creator>
      <dc:date>2024-03-03T11:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Testing simultaneous effect in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918735#M45607</link>
      <description>The Type III tests of fixed effects do, in fact, test the association&lt;BR /&gt;of *different&lt;BR /&gt;*variables with the dependent variable.  If you wanted to test differences&lt;BR /&gt;between the levels of the *same* categorical variable, you would use a&lt;BR /&gt;CONTRAST or ESTIMATE statement.&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Mar 2024 13:39:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918735#M45607</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2024-03-03T13:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Testing simultaneous effect in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918766#M45609</link>
      <description>&lt;P&gt;I think I have to disagree here. SAS only tests whether there is no effect of the independent variables on the dependent variables separately. Note that for a continuous variable, the p-value equals the p-value of the solution of the fixed effects, while for a categorical variable the p-value differs, since it tests whether there is no effect of the categorical variable as a whole.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For clarity, you can find the Type III test table for my analysis below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mgx_0-1709539640040.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94330i6BBD66263C7D486F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mgx_0-1709539640040.png" alt="mgx_0-1709539640040.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 08:11:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918766#M45609</guid>
      <dc:creator>mgx</dc:creator>
      <dc:date>2024-03-04T08:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Testing simultaneous effect in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918819#M45610</link>
      <description>So then maybe MIXED will not supply what is needed as I think the Type I,&lt;BR /&gt;II, and III tests are not able to accommodate tests of "simultaneous"&lt;BR /&gt;effects of two or more variables.&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Mar 2024 13:07:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918819#M45610</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2024-03-04T13:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Testing simultaneous effect in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918826#M45611</link>
      <description>&lt;P&gt;Use the STORE statement to output your model results to a SAS Item Store. Then read those results into PROC PLM and use the JOINT option on the ESTIMATE statement to produce a joint F test on the hypothesis you are looking for. The code below shows how to do this for 2 covariates. The output from the ESTIMATE statement in PLM will give you the single df test of both estimates (matching the results from the two individual single df ESTIMATE statements) and give you a joint 2 df test that X1=0 and X2=0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
   call streaminit(264737);
   do a=1 to 3;
      do rep=1 to 10;
         x1=rand("normal");
         x2=rand("normal");
         y=3 + a + .5*x1 + .1*x2 + rand("normal");
		 output;
   end; end;
run;

proc mixed data=test;
   class a; 
   model y=a x1 x2;
   store out=mymodel;
run;

proc plm restore=mymodel;
   estimate 'x1' x1 1;
   estimate 'x2' x2 1;
   estimate 'x1 and x2' x1 1, x2 1 / joint;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Mar 2024 14:04:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-simultaneous-effect-in-PROC-MIXED/m-p/918826#M45611</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2024-03-04T14:04:27Z</dc:date>
    </item>
  </channel>
</rss>

