<?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: Inputting a data range and &amp;quot;increment by&amp;quot; into a user input box in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Inputting-a-data-range-and-quot-increment-by-quot-into-a-user/m-p/804895#M98275</link>
    <description>&lt;P&gt;And once again I learned a ton, thanks for the code&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;!&amp;nbsp; Works greats.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2024 19:49:21 GMT</pubDate>
    <dc:creator>shampton82</dc:creator>
    <dc:date>2024-10-10T19:49:21Z</dc:date>
    <item>
      <title>Inputting a data range and "increment by" into a user input box</title>
      <link>https://community.jmp.com/t5/Discussions/Inputting-a-data-range-and-quot-increment-by-quot-into-a-user/m-p/804746#M98253</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am looking at putting in a wish list item but wanted to get some added input from the user community.&amp;nbsp; I was thinking it would be great to add to the Prediction and Tolerance interval Platforms the ability to put in a range and an increment by value into the input box so you wouldn't have to enter each scenario you are interested in one by one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if I wanted to see what the tolerance interval looked like for 70, 80, and 90 Portion to cover I could input something like 70:90/10&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shampton82_0-1728568179949.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68997i5711509A26BE798B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shampton82_0-1728568179949.png" alt="shampton82_0-1728568179949.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I believe there is syntax in JSL already to do this so might just copy what that looks like as the input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the question is: is there already a way to do this outside JSL that I am just missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also don't think that this should be limited functionality to the Tolerance and Prediction analysis but that was the genesis of my wish list idea.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any input!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 13:56:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Inputting-a-data-range-and-quot-increment-by-quot-into-a-user/m-p/804746#M98253</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2024-10-10T13:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Inputting a data range and "increment by" into a user input box</title>
      <link>https://community.jmp.com/t5/Discussions/Inputting-a-data-range-and-quot-increment-by-quot-into-a-user/m-p/804758#M98254</link>
      <description>&lt;P&gt;Seems like this is simple to do in JSL (assuming this is what you want)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
obj = dt &amp;lt;&amp;lt; Distribution(Column(:Height));
obj &amp;lt;&amp;lt; Tolerance Interval(Alpha(0.95), Proportion(0.7)); 
obj &amp;lt;&amp;lt; Tolerance Interval(Alpha(0.95), Proportion(0.8));
obj &amp;lt;&amp;lt; Tolerance Interval(Alpha(0.95), Proportion(0.9));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1728569007789.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68999iD1BB617E58B6B49D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1728569007789.png" alt="jthi_0-1728569007789.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is something that could be most likely easily "injected" to distribution platform (or create your own window for it which isn't annoyingly modal window) which would then allow you to easily add different proportions. &lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 14:04:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Inputting-a-data-range-and-quot-increment-by-quot-into-a-user/m-p/804758#M98254</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-10-10T14:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Inputting a data range and "increment by" into a user input box</title>
      <link>https://community.jmp.com/t5/Discussions/Inputting-a-data-range-and-quot-increment-by-quot-into-a-user/m-p/804872#M98265</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the input!&amp;nbsp; I was mainly trying to make sure there wasn't already something along below already available&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shampton82_0-1728577878412.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69012iFD0136F8047E4F6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shampton82_0-1728577878412.png" alt="shampton82_0-1728577878412.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;before I put in a wish list item and also if anyone had any other ideas I could incorporate into the wish.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For JSL, if I wanted to make this a loop based upon the user entering the min value, max value, and iteration value do you have any cool ideas how to loop through this?&amp;nbsp; I could hash out some ugly code to get there but I always learn something cool when I see what you come up with!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 16:39:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Inputting-a-data-range-and-quot-increment-by-quot-into-a-user/m-p/804872#M98265</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2024-10-10T16:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Inputting a data range and "increment by" into a user input box</title>
      <link>https://community.jmp.com/t5/Discussions/Inputting-a-data-range-and-quot-increment-by-quot-into-a-user/m-p/804875#M98267</link>
      <description>&lt;P&gt;I think you just have to decide the pattern you would allow and then parse it accordingly&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");
obj = dt &amp;lt;&amp;lt; Distribution(Column(:Height));

pattern_check = "\d+:\d+/\d+";
loop_pattern = "70:90/10";

If(IsMissing(Regex(loop_pattern, pattern_check)),
	Throw("Incorrect pattern (" || loop_pattern || ")");
);

minval = Num(Word(1, loop_pattern, ":"));
maxval = Num(Word(2, loop_pattern, ":/"));
inc = Num(Word(-1, loop_pattern, "/"));

increments = Index(minval, maxval, inc);

For Each({increment}, increments,
	obj &amp;lt;&amp;lt; Tolerance Interval(Alpha(0.95), Proportion(increment/100));
	wait(0.5); // for demo purposes
);

show(minval, maxval, inc, increments);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Oct 2024 16:52:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Inputting-a-data-range-and-quot-increment-by-quot-into-a-user/m-p/804875#M98267</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-10-10T16:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Inputting a data range and "increment by" into a user input box</title>
      <link>https://community.jmp.com/t5/Discussions/Inputting-a-data-range-and-quot-increment-by-quot-into-a-user/m-p/804895#M98275</link>
      <description>&lt;P&gt;And once again I learned a ton, thanks for the code&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;!&amp;nbsp; Works greats.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 19:49:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Inputting-a-data-range-and-quot-increment-by-quot-into-a-user/m-p/804895#M98275</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2024-10-10T19:49:21Z</dc:date>
    </item>
  </channel>
</rss>

