<?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 how to do a one-way anova with multiple categorical variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292546#M270109</link>
    <description>&lt;P&gt;Hi I'm trying to use SAS Studio 3.5 to find which variables affect another variable in a dataset. I know you can use 1 way ANOVA to see if 1 factor affects another variable, but how do you select more than one categorical variable? SAS Studio only lets you select one categorical variable.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2016 19:52:20 GMT</pubDate>
    <dc:creator>srinivasansr</dc:creator>
    <dc:date>2016-08-18T19:52:20Z</dc:date>
    <item>
      <title>how to do a one-way anova with multiple categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292546#M270109</link>
      <description>&lt;P&gt;Hi I'm trying to use SAS Studio 3.5 to find which variables affect another variable in a dataset. I know you can use 1 way ANOVA to see if 1 factor affects another variable, but how do you select more than one categorical variable? SAS Studio only lets you select one categorical variable.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 19:52:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292546#M270109</guid>
      <dc:creator>srinivasansr</dc:creator>
      <dc:date>2016-08-18T19:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to do a one-way anova with multiple categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292570#M270110</link>
      <description>&lt;P&gt;By definition, a "&lt;STRONG&gt;one-way&lt;/STRONG&gt;" analysis uses &lt;STRONG&gt;one&lt;/STRONG&gt; categorical variable to divide the data into multiple groups. &amp;nbsp;Are you trying to compare the joint frequencies or check the association between of multiple&amp;nbsp;variables? The name of the SAS Studio task for that is "&lt;STRONG&gt;N-way analysis."&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 21:10:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292570#M270110</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-18T21:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to do a one-way anova with multiple categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292628#M270111</link>
      <description>&lt;PRE&gt;
If you want do ANOVA, proc glm is best choice:

proc glm data=have;
 class a b c;
 model y= a b c /solution;
run;

&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Aug 2016 02:44:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292628#M270111</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-08-19T02:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to do a one-way anova with multiple categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292782#M270113</link>
      <description>&lt;P&gt;what do you mean by a, b, and c? and what does "/solution" mean?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 16:52:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292782#M270113</guid>
      <dc:creator>srinivasansr</dc:creator>
      <dc:date>2016-08-19T16:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to do a one-way anova with multiple categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292791#M270114</link>
      <description>&lt;P&gt;Thanks, I too thought N-way ANOVA to be the correct process, but the solution of the project I'm working on tells me to use one way anova, so it confused me a bit. I've attached the solution that my course has provided (Question 3 is the one I'm working on).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, what are the steps to test the effect of multiple variables on another variable in N-way ANOVA then?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 17:25:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292791#M270114</guid>
      <dc:creator>srinivasansr</dc:creator>
      <dc:date>2016-08-19T17:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to do a one-way anova with multiple categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292792#M270115</link>
      <description>&lt;P&gt;A SAS Studio task generates SAS code, usually in the form of a call to a SAS procedure. &amp;nbsp;If you click on the&amp;nbsp;&lt;STRONG&gt;Code&lt;/STRONG&gt; tab, you can see the program. &amp;nbsp;In this case, the call is to PROC GLM. &amp;nbsp;The SOLUTION option that KSharp mentions is an option in that procedure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have probably already read &lt;A href="http://support.sas.com/documentation/cdl/en/webeditorref/68839/HTML/default/viewer.htm#p0lbr4ckzqlgpnn18bmt026xns0e.htm" target="_self"&gt;the documentation for the N-Way ANOVA task.&lt;/A&gt;&amp;nbsp;As you&amp;nbsp;click various buttons in the task, you will see the code change. You can use the doc for the underlying procedure to understand the procedure better, and to invoke options that are not supported by the procedure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After you identify the name of the procedure that is being run,&lt;/P&gt;
&lt;P&gt;1. Go to the &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_glm_toc.htm" target="_self" rel="nofollow noopener noreferrer"&gt;SAS/STAT User's Guide documentation.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. In the &lt;STRONG&gt;Contents&amp;nbsp;&lt;/STRONG&gt; tab,&amp;nbsp;click &lt;STRONG&gt;Procedures&lt;/STRONG&gt;&amp;nbsp;to expand the reference for procedure.&lt;/P&gt;
&lt;P&gt;3. Scroll down and click on the&amp;nbsp;doc for the relevant&amp;nbsp;procedure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this way you can learn the SAS programming language&amp;nbsp;and&amp;nbsp;discover the meaning of various options/syntax.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 17:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292792#M270115</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-19T17:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to do a one-way anova with multiple categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292793#M270116</link>
      <description>&lt;P&gt;If you have questions about a specific&amp;nbsp;exercise, I suggest that you ask your instructor or online support team.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 17:34:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292793#M270116</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-19T17:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to do a one-way anova with multiple categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292862#M270117</link>
      <description>&lt;P&gt;Thanks. I've tried to do this but because my dataset is so large it takes forever for the process to run (I've been waiting for over half an hour, and since I'm using VMWare to access it, it loses connection after some time), given that I have so many variables. Is there a quicker way to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 22:11:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-a-one-way-anova-with-multiple-categorical-variables/m-p/292862#M270117</guid>
      <dc:creator>srinivasansr</dc:creator>
      <dc:date>2016-08-19T22:11:50Z</dc:date>
    </item>
  </channel>
</rss>

