<?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 Shapiro Wilk normality test in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432020#M22723</link>
    <description>&lt;P&gt;Hi. In SPSS, I can run normality test for my dependent variable for each group and condition.&lt;/P&gt;&lt;P&gt;Is there a way to do it in SAS? Or should I always save data set for each group and condition using where function before running normality test?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 01:24:00 GMT</pubDate>
    <dc:creator>nlpurumi</dc:creator>
    <dc:date>2018-01-30T01:24:00Z</dc:date>
    <item>
      <title>Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432020#M22723</link>
      <description>&lt;P&gt;Hi. In SPSS, I can run normality test for my dependent variable for each group and condition.&lt;/P&gt;&lt;P&gt;Is there a way to do it in SAS? Or should I always save data set for each group and condition using where function before running normality test?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 01:24:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432020#M22723</guid>
      <dc:creator>nlpurumi</dc:creator>
      <dc:date>2018-01-30T01:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432036#M22725</link>
      <description>&lt;P&gt;Hi, hope you find this helpful&amp;nbsp;&lt;A href="http://documentation.sas.com/?docsetId=procstat&amp;amp;docsetTarget=procstat_univariate_gettingstarted04.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Modeling a Data Distribution&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;You may also like to explore other procs such as proc capability and proc model.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 02:23:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432036#M22725</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2018-01-30T02:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432042#M22726</link>
      <description>&lt;P&gt;Thanks for your reply. While this is the correct website that I was looking for (but couldn't), I also resolved my issue by myself.&lt;/P&gt;&lt;P&gt;I found adding "class" command before "var" row helped to sort normality test results by the independent variable I am interested in.&lt;/P&gt;&lt;P&gt;This is the code I used:&lt;/P&gt;&lt;P&gt;proc univariate data= a1.param_variabil normal;&lt;BR /&gt;class Group Whole_1st;&lt;BR /&gt;var Time_param;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, thanks again for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 02:37:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432042#M22726</guid>
      <dc:creator>nlpurumi</dc:creator>
      <dc:date>2018-01-30T02:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432051#M22727</link>
      <description>&lt;P&gt;Your looking for what's called a BY group analysis, which is slightly different than a CLASS statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a CLASS statement all combinations are considered, versus a BY statement which runs each group independently.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ie if Var1 has 2 levels and Var2 has 3 levels and you include both, a BY statement will produce 6 sets of analysis where as a CLASS statement will produce 12 analysis, Overall (1), one for each level of Var1 (2), one for each level of Var2 (3) and for a combination of Var1*Var2 (6) =12&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use either PROC Univariate for parametric statistics and PROC NPAR1WAY for non-parametric statistics.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/112178"&gt;@nlpurumi&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi. In SPSS, I can run normality test for my dependent variable for each group and condition.&lt;/P&gt;
&lt;P&gt;Is there a way to do it in SAS? Or should I always save data set for each group and condition using where function before running normality test?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 03:51:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432051#M22727</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-30T03:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432054#M22728</link>
      <description>&lt;P&gt;I see. Thanks a lot for your help again.&lt;/P&gt;&lt;P&gt;Could you please teach me how to change my code to use "BY" instead of "Class" statement to see the results for each level of variables?&lt;/P&gt;&lt;P&gt;Also, I added a few codes to generate the normality figures which I took from the website the above responder provided.&lt;/P&gt;&lt;P&gt;However, I cannot understand each function of the code nor interpret the result from the figure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;/P&gt;&lt;P&gt;proc univariate data= a1.param_variabil1 normal;&lt;BR /&gt;class Group Whole_1st;&lt;BR /&gt;var Time_param;&lt;BR /&gt;probplot Time_param / normal(mu=est sigma=est)&lt;BR /&gt;square&lt;BR /&gt;odstitle = Title;&lt;BR /&gt;label Time_param = 'Time Parameter';&lt;BR /&gt;inset mean std / format=6.4;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Normality test_SL1.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18181i156D9FEF9DEFB107/image-size/large?v=v2&amp;amp;px=999" role="button" title="Normality test_SL1.png" alt="Normality test_SL1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 04:32:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432054#M22728</guid>
      <dc:creator>nlpurumi</dc:creator>
      <dc:date>2018-01-30T04:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432057#M22729</link>
      <description>&lt;P&gt;CHange CLASS to BY, that’s all. Most Procs take a BY statement, only a few support a CLASS statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you you checked the documentation? If you have specific questions I’m happy to help but I don’t feel up to providing a full tutorial on Proc univariate. If you want tutorials either take the free statistics e-course or search on lexjansen.com for many user written papers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here’s the documentation for PROC UNIVARIATE, if you click on Syntax and select the statements in your code you can read the explanation of what each line and option do.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 05:00:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432057#M22729</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-30T05:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432058#M22730</link>
      <description>Link may help...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.2&amp;amp;docsetId=procstat&amp;amp;docsetTarget=procstat_univariate_toc.htm&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.2&amp;amp;docsetId=procstat&amp;amp;docsetTarget=procstat_univariate_toc.htm&amp;amp;locale=en&lt;/A&gt;</description>
      <pubDate>Tue, 30 Jan 2018 05:01:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432058#M22730</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-30T05:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432061#M22731</link>
      <description>&lt;P&gt;Thanks a lot! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 05:12:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432061#M22731</guid>
      <dc:creator>nlpurumi</dc:creator>
      <dc:date>2018-01-30T05:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432763#M22776</link>
      <description>&lt;P&gt;When I change the "class" to "BY", it only generated results of one condition out of four conditions I tried to explore.&lt;/P&gt;&lt;P&gt;Thus, "BY" was not a good solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 14:43:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432763#M22776</guid>
      <dc:creator>nlpurumi</dc:creator>
      <dc:date>2018-01-31T14:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432799#M22777</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/112178"&gt;@nlpurumi&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;When I change the "class" to "BY", it only generated results of one condition out of four conditions I tried to explore.&lt;/P&gt;
&lt;P&gt;Thus, "BY" was not a good solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Check your log - you likely didn't pre-sort your data so the PROC errored out instead of completing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.class out=class;
by sex;
run;

proc means data=class n mean min max;
by sex;
var weight;
run;

proc means data=class n mean min max;
class sex;
var weight;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 15:45:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432799#M22777</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-31T15:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432820#M22778</link>
      <description>&lt;P&gt;Great help. I was using following code and it worked in the way I wanted (providing normality test results for each condition).&amp;nbsp;&lt;/P&gt;&lt;P&gt;It did not require me to save the dataset according to condition I am interested in. So it was really convenient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort data=a1.param_variabil out=a1.param_variabil1;&lt;BR /&gt;by SL Group Whole_1st;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;/P&gt;&lt;P&gt;proc univariate data= a1.param_variabil1 normal;&lt;BR /&gt;BY Group Whole_1st SL;&lt;BR /&gt;var Time_param;&lt;BR /&gt;histogram / normal&lt;BR /&gt;ctext = blue;&lt;BR /&gt;/* probplot Time_param / normal(mu=est sigma=est)&lt;BR /&gt;square&lt;BR /&gt;odstitle = Title;&lt;BR /&gt;label Time_param = 'Time Parameter';&lt;BR /&gt;inset mean std / format=6.4; */&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 16:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432820#M22778</guid>
      <dc:creator>nlpurumi</dc:creator>
      <dc:date>2018-01-31T16:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432824#M22779</link>
      <description>&lt;P&gt;I realized, I had an error message, so above code did not run to the end failing to provide me with the normality test results for each condition. I had three independent variables: SL (3 level), Group (2 level), Whole_1st (2 level).&lt;/P&gt;&lt;P&gt;Probably sorting and "BY" command could be a good solution, but not effective for many variables?&lt;/P&gt;&lt;P&gt;I am not sure if I had to include only two out of three variables for sorting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone please help? Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Data set A1.PARAM_VARIABIL1 is not sorted in ascending sequence. The current BY group has&lt;BR /&gt;Group = 2 and the next BY group has Group = 1.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE UNIVARIATE used (Total process time):&lt;BR /&gt;real time 2.30 seconds&lt;BR /&gt;cpu time 0.92 seconds&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 16:44:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432824#M22779</guid>
      <dc:creator>nlpurumi</dc:creator>
      <dc:date>2018-01-31T16:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432834#M22780</link>
      <description>&lt;P&gt;Your BY statement needs to be the same as in the SORT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 16:54:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432834#M22780</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-31T16:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432845#M22781</link>
      <description>&lt;P&gt;Yes, it worked.&amp;nbsp;I cannot imagine I would figure out all these without your help. Thanks so much!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW, I see that the distribution looks just like normal distribution to me, but Shapiro Wilk's result is still significant (p-value=.001).&amp;nbsp;Most of the distribution looked normal to me. Do you have any idea why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance again&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SL=3 Group=1 Whole_1st=1.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18240iE2F5C78BD3D9ED63/image-size/large?v=v2&amp;amp;px=999" role="button" title="SL=3 Group=1 Whole_1st=1.png" alt="SL=3 Group=1 Whole_1st=1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 17:37:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432845#M22781</guid>
      <dc:creator>nlpurumi</dc:creator>
      <dc:date>2018-01-31T17:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432847#M22783</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Customize your bins so you have a better histogram with less gaps so you can see the distribution better. Also, you can look at the q-q / pp plot which is easier to see normality in my opinion.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 17:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432847#M22783</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-31T17:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432849#M22784</link>
      <description>&lt;P&gt;Thanks again for your reply. I will try to figure out how to draw qq plot. I am a beginner in SAS, so everything is so new to me.&lt;/P&gt;&lt;P&gt;However, if I have a better figure, do you think I would know this is non-normal distribution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I have another question for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I vaguely remembered that I should run normality test not on dependent variable but on residual.&lt;/P&gt;&lt;P&gt;Now my question is this how is the "outp=R" command different from "residual" command in following statement?&lt;/P&gt;&lt;P&gt;"model apathy=time intervention time*intervention /residual;"&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 17:40:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432849#M22784</guid>
      <dc:creator>nlpurumi</dc:creator>
      <dc:date>2018-01-31T17:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432853#M22785</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/112178"&gt;@nlpurumi&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks again for your reply. I will try to figure out how to draw qq plot. I am a beginner in SAS, so everything is so new to me.&lt;/P&gt;
&lt;P&gt;However, if I have a better figure, do you think I would know this is non-normal distribution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I have another question for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I vaguely remembered that I should run normality test not on dependent variable but on residual.&lt;/P&gt;
&lt;P&gt;Now my question is this how is the "outp=R" command different from "residual" command in following statement?&lt;/P&gt;
&lt;P&gt;"model apathy=time intervention time*intervention /residual;"&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The assumption for linear regression is that the residuals are normal not the covariates. I suggest looking up the documentation for PROC UNIVARIATE to see what commands are available - it does the qq plots automatically.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 17:55:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432853#M22785</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-31T17:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432858#M22786</link>
      <description>&lt;P&gt;Thank you. I will search the link you shared the other day. Thanks a lot!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 18:22:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432858#M22786</guid>
      <dc:creator>nlpurumi</dc:creator>
      <dc:date>2018-01-31T18:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432859#M22787</link>
      <description>&lt;P&gt;And remember the SAS Statistics 1 e-course is completely free and covers a lot of what you're attempting here with the first few chapters.&lt;/P&gt;
&lt;P&gt;Good Luck.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 18:23:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432859#M22787</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-31T18:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Shapiro Wilk normality test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432860#M22788</link>
      <description>&lt;P&gt;I see. Thank you for your help and advice!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 18:26:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Shapiro-Wilk-normality-test/m-p/432860#M22788</guid>
      <dc:creator>nlpurumi</dc:creator>
      <dc:date>2018-01-31T18:26:11Z</dc:date>
    </item>
  </channel>
</rss>

