<?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: Use sas to examine normality of variables in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796670#M39152</link>
    <description>Oh wow. I'm basically the person in the example. I misinterpreted however, I think the codes I typed could be helpful in the questions after this one.&lt;BR /&gt;&lt;BR /&gt;to prove normality I could have just used&lt;BR /&gt;proc univariate data= birthw.birthweight;&lt;BR /&gt;var mppwt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;could I simple replace the variable with the one being asked for in each code?</description>
    <pubDate>Wed, 16 Feb 2022 19:14:02 GMT</pubDate>
    <dc:creator>saza</dc:creator>
    <dc:date>2022-02-16T19:14:02Z</dc:date>
    <item>
      <title>Use sas to examine normality of variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796667#M39149</link>
      <description>&lt;P&gt;Was told to use dataset "birthweight" (Attached to question) to determine the normality of each of the following variables:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mothers height:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;proc reg data= birthw.birthweight;&lt;BR /&gt;model birthweight = mppwt;&lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Baby’s Length:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;proc reg data= birthw.birthweight;&lt;BR /&gt;model birthweight =length;&lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Mothers number of Cigarettes:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;proc reg data= birthw.birthweight;&lt;BR /&gt;model birthweight =mnocig;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Baby Weight: not sure how to do this&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Gestation:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc reg data= birthw.birthweight;&lt;BR /&gt;model birthweight =gestation;&lt;BR /&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My professor stated that we can use any method to determine this, even histograms, however I am uncertain on how to do so and was wondering if the codes that I have are correct way of determining normality.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 18:54:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796667#M39149</guid>
      <dc:creator>saza</dc:creator>
      <dc:date>2022-02-16T18:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Use sas to examine normality of variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796669#M39151</link>
      <description>&lt;P&gt;I'm not sure what your professor said, or if you understood the professor properly. Normality of the response variable is NOT required for a regression, and isn't something you would usually test.&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2018/08/27/on-the-assumptions-and-misconceptions-of-linear-regression.html" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/iml/2018/08/27/on-the-assumptions-and-misconceptions-of-linear-regression.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, normality of the residuals is something you would want to test, and is a requirement of the statistical testing performed by the regression. (It is not a requirement to actually fit the least-squares regression line).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To test the normality of the residuals, you have to have PROC REG output the residuals, and these can then be tested in a number of ways, including PROC UNIVARIATE and also &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/procstat/procstat_univariate_details62.htm" target="_self"&gt;Q-Q plots&lt;/A&gt;. You can also just look at a histogram to get some idea if the residuals are normally distributed.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 19:06:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796669#M39151</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-02-16T19:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Use sas to examine normality of variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796670#M39152</link>
      <description>Oh wow. I'm basically the person in the example. I misinterpreted however, I think the codes I typed could be helpful in the questions after this one.&lt;BR /&gt;&lt;BR /&gt;to prove normality I could have just used&lt;BR /&gt;proc univariate data= birthw.birthweight;&lt;BR /&gt;var mppwt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;could I simple replace the variable with the one being asked for in each code?</description>
      <pubDate>Wed, 16 Feb 2022 19:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796670#M39152</guid>
      <dc:creator>saza</dc:creator>
      <dc:date>2022-02-16T19:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Use sas to examine normality of variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796675#M39154</link>
      <description>&lt;P&gt;No testing of normality of the original variables used in PROC REG is required or necessary.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 19:29:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796675#M39154</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-02-16T19:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Use sas to examine normality of variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796686#M39156</link>
      <description>well this was the original question&lt;BR /&gt;&lt;BR /&gt;Using SAS examine the normality of the variables for mother’s height, baby’s length, mother’s number of cigarettes, baby weight, gestation.&lt;BR /&gt;Are any of the variables non-normally distributed? How so?&lt;BR /&gt;&lt;BR /&gt;and the codes I provided earlier were the ones I was planning on using but wasn't sure if they were correct&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Feb 2022 20:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796686#M39156</guid>
      <dc:creator>saza</dc:creator>
      <dc:date>2022-02-16T20:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Use sas to examine normality of variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796690#M39157</link>
      <description>The original assumption of using PROC REG was flawed, using PROC UNIVARIATE is correct. &lt;BR /&gt;You assess normality of a variable on it's own, not in relation to other variables, typically. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Feb 2022 20:12:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796690#M39157</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-02-16T20:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Use sas to examine normality of variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796696#M39158</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/413742"&gt;@saza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;well this was the original question&lt;BR /&gt;&lt;BR /&gt;Using SAS examine the normality of the variables for mother’s height, baby’s length, mother’s number of cigarettes, baby weight, gestation.&lt;BR /&gt;Are any of the variables non-normally distributed? How so?&lt;BR /&gt;&lt;BR /&gt;and the codes I provided earlier were the ones I was planning on using but wasn't sure if they were correct&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;And I'm telling you that you don't have to assess the variables for normality to use them in a regression.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 20:22:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796696#M39158</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-02-16T20:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use sas to examine normality of variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796715#M39161</link>
      <description>I think that is what my professor is asking me. The code worked but am unsure on what to use to prove normality. What values should I be looking at</description>
      <pubDate>Wed, 16 Feb 2022 21:28:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796715#M39161</guid>
      <dc:creator>saza</dc:creator>
      <dc:date>2022-02-16T21:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Use sas to examine normality of variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796717#M39162</link>
      <description>&lt;P&gt;Here's one way&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.stat.purdue.edu/~tqin/system101/method/QQplot_sas.htm" target="_blank"&gt;https://www.stat.purdue.edu/~tqin/system101/method/QQplot_sas.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's more than one way to do this though, so this may not align with what your professor is expecting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will want to review your course notes.&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/413742"&gt;@saza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I think that is what my professor is asking me. The code worked but am unsure on what to use to prove normality. What values should I be looking at&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 21:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796717#M39162</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-02-16T21:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Use sas to examine normality of variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796862#M39176</link>
      <description>&lt;P&gt;To follow up on &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;,consider this as an example: Variable:&amp;nbsp; Height of adult humans.&amp;nbsp; A quick plot will show that this is bimodal (clustered on genetic males and genetic females) thus not normal.&amp;nbsp; However if you look at the residuals after fitting a model such as this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;model height = sex;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and outputting the residuals, you can test for normality or you can visually evaluate normality using QQ plots and histograms of the &lt;U&gt;&lt;STRONG&gt;residuals,&lt;/STRONG&gt;&lt;/U&gt; using PROC UNIVARIATE.&amp;nbsp; Take a look at this really good web page regarding normality testing:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://towardsdatascience.com/stop-testing-for-normality-dba96bb73f90" target="_self"&gt;https://towardsdatascience.com/stop-testing-for-normality-dba96bb73f90&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and you will see that it is really a futile effort.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 13:27:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Use-sas-to-examine-normality-of-variables/m-p/796862#M39176</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-02-17T13:27:56Z</dc:date>
    </item>
  </channel>
</rss>

