<?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: Manual Calculation of the Shapiro-Wilk Test Statistic in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Manual-Calculation-of-the-Shapiro-Wilk-Test-Statistic/m-p/105250#M38873</link>
    <description>&lt;P&gt;Ignore this...I did not read your request very closely...sorry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;JMP calculates the Shapiro-Wilk's test.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRIKE&gt;Open a data table.&lt;/STRIKE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRIKE&gt;Go to Help &amp;gt; Statistics Index&amp;gt; find Shapiro-Wilk test for normality on the left, then press launch&lt;/STRIKE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRIKE&gt;Select which columns of your table to be tested&lt;/STRIKE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRIKE&gt;The test is available in JMP PRO 12 and higher.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;&amp;nbsp;&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;It is the Goodnes of Fit test for a Normal Fit. The JSL is&lt;/STRIKE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Distribution(
	Continuous Distribution(
		Column( :height ),
		Fit Distribution( Normal( Goodness of Fit( 1 ) ) )
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&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="image.png" style="width: 397px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15068iC85969CB10A752CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jan 2019 18:43:20 GMT</pubDate>
    <dc:creator>gzmorgan0</dc:creator>
    <dc:date>2019-01-09T18:43:20Z</dc:date>
    <item>
      <title>Manual Calculation of the Shapiro-Wilk Test Statistic</title>
      <link>https://community.jmp.com/t5/Discussions/Manual-Calculation-of-the-Shapiro-Wilk-Test-Statistic/m-p/100825#M38801</link>
      <description>&lt;P&gt;Hello Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to implement manual calculation of the Shapiro-Wilk test statistic in JMP?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Using JSL script and/ or column formulas?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that JMP natively does this calculation natively in Analyze&amp;gt;Distribution and then Continuous Fit&amp;gt;Normal&amp;gt;Goodness of Fit, but I'm trying to reproduce the calculated value of the test statistic in order to understand it's basis with greater depth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a number of useful clues in references online, but I'm having some difficulty putting the pieces together:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Shapiro%E2%80%93Wilk_test#cite_note-8" target="_self"&gt;https://en.wikipedia.org/wiki/Shapiro%E2%80%93Wilk_test#cite_note-8&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here's the basis for it summarized nicely from Wikepedia link above:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="directly from wiki.JPG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15032iC95B53270BB39F76/image-size/large?v=v2&amp;amp;px=999" role="button" title="directly from wiki.JPG" alt="directly from wiki.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also some helpful clues here using MS Excel.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.real-statistics.com/tests-normality-and-symmetry/statistical-tests-normality-symmetry/shapiro-wilk-test/" target="_blank"&gt;http://www.real-statistics.com/tests-normality-and-symmetry/statistical-tests-normality-symmetry/shapiro-wilk-test/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 01:15:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Manual-Calculation-of-the-Shapiro-Wilk-Test-Statistic/m-p/100825#M38801</guid>
      <dc:creator>PatrickGiuliano</dc:creator>
      <dc:date>2019-01-08T01:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Manual Calculation of the Shapiro-Wilk Test Statistic</title>
      <link>https://community.jmp.com/t5/Discussions/Manual-Calculation-of-the-Shapiro-Wilk-Test-Statistic/m-p/102189#M38805</link>
      <description>&lt;P&gt;Here is a link that does a step by step calculation that you might be able to use.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blog.excelmasterseries.com/2015/05/how-to-create-completely-automated_4.html" target="_self"&gt;http://blog.excelmasterseries.com/2015/05/how-to-create-completely-automated_4.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 03:54:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Manual-Calculation-of-the-Shapiro-Wilk-Test-Statistic/m-p/102189#M38805</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-01-08T03:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Manual Calculation of the Shapiro-Wilk Test Statistic</title>
      <link>https://community.jmp.com/t5/Discussions/Manual-Calculation-of-the-Shapiro-Wilk-Test-Statistic/m-p/105250#M38873</link>
      <description>&lt;P&gt;Ignore this...I did not read your request very closely...sorry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;JMP calculates the Shapiro-Wilk's test.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRIKE&gt;Open a data table.&lt;/STRIKE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRIKE&gt;Go to Help &amp;gt; Statistics Index&amp;gt; find Shapiro-Wilk test for normality on the left, then press launch&lt;/STRIKE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRIKE&gt;Select which columns of your table to be tested&lt;/STRIKE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRIKE&gt;The test is available in JMP PRO 12 and higher.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;&amp;nbsp;&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;It is the Goodnes of Fit test for a Normal Fit. The JSL is&lt;/STRIKE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Distribution(
	Continuous Distribution(
		Column( :height ),
		Fit Distribution( Normal( Goodness of Fit( 1 ) ) )
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&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="image.png" style="width: 397px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15068iC85969CB10A752CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 18:43:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Manual-Calculation-of-the-Shapiro-Wilk-Test-Statistic/m-p/105250#M38873</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2019-01-09T18:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Manual Calculation of the Shapiro-Wilk Test Statistic</title>
      <link>https://community.jmp.com/t5/Discussions/Manual-Calculation-of-the-Shapiro-Wilk-Test-Statistic/m-p/105371#M38887</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/10483"&gt;@PatrickGiuliano&lt;/a&gt;&amp;nbsp;I am not sure why you would want to do this manually, when you have JMP that can produce the statistics and you can extract it from a report.&amp;nbsp; A simulation where the sample size is the same so the weight coefficients are the same, meaning the weights are calculated once and used many times, might be a good scenario for doing this by hand/matrix.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said, I found references for the coefficients and an algorithm to get them.&amp;nbsp; The references are reported in the attached script. Here are the results of two tests with N=40.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 499px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15074i933853B6B38086FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 10:31:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Manual-Calculation-of-the-Shapiro-Wilk-Test-Statistic/m-p/105371#M38887</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2019-01-10T10:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Manual Calculation of the Shapiro-Wilk Test Statistic</title>
      <link>https://community.jmp.com/t5/Discussions/Manual-Calculation-of-the-Shapiro-Wilk-Test-Statistic/m-p/105759#M38941</link>
      <description>Thank you this is excellent.</description>
      <pubDate>Sat, 12 Jan 2019 01:02:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Manual-Calculation-of-the-Shapiro-Wilk-Test-Statistic/m-p/105759#M38941</guid>
      <dc:creator>PatrickGiuliano</dc:creator>
      <dc:date>2019-01-12T01:02:52Z</dc:date>
    </item>
  </channel>
</rss>

