<?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: Goodness of fit test in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614466#M8546</link>
    <description>&lt;P&gt;What kind of goodness of fit?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Against a known distribution such as "Is my variable&amp;nbsp;normally distributed with specific mean and standard deviation?" or similar information for other distributions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or "Is my variable A in the data distributed similar to Variable X in this data?"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Dec 2019 21:46:49 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-12-30T21:46:49Z</dc:date>
    <item>
      <title>Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614460#M8544</link>
      <description>&lt;P&gt;I have a set of data imported how would I perform I goodness of fit test on certain columns of the table. I don’t know where to start.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 21:34:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614460#M8544</guid>
      <dc:creator>laurenhosking</dc:creator>
      <dc:date>2019-12-30T21:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614465#M8545</link>
      <description>&lt;P&gt;"Goodness-of-fit" test needs context. Without that context, there is no answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes you are testing to see how well data comes from a theoretical distribution (such as the normal distribution). Other times you are testing how well a statistical model fits the data.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 21:46:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614465#M8545</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-30T21:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614466#M8546</link>
      <description>&lt;P&gt;What kind of goodness of fit?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Against a known distribution such as "Is my variable&amp;nbsp;normally distributed with specific mean and standard deviation?" or similar information for other distributions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or "Is my variable A in the data distributed similar to Variable X in this data?"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 21:46:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614466#M8546</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-12-30T21:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614468#M8547</link>
      <description>I’m honestly not sure I think that’s the issue I’m having but the question says&lt;BR /&gt;” Use Goodness of fit test to establish if height (ht) and weight (wt) were&lt;BR /&gt;sample from a normal distributed population”</description>
      <pubDate>Mon, 30 Dec 2019 21:50:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614468#M8547</guid>
      <dc:creator>laurenhosking</dc:creator>
      <dc:date>2019-12-30T21:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614469#M8548</link>
      <description>’m honestly not sure I think that’s the issue I’m having but the question says&lt;BR /&gt;” Use Goodness of fit test to establish if height (ht) and weight (wt) were&lt;BR /&gt;sample from a normal distributed population”</description>
      <pubDate>Mon, 30 Dec 2019 21:50:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614469#M8548</guid>
      <dc:creator>laurenhosking</dc:creator>
      <dc:date>2019-12-30T21:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614474#M8549</link>
      <description>&lt;P&gt;The NORMAL option of PROC UNIVARIATE will cause a goodness-of-fit to the normal distribution to be computed.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=procstat&amp;amp;docsetTarget=procstat_univariate_syntax01.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#procstat.univariate.proc_normal" target="_blank"&gt;https://documentation.sas.com/?docsetId=procstat&amp;amp;docsetTarget=procstat_univariate_syntax01.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#procstat.univariate.proc_normal&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 22:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614474#M8549</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-30T22:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614478#M8550</link>
      <description>&lt;P&gt;Brilliant. Is there an option in sas studio to do this without typing in any form of coding?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 22:08:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614478#M8550</guid>
      <dc:creator>laurenhosking</dc:creator>
      <dc:date>2019-12-30T22:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614480#M8551</link>
      <description>&lt;P&gt;I can't answer SAS Studio questions if they do not involve writing code. I simply don't use SAS Studio for any other purpose than writing code.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 22:16:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614480#M8551</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-30T22:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614484#M8552</link>
      <description>If you can explain it in code that would help also. I’m just used to using the task bar for most things however I’m open to learning the code</description>
      <pubDate>Mon, 30 Dec 2019 22:29:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614484#M8552</guid>
      <dc:creator>laurenhosking</dc:creator>
      <dc:date>2019-12-30T22:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614564#M8558</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/298952"&gt;@laurenhosking&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;If you can explain it in code that would help also. I’m just used to using the task bar for most things however I’m open to learning the code&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Basic code to test for normal distribution of one or more variables.&lt;/P&gt;
&lt;PRE&gt;proc univariate data=sashelp.class normal;
   var height weight;
run;&lt;/PRE&gt;
&lt;P&gt;The NORMAL option on the proc statement requests the tests for normality of the variables on the Var statement.&lt;/P&gt;
&lt;P&gt;You will get the typical Univariate output of summary moments, statistics, quantiles and extreme&amp;nbsp;plus a table with tests for normality.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 15:57:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614564#M8558</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-12-31T15:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614567#M8560</link>
      <description>&lt;P&gt;Hi this is really helpful! Just to clarify, I’ll have one set of &amp;nbsp;table for height one set of tables for weight&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 16:16:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614567#M8560</guid>
      <dc:creator>laurenhosking</dc:creator>
      <dc:date>2019-12-31T16:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614610#M8564</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/298952"&gt;@laurenhosking&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi this is really helpful! Just to clarify, I’ll have one set of &amp;nbsp;table for height one set of tables for weight&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, each variable on the VAR statement get's separate output in the results. It will be preceded with something like:&lt;/P&gt;
&lt;DIV class="l proctitle"&gt;Variable: Height&lt;/DIV&gt;
&lt;DIV class="l proctitle"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="l proctitle"&gt;Or you can direct output to data sets but that may be more confusing at the moment.&lt;/DIV&gt;
&lt;DIV class="l proctitle"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Dec 2019 18:44:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614610#M8564</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-12-31T18:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614611#M8565</link>
      <description>Thank you I did this. How does one then interoperate the output</description>
      <pubDate>Tue, 31 Dec 2019 18:46:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614611#M8565</guid>
      <dc:creator>laurenhosking</dc:creator>
      <dc:date>2019-12-31T18:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614663#M8566</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;I manages to do this test and get an output with 3 different tests and there p vales. How would I interoperate this to establish wether it not they were a sample from a normal distribution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 13:31:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614663#M8566</guid>
      <dc:creator>laurenhosking</dc:creator>
      <dc:date>2020-01-01T13:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614665#M8567</link>
      <description>&lt;P&gt;Show us the output you get.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 13:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614665#M8567</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-01-01T13:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614667#M8568</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="height sas.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35101iA48A2FB31003D3AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="height sas.png" alt="height sas.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 13:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614667#M8568</guid>
      <dc:creator>laurenhosking</dc:creator>
      <dc:date>2020-01-01T13:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614668#M8569</link>
      <description>&lt;P&gt;SAS provides three different tests for goodness-of-fit to a normal distribution, the Kolmogorov-Smirnov, Cramer-von-Mises and the Anderson-Darling. Each tests to see if the hypothesis that the data is from a normal distribution, or not. While I can't really explain the differences, they all say the same thing ... since the p-values are &amp;gt;0.05, you do not reject the hypothesis that the data came from a normal distribution (or in layman's terms, the data is consistent with a normal distribution). You can read more about Kolmogorov-Smirnov here: &lt;A href="https://blogs.sas.com/content/iml/2019/05/15/kolmogorov-d-statistic.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2019/05/15/kolmogorov-d-statistic.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 13:57:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614668#M8569</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-01-01T13:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit test</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614669#M8570</link>
      <description>&lt;P&gt;Brilliant thank you. If I have 2 less than 0.05 but one bigger would I just assume the 2 which are less than?&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 12:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Goodness-of-fit-test/m-p/614669#M8570</guid>
      <dc:creator>laurenhosking</dc:creator>
      <dc:date>2020-01-05T12:07:51Z</dc:date>
    </item>
  </channel>
</rss>

