<?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 Kolmogorov-Smirnov Test for a given Distribution in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887387#M104950</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I want to use the Kolmogorov-Smirnov test to test the type of distribution of a group of Data. The idea is to see if the data is of&amp;nbsp;&lt;SPAN data-teams="true"&gt;weibull, gaussian or rayleigh distribution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;BR /&gt;I thought about creating a column that creates levels between the tested data and data of a given distribution but that would mean filling the column by hand.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Do you have any idea on how to use the implemented Kolmogorov-Smirnov function to compare the data with a given distribution?&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jul 2025 08:45:08 GMT</pubDate>
    <dc:creator>estelle-ippon</dc:creator>
    <dc:date>2025-07-16T08:45:08Z</dc:date>
    <item>
      <title>Kolmogorov-Smirnov Test for a given Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887387#M104950</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I want to use the Kolmogorov-Smirnov test to test the type of distribution of a group of Data. The idea is to see if the data is of&amp;nbsp;&lt;SPAN data-teams="true"&gt;weibull, gaussian or rayleigh distribution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;BR /&gt;I thought about creating a column that creates levels between the tested data and data of a given distribution but that would mean filling the column by hand.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Do you have any idea on how to use the implemented Kolmogorov-Smirnov function to compare the data with a given distribution?&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 08:45:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887387#M104950</guid>
      <dc:creator>estelle-ippon</dc:creator>
      <dc:date>2025-07-16T08:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Kolmogorov-Smirnov Test for a given Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887410#M104953</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/69779"&gt;@estelle-ippon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome in the Community !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To test the type of distribution if your data, you can simply use the platform&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.1/#page/jmp/distributions.shtml?_gl=1*1sujuny*_up*MQ..*_ga*MjA0MzEyMDY2OC4xNzUyNjU2Mzgy*_ga_BRNVBEC1RS*czE3NTI2NTYzODEkbzEkZzAkdDE3NTI2NTYzODEkajYwJGwwJGgw#" target="_blank"&gt;Distributions&lt;/A&gt;, and in the red triangle options of the data, you can choose "Continuous Fit" and select all or only specific type of distributions :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1752656770600.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/78339i246A32CF03FA0771/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1752656770600.png" alt="Victor_G_0-1752656770600.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you have selected several distributions or all, you will have a first comparison view of the distributions with the AICc criterion :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_1-1752656870433.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/78340iEA97A563FAACD488/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_1-1752656870433.png" alt="Victor_G_1-1752656870433.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you want a statistical test, simply select the distribution you want to test, and in the red triangle of this distribution select "Goodness of Fit" :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_2-1752656942995.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/78341i521CFEA6570BE4EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_2-1752656942995.png" alt="Victor_G_2-1752656942995.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For continuous fits, the goodness-of-fit test is the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="Search_Result_Highlight"&gt;Anderson-Darling&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;test :&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.jmp.com/support/help/en/18.1/#page/jmp/fit-distributions.shtml" target="_blank"&gt;Fit Distributions&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to compare two distributions using&amp;nbsp;&lt;SPAN&gt;Kolmogorov-Smirnov Test, then the platform&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.1/#page/jmp/oneway-analysis.shtml?_gl=1*1dmws0r*_up*MQ..*_ga*MTAwMjgxNjc5Ni4xNzUyNjU3MTYy*_ga_BRNVBEC1RS*czE3NTI2NTcxNjEkbzEkZzAkdDE3NTI2NTcxNjEkajYwJGwwJGgw#" target="_blank"&gt;Oneway Analysis&lt;/A&gt;&amp;nbsp;in Fit Y by X menu may help you :&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.1/#page/jmp/the-oneway-platform-options.shtml?_gl=1*a34bqt*_up*MQ..*_ga*MTAwMjgxNjc5Ni4xNzUyNjU3MTYy*_ga_BRNVBEC1RS*czE3NTI2NTcxNjEkbzEkZzAkdDE3NTI2NTcxNjEkajYwJGwwJGgw#" target="_blank"&gt;The Oneway Platform Options&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this answer will help you,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 09:13:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887410#M104953</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2025-07-16T09:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Kolmogorov-Smirnov Test for a given Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887426#M104955</link>
      <description>&lt;P&gt;Hi Victor,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;thank you for your answer.&lt;BR /&gt;&lt;BR /&gt;The thing is I specifically want to use the K-S test to try to see if my data fit a Gaussian, Weibull or Rayleigh distribution. Could you tell me a little bit more about the oneway analysis?&lt;BR /&gt;&lt;BR /&gt;Do you have an idea on how to implemented such a test ?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 09:24:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887426#M104955</guid>
      <dc:creator>estelle-ippon</dc:creator>
      <dc:date>2025-07-16T09:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Kolmogorov-Smirnov Test for a given Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887433#M104956</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/69779"&gt;@estelle-ippon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could technically do what you want, but it will need some preliminary work to get it done, and it will require you define the distribution quite precisely.&lt;/P&gt;
&lt;P&gt;You have to prepare your datatable first :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Generate a random formula column with the correct distribution in your datatable (in my case I'm using the dataset Big Class Families, and creating a new column with a Weibull formula distribution to compare it with the "Height" column) :&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_1-1752658574029.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/78347i3524AAE63579C107/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_1-1752658574029.png" alt="Victor_G_1-1752658574029.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Stack the generated data with the column you want to test, adding a label and values to differentiate "real data" to "simulated data" :&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_2-1752658605953.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/78348i329C7F198BDAFFF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_2-1752658605953.png" alt="Victor_G_2-1752658605953.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Use the platform Fit Y by X, with the data as Y and the label/distribution type (real/simulated) as X :&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_3-1752658664119.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/78349i16F176BAFE477911/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_3-1752658664119.png" alt="Victor_G_3-1752658664119.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;In the red triangle, in "Nonparametric", choose "Kolmogorov-Smirnov Test" to compare your simulated data with the real data:&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_4-1752658741051.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/78350i94B156EC12453DD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_4-1752658741051.png" alt="Victor_G_4-1752658741051.png" /&gt;&lt;/span&gt;
&lt;P&gt;You'll then have the statistics displayed for this test :&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.2/#page/jmp/nonparametric-test-reports.shtml?os=win&amp;amp;source=application#ww280942" target="_blank" rel="noopener"&gt;Nonparametric Test Reports&lt;/A&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this answer will help you,&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 09:42:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887433#M104956</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2025-07-16T09:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Kolmogorov-Smirnov Test for a given Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887434#M104957</link>
      <description>&lt;P&gt;Thank you very much for your answer, I also think it would be a good idea.&lt;BR /&gt;&lt;BR /&gt;But on the other hand do you have an idea on how to implement that test if we don't know the parameters of the distribution? I don't think I'll be able to create a column manually if I don't have them.&lt;BR /&gt;&lt;BR /&gt;Do you think it's feasible? If not I'll have to create the test by hand I guess...&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 09:52:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887434#M104957</guid>
      <dc:creator>estelle-ippon</dc:creator>
      <dc:date>2025-07-16T09:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Kolmogorov-Smirnov Test for a given Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887439#M104958</link>
      <description>&lt;P&gt;You could then use the first option I described using Distribution platform to estimate parameters for the distribution you intend to test. Then create a random formula column with the distribution and estimates found earlier, and then follow the procedure of my second reply to do the KS test to compare simulated data and measured data ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I think the Anderson-Darling test available in the Distribution platform is the most direct option, and very close to what you intend to do.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 10:38:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Kolmogorov-Smirnov-Test-for-a-given-Distribution/m-p/887439#M104958</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2025-07-16T10:38:04Z</dc:date>
    </item>
  </channel>
</rss>

