<?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 Evaluating ANOVA assumptions using SAS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Evaluating-ANOVA-assumptions-using-SAS/m-p/306246#M16224</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm constructing a baseline table in which I want to see whether certain baseline characteristics (e.g. age) are different across categories (n=4) of a certain exposure by doing ANOVA analysis. I'm using quartiles of the exposure category (independent variable), so my design is balanced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I first want to check my assumptions. Please see the syntax I used:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;UNIVARIATE&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;DATA&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=my.data &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;NORMAL&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;PLOT&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;VAR&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; X Y Z;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;QQplot&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; X Y Z;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;BY&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; quartiles_exposure;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since&amp;nbsp;I have a large dataset (n&amp;gt;4000), I both look at the QQplots (and histograms), and the Kolmogorov-Smirnov test.&lt;/P&gt;&lt;P&gt;However, even for the variables that look normally distributed visually, the p-value of the KS says &amp;lt;0.0100, constantly, indicating a departure from normality. How is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Furthermore: how am I supposed to test equal variances? Am I maybe using the wrong procedure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone willing to help me out: thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Marjolein&lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2016 10:58:59 GMT</pubDate>
    <dc:creator>Marjolein</dc:creator>
    <dc:date>2016-10-21T10:58:59Z</dc:date>
    <item>
      <title>Evaluating ANOVA assumptions using SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Evaluating-ANOVA-assumptions-using-SAS/m-p/306246#M16224</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm constructing a baseline table in which I want to see whether certain baseline characteristics (e.g. age) are different across categories (n=4) of a certain exposure by doing ANOVA analysis. I'm using quartiles of the exposure category (independent variable), so my design is balanced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I first want to check my assumptions. Please see the syntax I used:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;UNIVARIATE&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;DATA&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=my.data &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;NORMAL&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;PLOT&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;VAR&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; X Y Z;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;QQplot&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; X Y Z;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;BY&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; quartiles_exposure;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since&amp;nbsp;I have a large dataset (n&amp;gt;4000), I both look at the QQplots (and histograms), and the Kolmogorov-Smirnov test.&lt;/P&gt;&lt;P&gt;However, even for the variables that look normally distributed visually, the p-value of the KS says &amp;lt;0.0100, constantly, indicating a departure from normality. How is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Furthermore: how am I supposed to test equal variances? Am I maybe using the wrong procedure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone willing to help me out: thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Marjolein&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:58:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Evaluating-ANOVA-assumptions-using-SAS/m-p/306246#M16224</guid>
      <dc:creator>Marjolein</dc:creator>
      <dc:date>2016-10-21T10:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating ANOVA assumptions using SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Evaluating-ANOVA-assumptions-using-SAS/m-p/306501#M16232</link>
      <description>&lt;P&gt;Yes. Use HOVTEST.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=sashelp.class;
class sex;
model weight=sex;
means sex/hovtest;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 22 Oct 2016 03:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Evaluating-ANOVA-assumptions-using-SAS/m-p/306501#M16232</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-10-22T03:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating ANOVA assumptions using SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Evaluating-ANOVA-assumptions-using-SAS/m-p/308806#M16348</link>
      <description>&lt;P&gt;Nearly every test for normality is susceptible to finding that the distribution is "not normal" once the sample size is large enough. &amp;nbsp;Random variation will guarantee that. &amp;nbsp;As a result, the QQ plot is far better in determining if assumptions are met. &amp;nbsp;Also, remember that the assumption of normality in ANOVA applies to the&amp;nbsp;&lt;STRONG&gt;residuals&lt;/STRONG&gt; and not the variables themselves, so be sure what you use as input into PROC UNIVARIATE are the residuals from your ANOVA. &amp;nbsp;Finally, recall that ANOVA is robust to most assumptions, especially with large samples, so minor deviations from normality or homoskedasticity will not greatly influence the outcome.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 17:43:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Evaluating-ANOVA-assumptions-using-SAS/m-p/308806#M16348</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-11-02T17:43:57Z</dc:date>
    </item>
  </channel>
</rss>

