<?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 Adding New Custom Summary Statistics in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adding-New-Custom-Summary-Statistics/m-p/659231#M84851</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to add "custom" statistics to the summary statistics table within the "Analyze" platform, similar to the mock-up below. The list of additional statistics within the customize statistics window does not have what I am looking for so I want a way to add my own calculations. I get the impression that this may not be possible within the Summary Statistics table, so any guidance on how to accomplish this within the "Analyze" platform would be greatly appreciated as it does 95% of what I am looking to do already.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to JMP so apologies for any incorrect terminology. JSL guidance or suggestions are welcome and appreciated.&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="custom_summary_statistics.JPG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54814i556AEBF3BAEB6BC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="custom_summary_statistics.JPG" alt="custom_summary_statistics.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Connor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using JMP 16.0.0&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2023 14:48:03 GMT</pubDate>
    <dc:creator>Connor_K</dc:creator>
    <dc:date>2023-07-17T14:48:03Z</dc:date>
    <item>
      <title>Adding New Custom Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-New-Custom-Summary-Statistics/m-p/659231#M84851</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to add "custom" statistics to the summary statistics table within the "Analyze" platform, similar to the mock-up below. The list of additional statistics within the customize statistics window does not have what I am looking for so I want a way to add my own calculations. I get the impression that this may not be possible within the Summary Statistics table, so any guidance on how to accomplish this within the "Analyze" platform would be greatly appreciated as it does 95% of what I am looking to do already.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to JMP so apologies for any incorrect terminology. JSL guidance or suggestions are welcome and appreciated.&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="custom_summary_statistics.JPG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54814i556AEBF3BAEB6BC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="custom_summary_statistics.JPG" alt="custom_summary_statistics.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Connor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using JMP 16.0.0&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 14:48:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-New-Custom-Summary-Statistics/m-p/659231#M84851</guid>
      <dc:creator>Connor_K</dc:creator>
      <dc:date>2023-07-17T14:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding New Custom Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-New-Custom-Summary-Statistics/m-p/659254#M84853</link>
      <description>&lt;P&gt;Modifying the existing platforms isn't usually that simple but it can be done through scripting. If you commonly perform similar analysis it might be easier to script your own report (script or add-in) which uses distribution platform for some analysis and then has additional summary statistics somewhere in the UI. It is also possible to create a script (or add-in) which will manipulate existing distribution platform and adds summary statistics there&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

dist = dt &amp;lt;&amp;lt; Run Script("Distribution");

// dist = ((Current Report() &amp;lt;&amp;lt; child) &amp;lt;&amp;lt; child) &amp;lt;&amp;lt; Get Scriptable Object;

obs = (dist &amp;lt;&amp;lt; XPath("//OutlineBox"));
ob_titles = obs &amp;lt;&amp;lt; get title;
col_of_interest = ob_titles[2];

sum_stat = Report(dist)[OutlineBox(col_of_interest), OutlineBox("Summary Statistics")];
sum_stat_lb = sum_stat &amp;lt;&amp;lt; child;

Insert Into(sum_stat_lb, tb2 = Table Box(String Col Box("", {"AAA"}), Number Col Box("", [123])));
tb2 &amp;lt;&amp;lt; Add Row({"BBBBBBBBBBBBBBB", 1231312321});
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;Community has quite a lot of material for scripting as does JMP documentation, &lt;A href="https://www.jmp.com/support/help/en/16.2/#page/jmp/introduction.shtml#" target="_blank" rel="noopener"&gt;Scripting Guide&lt;/A&gt; is good starting point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: There is also &lt;LI-MESSAGE title="Custom formulas for summary statistics that can be created then used in Tabulate, Distribution, Summary, Graph Builder etc. as well as Column functions (ex. Col GCV(:Column 1, :By Variable Column))" uid="594006" url="https://community.jmp.com/t5/JMP-Wish-List/Custom-formulas-for-summary-statistics-that-can-be-created-then/m-p/594006#U594006" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt; item in wish list&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 15:22:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-New-Custom-Summary-Statistics/m-p/659254#M84853</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-07-17T15:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding New Custom Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-New-Custom-Summary-Statistics/m-p/659378#M84861</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/48824"&gt;@Connor_K&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; In addition to what&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;has mentioned about scripting, where you can generate your own interface and statistical values, you might try checking out the Distribution Summary Statistics to see if the statistic you're after is already built into JMP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Go File &amp;gt; Preferences &amp;gt; Platforms &amp;gt;&amp;nbsp;Distribution Summary Statistics, and check/uncheck the boxes for the statistics that you want to appear or not appear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!,&lt;/P&gt;&lt;P&gt;DS&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="SDF1_0-1689619637404.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54818iC6677DA148F5F6A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_0-1689619637404.png" alt="SDF1_0-1689619637404.png" /&gt;&lt;/span&gt;&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="SDF1_1-1689619645915.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54819i0564507491553D3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_1-1689619645915.png" alt="SDF1_1-1689619645915.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 18:47:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-New-Custom-Summary-Statistics/m-p/659378#M84861</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2023-07-17T18:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding New Custom Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-New-Custom-Summary-Statistics/m-p/659417#M84864</link>
      <description>&lt;P&gt;Jarmo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply, your sample code helped to point me in the right direction. Manipulating the existing tables via JSL is perfect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good to know this is being considered in the wish list as well, I am sure many folks would find it useful. Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connor&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 20:55:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-New-Custom-Summary-Statistics/m-p/659417#M84864</guid>
      <dc:creator>Connor_K</dc:creator>
      <dc:date>2023-07-17T20:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding New Custom Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-New-Custom-Summary-Statistics/m-p/659418#M84865</link>
      <description>&lt;P&gt;Hi DS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the statistics I am interested in are not included in the preferences section you have mentioned. The statistics I need are proprietary and a bit esoteric. I appreciate you taking the time to share that information though!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connor&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 21:00:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-New-Custom-Summary-Statistics/m-p/659418#M84865</guid>
      <dc:creator>Connor_K</dc:creator>
      <dc:date>2023-07-17T21:00:49Z</dc:date>
    </item>
  </channel>
</rss>

