<?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 Statistical test for algorithm comparison - JMP Pro in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Statistical-test-for-algorithm-comparison-JMP-Pro/m-p/548890#M76556</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I want to test the efficiency of two different algorithms.&lt;/P&gt;&lt;P&gt;I have two random samples from the same population. On one sample, I run Algorithm X; on another sample, I run Algorithm Y. There are 30 records in each. The variable type is continuous.&lt;/P&gt;&lt;P&gt;Which statistics test I can do to find out the best algorithm and what parameters I should be comparing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly let me know if more details are needed.&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Nick&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 00:54:59 GMT</pubDate>
    <dc:creator>NickShaw</dc:creator>
    <dc:date>2023-06-09T00:54:59Z</dc:date>
    <item>
      <title>Statistical test for algorithm comparison - JMP Pro</title>
      <link>https://community.jmp.com/t5/Discussions/Statistical-test-for-algorithm-comparison-JMP-Pro/m-p/548890#M76556</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I want to test the efficiency of two different algorithms.&lt;/P&gt;&lt;P&gt;I have two random samples from the same population. On one sample, I run Algorithm X; on another sample, I run Algorithm Y. There are 30 records in each. The variable type is continuous.&lt;/P&gt;&lt;P&gt;Which statistics test I can do to find out the best algorithm and what parameters I should be comparing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly let me know if more details are needed.&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Nick&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:54:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Statistical-test-for-algorithm-comparison-JMP-Pro/m-p/548890#M76556</guid>
      <dc:creator>NickShaw</dc:creator>
      <dc:date>2023-06-09T00:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Statistical test for algorithm comparison - JMP Pro</title>
      <link>https://community.jmp.com/t5/Discussions/Statistical-test-for-algorithm-comparison-JMP-Pro/m-p/548927#M76559</link>
      <description>&lt;P&gt;I have lots of questions and very few answers without alot more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. What characteristic would you like to use to evaluate 'efficiency'?&lt;/P&gt;&lt;P&gt;2. What characteristic would you like to use to evaluate 'best'? If whatever your characteristic for 'best' is, how much does the results have to vary before you declare one is 'best'?&lt;/P&gt;&lt;P&gt;3. There are numerous population 'parameters' that one can evaluate from 'random samples' from said population. Are you attempting to estimate these parameters? If so, by what method? Confidence intervals, tolerance intervals, something else? Is there a time series component to the data or decisions at hand?&lt;/P&gt;&lt;P&gt;4. Is this an academic exercise or one that has practical decisions behind it? If the latter, please articulate more of the practical problem, sampling method (truly random...or something else), and the actual decisions at hand.&lt;/P&gt;&lt;P&gt;5. What do you know about measurement noise/variation with respect to the processes in play?&lt;/P&gt;&lt;P&gt;6. I hope you have examined the data graphically BEFORE doing any numeric analysis. There may be outliers, suspicious observations, or other features in the sample data sets that make any one specific numeric analysis approach more problematic than alternative approaches.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've probably not touched on everything but the above is a start?&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2022 12:19:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Statistical-test-for-algorithm-comparison-JMP-Pro/m-p/548927#M76559</guid>
      <dc:creator>P_Bartell</dc:creator>
      <dc:date>2022-09-25T12:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Statistical test for algorithm comparison - JMP Pro</title>
      <link>https://community.jmp.com/t5/Discussions/Statistical-test-for-algorithm-comparison-JMP-Pro/m-p/549229#M76573</link>
      <description>&lt;P&gt;Statistical inference is helpful when observing the entire population is impossible. The population is not defined in your post. Statistical inference assesses the uncertainty in the estimation of a parameter due to sampling from the population. Compare the two algorithms based on a measure of efficiencies such as processing time or processing steps using the same sample of data. This case is a paired comparison that can use the paired t-test on the continuous outcome of each algorithm.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your data might look like this table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="table.PNG" style="width: 721px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45757i810CB1F0F1C3608F/image-size/large?v=v2&amp;amp;px=999" role="button" title="table.PNG" alt="table.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I mocked up some data. There are 100 samples of data from the same population. The samples could be from resampling or bootstrapping. The outcome is the number of seconds to complete the algorithm.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can analyze these results using &lt;STRONG&gt;Analyze &amp;gt; Specialized Modeling &amp;gt; Matched Pairs&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="matched.PNG" style="width: 435px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45759i5FCB92569EE7A934/image-size/large?v=v2&amp;amp;px=999" role="button" title="matched.PNG" alt="matched.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example shows a statistically significant difference between the two algorithms of about 10 seconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I attached my mock-up for you.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 13:50:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Statistical-test-for-algorithm-comparison-JMP-Pro/m-p/549229#M76573</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-09-26T13:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Statistical test for algorithm comparison - JMP Pro</title>
      <link>https://community.jmp.com/t5/Discussions/Statistical-test-for-algorithm-comparison-JMP-Pro/m-p/549672#M76608</link>
      <description>&lt;P&gt;&amp;nbsp;Thanks a lot Mark.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 03:52:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Statistical-test-for-algorithm-comparison-JMP-Pro/m-p/549672#M76608</guid>
      <dc:creator>NickShaw</dc:creator>
      <dc:date>2022-09-27T03:52:53Z</dc:date>
    </item>
  </channel>
</rss>

