<?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 Testing 2-way ANOVA with interaction in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-2-way-ANOVA-with-interaction/m-p/138344#M7210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run a 2-way anova with my 2 x variables being speed and replicate. When I test the main effects of speed and replicate alone, I am able to produce output that gives me p values however when I try to test speed*replicate in my model my output fails to give me any p values. I am not sure if my data set is too small but my degrees of freedom are 3 and 5 and N = 25.&amp;nbsp; My coding is found below, if anyone could assist me with this I would really appreciate it, thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rakesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title Adult Fatmucket CR vs Speed;&lt;/P&gt;&lt;P&gt;data first;&lt;/P&gt;&lt;P&gt;input replicate 1. +1 speed 2. +1 cr 6.;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=first;&lt;/P&gt;&lt;P&gt;title 'Speed Data';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title 'Analysis of variance';&lt;/P&gt;&lt;P&gt;proc mixed covtest;&lt;/P&gt;&lt;P&gt;class replicate speed;&lt;/P&gt;&lt;P&gt;model cr=speed replicate speed*replicate;&lt;/P&gt;&lt;P&gt;lsmeans speed;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2015 16:25:05 GMT</pubDate>
    <dc:creator>mistryr</dc:creator>
    <dc:date>2015-01-26T16:25:05Z</dc:date>
    <item>
      <title>Testing 2-way ANOVA with interaction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-2-way-ANOVA-with-interaction/m-p/138344#M7210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run a 2-way anova with my 2 x variables being speed and replicate. When I test the main effects of speed and replicate alone, I am able to produce output that gives me p values however when I try to test speed*replicate in my model my output fails to give me any p values. I am not sure if my data set is too small but my degrees of freedom are 3 and 5 and N = 25.&amp;nbsp; My coding is found below, if anyone could assist me with this I would really appreciate it, thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rakesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title Adult Fatmucket CR vs Speed;&lt;/P&gt;&lt;P&gt;data first;&lt;/P&gt;&lt;P&gt;input replicate 1. +1 speed 2. +1 cr 6.;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=first;&lt;/P&gt;&lt;P&gt;title 'Speed Data';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title 'Analysis of variance';&lt;/P&gt;&lt;P&gt;proc mixed covtest;&lt;/P&gt;&lt;P&gt;class replicate speed;&lt;/P&gt;&lt;P&gt;model cr=speed replicate speed*replicate;&lt;/P&gt;&lt;P&gt;lsmeans speed;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 16:25:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-2-way-ANOVA-with-interaction/m-p/138344#M7210</guid>
      <dc:creator>mistryr</dc:creator>
      <dc:date>2015-01-26T16:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Testing 2-way ANOVA with interaction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-2-way-ANOVA-with-interaction/m-p/138345#M7211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is the design of the experiment that determines whether or not the speed*replicate term can be estimated. Could you show us the 25 runs in your experiment?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 19:20:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-2-way-ANOVA-with-interaction/m-p/138345#M7211</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-01-26T19:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Testing 2-way ANOVA with interaction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-2-way-ANOVA-with-interaction/m-p/138346#M7212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So my first category is replicate (df = 3) and second is speed (df = 5). The third category is CR (feeding rate). I have posted the runs below, thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title Adult Fatmucket CR vs Speed;&lt;/P&gt;&lt;P&gt;data first;&lt;/P&gt;&lt;P&gt;input replicate 1. +1 speed 2. +1 cr 6.;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;1 00 0.4956&lt;/P&gt;&lt;P&gt;2 00 0.3467&lt;/P&gt;&lt;P&gt;3 00 0.4513&lt;/P&gt;&lt;P&gt;4 00 0.5148&lt;/P&gt;&lt;P&gt;1 02 1.0200&lt;/P&gt;&lt;P&gt;2 02 1.1800&lt;/P&gt;&lt;P&gt;3 02 0.8400&lt;/P&gt;&lt;P&gt;4 02 0.8700&lt;/P&gt;&lt;P&gt;1 10 0.6024&lt;/P&gt;&lt;P&gt;2 10 1.2458&lt;/P&gt;&lt;P&gt;3 10 0.9109&lt;/P&gt;&lt;P&gt;4 10 1.4416&lt;/P&gt;&lt;P&gt;1 15 1.3708&lt;/P&gt;&lt;P&gt;2 15 1.3784&lt;/P&gt;&lt;P&gt;3 15 0.9514&lt;/P&gt;&lt;P&gt;4 15 1.4002&lt;/P&gt;&lt;P&gt;1 20 1.2100&lt;/P&gt;&lt;P&gt;2 20 1.6400&lt;/P&gt;&lt;P&gt;3 20 1.4500&lt;/P&gt;&lt;P&gt;4 20 1.7700&lt;/P&gt;&lt;P&gt;1 25 1.8636&lt;/P&gt;&lt;P&gt;2 25 1.7435&lt;/P&gt;&lt;P&gt;3 25 1.2154&lt;/P&gt;&lt;P&gt;4 25 1.8201&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;proc print data=first;&lt;/P&gt;&lt;P&gt;title 'Concentration Data';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title 'Analysis of variance';&lt;/P&gt;&lt;P&gt;proc mixed covtest;&lt;/P&gt;&lt;P&gt;class replicate speed;&lt;/P&gt;&lt;P&gt;model cr=speed replicate;&lt;/P&gt;&lt;P&gt;lsmeans speed;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 19:57:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-2-way-ANOVA-with-interaction/m-p/138346#M7212</guid>
      <dc:creator>mistryr</dc:creator>
      <dc:date>2015-01-26T19:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Testing 2-way ANOVA with interaction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-2-way-ANOVA-with-interaction/m-p/138347#M7213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran the code and got p values for both speed (&amp;lt;0.0001) and replicate (0.0571).&amp;nbsp; I repeated with the interaction included and obtained the missing values that you report.&amp;nbsp; The reason is that the error term is the interaction in this model.&amp;nbsp; You have 4 levels of replicate, and 6 levels of speed, for 24 total observations.&amp;nbsp; Degrees of freedom will be 3, 5 and 15, or 23 total, which is n-1, so no p values are available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 20:36:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-2-way-ANOVA-with-interaction/m-p/138347#M7213</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-01-26T20:36:54Z</dc:date>
    </item>
  </channel>
</rss>

