<?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: Simple Script to create distribution for all columns in a data table in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/365731#M61519</link>
    <description>&lt;P&gt;One way to do it:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
//dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
colNames = dt &amp;lt;&amp;lt; Get Column Names("String");
dist = Eval(EvalExpr(dt &amp;lt;&amp;lt; distribution(Column(Expr(colNames)))));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I would think &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1701"&gt;@dale_lehman&lt;/a&gt; suggestion would be better in most cases. At least JMP15 provides distributions below column names&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1615040638864.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31041i08919E1391887C3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1615040638864.png" alt="jthi_0-1615040638864.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;or use Column Viewer as it gives additional information in easy to see format and allows quick creation of distributions.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1615040861333.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31042i4F9361F983B092E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1615040861333.png" alt="jthi_1-1615040861333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Mar 2021 14:28:13 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2021-03-06T14:28:13Z</dc:date>
    <item>
      <title>Simple Script to create distribution for all columns in a data table</title>
      <link>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/365705#M61516</link>
      <description>&lt;P&gt;Is there a simple script that creates distribution of all the columns in a data table ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:07:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/365705#M61516</guid>
      <dc:creator>Djtjhin</dc:creator>
      <dc:date>2023-06-09T22:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script to create distribution for all columns in a data table</title>
      <link>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/365706#M61517</link>
      <description>&lt;P&gt;I'm sure someone will give you such a script - but why isn't the display that appears just below the variable name sufficient?&amp;nbsp; And, if you want the statistics (e.g., means, standard deviations, etc.) you can use either the Column Viewer - summary or select all distributions and then make a combined data table.&amp;nbsp; Of course, those scripts can be saved to the data table, so JMP will write the scripts (sorry, but I'm allergic to writing scripts if I can avoid them).&lt;/P&gt;</description>
      <pubDate>Sat, 06 Mar 2021 14:09:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/365706#M61517</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2021-03-06T14:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script to create distribution for all columns in a data table</title>
      <link>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/365731#M61519</link>
      <description>&lt;P&gt;One way to do it:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
//dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
colNames = dt &amp;lt;&amp;lt; Get Column Names("String");
dist = Eval(EvalExpr(dt &amp;lt;&amp;lt; distribution(Column(Expr(colNames)))));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I would think &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1701"&gt;@dale_lehman&lt;/a&gt; suggestion would be better in most cases. At least JMP15 provides distributions below column names&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1615040638864.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31041i08919E1391887C3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1615040638864.png" alt="jthi_0-1615040638864.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;or use Column Viewer as it gives additional information in easy to see format and allows quick creation of distributions.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1615040861333.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31042i4F9361F983B092E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1615040861333.png" alt="jthi_1-1615040861333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Mar 2021 14:28:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/365731#M61519</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-03-06T14:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script to create distribution for all columns in a data table</title>
      <link>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/365819#M61529</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt; &amp;amp;&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1701"&gt;@dale_lehman&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A little bit of background before I explain why I'm going the scripting route. So I made a script which execute unique monte-carlo simulation for each row in a data table. But instead of saving the exact table of random samples created, I saved the script which generates the samples as strings which can be parsed in the future if needed. Though I lose the ability to save the exact table, but at least I avoid having to manage large datasets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now with the step above completed, what's missing is generating the distribution and that's the reason why I'm asking for a way to script the distributions. It's mainly to straightaway review the monte-carlo samples distribution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having that said, I am aware of the functionalities you mentioned and I agree that those approach are more ideal. However, I'm also building JMP tools which can help more folks within my organization to adopt JMP (which is admittedly so, still not much). Hopefully, as other users become more experienced, they realize other available JMP in-build tools which can help them analyze the data better.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Mar 2021 08:32:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/365819#M61529</guid>
      <dc:creator>Djtjhin</dc:creator>
      <dc:date>2021-03-07T08:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script to create distribution for all columns in a data table</title>
      <link>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/366279#M61602</link>
      <description>&lt;P&gt;PLEASE, HOW TO GET THIS OUTPUT WITH OUT SCRIPTS.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 00:45:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/366279#M61602</guid>
      <dc:creator>Raaed</dc:creator>
      <dc:date>2021-03-09T00:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Script to create distribution for all columns in a data table</title>
      <link>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/366315#M61611</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Open the data table.&lt;/LI&gt;
&lt;LI&gt;Select Analyze &amp;gt; Distribution.&lt;/LI&gt;
&lt;LI&gt;Select all the columns in the list on the left side.&lt;/LI&gt;
&lt;LI&gt;Click Y.&lt;/LI&gt;
&lt;LI&gt;Click OK.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Please see Distribution chapter in the &lt;A href="https://www.jmp.com/support/help/en/15.2/#page/jmp/introduction-to-basic-analysis.shtml#" target="_self"&gt;Basic Analysis&lt;/A&gt; guide.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 10:19:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Simple-Script-to-create-distribution-for-all-columns-in-a-data/m-p/366315#M61611</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-03-09T10:19:56Z</dc:date>
    </item>
  </channel>
</rss>

