<?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 MANCOVA with multiple covariates in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689335#M33226</link>
    <description>&lt;P&gt;Is it possible to adjust MANCOVA for multiple covariates? For example, in code below &lt;EM&gt;prom&lt;/EM&gt; is dependent variable (group variable, categorical); &lt;EM&gt;a1&lt;/EM&gt;, &lt;EM&gt;a2&lt;/EM&gt; and &lt;EM&gt;a3&lt;/EM&gt; are the independent variables (continuous); &lt;EM&gt;minibal&lt;/EM&gt; is the covariate (continuous).&amp;nbsp; Is it possible to have &lt;EM&gt;minibal2&lt;/EM&gt;&amp;nbsp;as well (using this or other procedure)?&lt;/P&gt;
&lt;P&gt;proc glm data=abc;&lt;/P&gt;
&lt;P&gt;class prom minibal;&lt;/P&gt;
&lt;P&gt;model a1 a2 a3 = prom | minibal;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;manova h=_all_;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2020 20:44:34 GMT</pubDate>
    <dc:creator>pink_poodle</dc:creator>
    <dc:date>2020-10-06T20:44:34Z</dc:date>
    <item>
      <title>MANCOVA with multiple covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689335#M33226</link>
      <description>&lt;P&gt;Is it possible to adjust MANCOVA for multiple covariates? For example, in code below &lt;EM&gt;prom&lt;/EM&gt; is dependent variable (group variable, categorical); &lt;EM&gt;a1&lt;/EM&gt;, &lt;EM&gt;a2&lt;/EM&gt; and &lt;EM&gt;a3&lt;/EM&gt; are the independent variables (continuous); &lt;EM&gt;minibal&lt;/EM&gt; is the covariate (continuous).&amp;nbsp; Is it possible to have &lt;EM&gt;minibal2&lt;/EM&gt;&amp;nbsp;as well (using this or other procedure)?&lt;/P&gt;
&lt;P&gt;proc glm data=abc;&lt;/P&gt;
&lt;P&gt;class prom minibal;&lt;/P&gt;
&lt;P&gt;model a1 a2 a3 = prom | minibal;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;manova h=_all_;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 20:44:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689335#M33226</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2020-10-06T20:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: MANCOVA with multiple covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689360#M33229</link>
      <description>&lt;P&gt;In your problem description, did you miss-state the independent and dependent variables?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 22:30:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689360#M33229</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-06T22:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: MANCOVA with multiple covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689569#M33253</link>
      <description>&lt;P&gt;This is not my example, I took it from SAS blog:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sastraining/2011/02/02/the-punchline-manova-or-a-mixed-model/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/sastraining/2011/02/02/the-punchline-manova-or-a-mixed-model/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"In order to increase the amount of money customers deposit in three different account types, a bank designs a factorial experiment with two factors: promotion (Gift or Discount) and minimum balance ($75, $125, or $225).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;model a1 a2 a3= promotion|minbal ;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Then, I would just include the confounder on the left side with other independent variables?&lt;/P&gt;
&lt;P&gt;In that case, I do not understand the difference between factor and covariate in MANCOVA...&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 15:00:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689569#M33253</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2020-10-07T15:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: MANCOVA with multiple covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689571#M33254</link>
      <description>&lt;P&gt;It doesn't matter if it is your example or not. What variable(s) are independent? What variable(s) are dependent? You need to determine this, and only then can you figure out what goes where in the MODEL statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Independent variables go to the right of the equal sign in the MODEL statement. Dependent variables go to the left of the equal sign in the MODEL statement.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 14:52:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689571#M33254</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-07T14:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: MANCOVA with multiple covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689620#M33256</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&lt;U&gt;,&amp;nbsp;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;in this example, I am setting up for MANCOVA like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt; model a1 a2 a3 = prom | minibal&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;a1 a2 a3&lt;/STRONG&gt; are the continuous response variables, also known as the dependent variables (DV); because they are &lt;U&gt;m&lt;/U&gt;ultiple, it turns ANOVA into &lt;U&gt;M&lt;/U&gt;ANOVA&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;prom&lt;/STRONG&gt; is a discrete categorical group variable, an independent variable (IV) on the x-axis, with promotion 'yes' or 'no' levels or factors&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;minibal&lt;/STRONG&gt; is a continuous independent variable, a &lt;U&gt;c&lt;/U&gt;ovariate that confounds the relationship between&lt;STRONG&gt; a&lt;/STRONG&gt;-variables and &lt;STRONG&gt;prom&lt;/STRONG&gt;, turning MANOVA into MAN&lt;U&gt;C&lt;/U&gt;OVA*&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;*I know in SAS blog it is another categorical IV for a two-way ANOVA, but in my example I want it to be a continuous IV, a.k.a. covariate.&lt;/P&gt;
&lt;P&gt;By the way, without its categorical IV (that leaves just the covariate IV), ANCOVA turns into linear regression (Check!).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;My question is this:&lt;/STRONG&gt; Suppose there is another continuous IV, a confounder &lt;STRONG&gt;minibal2&lt;/STRONG&gt;. How would I represent it in the model? I read somewhere that SAS can adjust for one confounder at a time for ANCOVA, but I am hoping this is not true or that there is some kind of work-around.&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. This site is very helpful:&amp;nbsp;&lt;A href="http://www.statsmakemecry.com/smmctheblog/stats-soup-anova-ancova-manova-mancova" target="_blank" rel="noopener"&gt;http://www.statsmakemecry.com/smmctheblog/stats-soup-anova-ancova-manova-mancova&lt;/A&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 16:45:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689620#M33256</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2020-10-07T16:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: MANCOVA with multiple covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689622#M33257</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/235176"&gt;@pink_poodle&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;My question is this:&lt;/STRONG&gt; Suppose there is another continuous IV, a confounder &lt;STRONG&gt;minibal2&lt;/STRONG&gt;. How would I represent it in the model? I read somewhere that SAS can adjust for one confounder at a time for ANCOVA, but I am hoping this is not true or that there is some kind of work-around.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I am not aware of any such restriction, I have seen people model with multiple confounding variables.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 16:45:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689622#M33257</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-07T16:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: MANCOVA with multiple covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689623#M33258</link>
      <description>Something like this then: model a1 a2 a3 = prom | minibal | minibal2 ? This syntax does not seem right to me, because I want to account for prom | minibal and for prom | minibal2, but I do not care for minibal | minibal2.</description>
      <pubDate>Wed, 07 Oct 2020 16:49:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689623#M33258</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2020-10-07T16:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: MANCOVA with multiple covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689626#M33260</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/235176"&gt;@pink_poodle&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Something like this then: model a1 a2 a3 = prom | minibal | minibal2 ? This syntax does not seem right to me, because I want to account for prom | minibal and for prom | minibal2, but I do not care for minibal | minibal2.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Correct syntax&lt;/P&gt;
&lt;P&gt;prom|minbal minbal2 prom*minbal2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 16:53:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689626#M33260</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-07T16:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: MANCOVA with multiple covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689639#M33263</link>
      <description>Thank you, I have some followup questions:&lt;BR /&gt;What is the meaning of the corrected syntax? What is the difference between vertical line and an asterisk? Why do you have to write minbal2 separately? Will it give me a separate set of results for prom | minbal and prom*minbal2?</description>
      <pubDate>Wed, 07 Oct 2020 17:26:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689639#M33263</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2020-10-07T17:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: MANCOVA with multiple covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689666#M33264</link>
      <description>&lt;P&gt;&lt;SPAN&gt;prom|minbal &amp;lt;== creates terms prom and minbal and prom*minbal&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; minbal2 &amp;lt;== model term minbal2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;prom*minbal2 &amp;lt;== model term prom*minbal2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, this is the same as if you had typed&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;prom minbal minbal2 prom*minbal prom*minbal2&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 18:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/MANCOVA-with-multiple-covariates/m-p/689666#M33264</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-07T18:53:23Z</dc:date>
    </item>
  </channel>
</rss>

