<?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: Strange observations in N-way anova in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Strange-observations-in-N-way-anova/m-p/301479#M63811</link>
    <description>&lt;PRE&gt;
It is difference between SS3 and SS1.

If you only use SS3 , you will get the same P-value , otherwise if you use SS1 ,you will get different one.


proc glm data=sashelp.class;
class age sex;
model weight=age sex/solution ss3;
run;

proc glm data=sashelp.class;
class age sex;
model weight=sex age/solution ss3;
run;

&lt;/PRE&gt;</description>
    <pubDate>Thu, 29 Sep 2016 09:49:51 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2016-09-29T09:49:51Z</dc:date>
    <item>
      <title>Strange observations in N-way anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-observations-in-N-way-anova/m-p/301238#M63710</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have run into a strange problem. I am running N-way anova and what I have found out is if i change the order of the variables that I am using in the anova, then the P-values are changing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E.g. when I run the below procedure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods noproctitle;&lt;BR /&gt;ods graphics / imagemap=on;&lt;/P&gt;&lt;P&gt;proc glm data=WORK.INTERNETDATA;&lt;BR /&gt;class Exits Continent Sourcegroup Uniquepageviews Bounces Visits;&lt;BR /&gt;model Timeinpage=Exits Continent &lt;FONT color="#FF0000"&gt;Sourcegroup&lt;/FONT&gt; Uniquepageviews &lt;FONT color="#FF0000"&gt;Bounces&lt;/FONT&gt; Visits /&lt;BR /&gt;ss1 ss3;&lt;BR /&gt;lsmeans Exits Continent &lt;FONT color="#FF0000"&gt;Sourcegroup&lt;/FONT&gt; Uniquepageviews &lt;FONT color="#FF0000"&gt;Bounces&lt;/FONT&gt; Visits /&lt;BR /&gt;adjust=tukey pdiff=all alpha=0.05 cl;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The value of &lt;STRONG&gt;Sourcegroup&lt;/STRONG&gt; is significant i.e.&amp;nbsp;&lt;STRONG&gt;0.0037&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when i change the sequence of the variable&amp;nbsp;Bounces to something like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods noproctitle;&lt;BR /&gt;ods graphics / imagemap=on;&lt;/P&gt;&lt;P&gt;proc glm data=WORK.INTERNETDATA;&lt;BR /&gt;class Bounces Exits Continent Sourcegroup Uniquepageviews Visits;&lt;BR /&gt;model Timeinpage=&lt;FONT color="#FF0000"&gt;Bounces&lt;/FONT&gt; Exits Continent &lt;FONT color="#FF0000"&gt;Sourcegroup&lt;/FONT&gt; Uniquepageviews Visits /&lt;BR /&gt;ss1 ss3;&lt;BR /&gt;lsmeans &lt;FONT color="#FF0000"&gt;Bounces&lt;/FONT&gt; Exits Continent &lt;FONT color="#FF0000"&gt;Sourcegroup&lt;/FONT&gt; Uniquepageviews Visits /&lt;BR /&gt;adjust=tukey pdiff=all alpha=0.05 cl;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The value of the variable &lt;STRONG&gt;Souregroup&lt;/STRONG&gt; is no longer significant i.e.&amp;nbsp;&lt;STRONG&gt;0.0752&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can somebody tell me why is this occuring.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 12:27:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-observations-in-N-way-anova/m-p/301238#M63710</guid>
      <dc:creator>AdityaKir</dc:creator>
      <dc:date>2016-09-28T12:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Strange observations in N-way anova</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Strange-observations-in-N-way-anova/m-p/301479#M63811</link>
      <description>&lt;PRE&gt;
It is difference between SS3 and SS1.

If you only use SS3 , you will get the same P-value , otherwise if you use SS1 ,you will get different one.


proc glm data=sashelp.class;
class age sex;
model weight=age sex/solution ss3;
run;

proc glm data=sashelp.class;
class age sex;
model weight=sex age/solution ss3;
run;

&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Sep 2016 09:49:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Strange-observations-in-N-way-anova/m-p/301479#M63811</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-09-29T09:49:51Z</dc:date>
    </item>
  </channel>
</rss>

