<?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 Levene's test for equality of variances for multiple independent variable in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Levene-s-test-for-equality-of-variances-for-multiple-independent/m-p/536108#M26987</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that the following is applicable for equal variance levene's test.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc glm data=want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;class age;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;model y=age;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;means&amp;nbsp;age / hovtest;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I have two variables with interaction term, what will be the code for levene's test? I tried the following but it didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc glm data=want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;class age sex;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;model y=age sex age*sex;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;means&amp;nbsp;age sex age*sex/ hovtest;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;</description>
    <pubDate>Sat, 16 Feb 2019 01:49:36 GMT</pubDate>
    <dc:creator>abdulla</dc:creator>
    <dc:date>2019-02-16T01:49:36Z</dc:date>
    <item>
      <title>Levene's test for equality of variances for multiple independent variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Levene-s-test-for-equality-of-variances-for-multiple-independent/m-p/536108#M26987</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that the following is applicable for equal variance levene's test.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc glm data=want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;class age;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;model y=age;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;means&amp;nbsp;age / hovtest;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I have two variables with interaction term, what will be the code for levene's test? I tried the following but it didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc glm data=want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;class age sex;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;model y=age sex age*sex;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;means&amp;nbsp;age sex age*sex/ hovtest;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 01:49:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Levene-s-test-for-equality-of-variances-for-multiple-independent/m-p/536108#M26987</guid>
      <dc:creator>abdulla</dc:creator>
      <dc:date>2019-02-16T01:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Levene's test for equality of variances for multiple independent variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Levene-s-test-for-equality-of-variances-for-multiple-independent/m-p/536127#M26988</link>
      <description>&lt;P&gt;The documentation states "&lt;STRONG&gt;&lt;EM&gt;Note that this option is ignored unless your&lt;/EM&gt; &lt;A href="http://127.0.0.1:62370/help/statug.hlp/statug_glm_syntax16.htm" target="_blank"&gt;MODEL&lt;/A&gt; statement specifies a simple one-way model.&lt;/STRONG&gt;"&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may test the homogeneity of variance across all combined classes by creating a new variable:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data heartTest;
set sashelp.heart;
if cmiss(smoking, sex) = 0 then smokeSex = cats(smoking, sex);
run;

proc glm data=heartTest plots=none;
class smokeSex;
model cholesterol = smokeSex;
means smokeSex / hovtest=bf;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Feb 2019 06:09:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Levene-s-test-for-equality-of-variances-for-multiple-independent/m-p/536127#M26988</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-02-16T06:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Levene's test for equality of variances for multiple independent variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Levene-s-test-for-equality-of-variances-for-multiple-independent/m-p/536136#M26989</link>
      <description>Hey PG you are awesome. Thanks a lot</description>
      <pubDate>Sat, 16 Feb 2019 06:30:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Levene-s-test-for-equality-of-variances-for-multiple-independent/m-p/536136#M26989</guid>
      <dc:creator>abdulla</dc:creator>
      <dc:date>2019-02-16T06:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Levene's test for equality of variances for multiple independent variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Levene-s-test-for-equality-of-variances-for-multiple-independent/m-p/536145#M26990</link>
      <description>&lt;P&gt;I moved the question to the Statistical Procedures community.&lt;/P&gt;
&lt;P&gt;"Community Matters" is for topics concerning the working of the Communities website.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 09:11:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Levene-s-test-for-equality-of-variances-for-multiple-independent/m-p/536145#M26990</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-16T09:11:03Z</dc:date>
    </item>
  </channel>
</rss>

