<?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: Distribution Platform: Difficulty Using &amp;quot;Set Spec Limits for K Sigma&amp;quot; when all fits are used in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Distribution-Platform-Difficulty-Using-quot-Set-Spec-Limits-for/m-p/221720#M44247</link>
    <description>&lt;P&gt;Hi Tx. &amp;nbsp;Thanks for replying to this. &amp;nbsp;I see your solution finds the best distribution from the "Compare Distributions" table in the report, and then creates a new, separate fit using the Fit Distribution() command, to which a Set Spec Lims command can be sent. &amp;nbsp;Unfortunately this is what I'm trying to avoid since it involves computing the best fit distribution twice (once with the Fit Distribution(All) command, and again with the Fit Distribution(theDist) command). &amp;nbsp;That being said, unless there's a better option (sigh), this seems to be how it must be done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An alternate idea occured to me...&lt;/P&gt;&lt;P&gt;In the GUI, one can click on the red down arrow next to the distribution and select "Set Spec Limits...", as shown below. &amp;nbsp;Do you suppose there's a way to tell JSL to "click" on the RDA and select the 5th item in the resulting dropdown list? &amp;nbsp;That is, rather than figure out the commands to do this, just have JSL hijack the GUI. &amp;nbsp;Is anything like that possible?&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="image.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18820iAB9558F38200B035/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18821iA7035ED512152626/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2019 18:41:18 GMT</pubDate>
    <dc:creator>nikles</dc:creator>
    <dc:date>2019-08-14T18:41:18Z</dc:date>
    <item>
      <title>Distribution Platform: Difficulty Using "Set Spec Limits for K Sigma" when all fits are used</title>
      <link>https://community.jmp.com/t5/Discussions/Distribution-Platform-Difficulty-Using-quot-Set-Spec-Limits-for/m-p/221309#M44177</link>
      <description>&lt;P&gt;Hi. &amp;nbsp;In the Distribution platform, is there a way to refer back to a fitted distribution if the&amp;nbsp;Fit Distribution("All") option is used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Context:&amp;nbsp;I have a script that fits multiple distributions to my data using the Distribution platform. &amp;nbsp;When I include the Fit Distribution("All") option, the report includes a table "Compare Distributions" with the ranking of each distribution. &amp;nbsp;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

dist = Distribution(
	Continuous Distribution(
		Column(dt:Height),
		Quantiles(0),
		Vertical(0),
		Outlier Box Plot(0),
		Fit Distribution("All")
	)
);
dist &amp;lt;&amp;lt; (Fit Handle[1] &amp;lt;&amp;lt; Set Spec Limits for K Sigma(3));	//Does nothing&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem occurs when I want to use the "Set Spec Limits for K Sigma" command. &amp;nbsp;Naturally I must indicate which one of the specific fits this is meant for. &amp;nbsp;I've tried using Fit HandleI[1], intending to refer to the first fit in the "Compare Distributions" table, but this has no effect. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the example above, I can use Set Spec Limits for K Sigma command in the GUI (i.e. report window), so in theory I believe I should be able to do this programmatically as well. &amp;nbsp;So far the best option I can think of is to use the above code to identify the best distribution, the re-perform a separate fit using that specific distrubtion, which I would then be able to refer the Set Spec Limits for K Sigma command to. &amp;nbsp;This involves extra computation and code though, which I would prefer to avoid.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated. &amp;nbsp;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2019 21:22:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Distribution-Platform-Difficulty-Using-quot-Set-Spec-Limits-for/m-p/221309#M44177</guid>
      <dc:creator>nikles</dc:creator>
      <dc:date>2019-08-10T21:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Distribution Platform: Difficulty Using "Set Spec Limits for K Sigma" when all fits are used</title>
      <link>https://community.jmp.com/t5/Discussions/Distribution-Platform-Difficulty-Using-quot-Set-Spec-Limits-for/m-p/221320#M44179</link>
      <description>&lt;P&gt;I, also, was not able to get the Fit Handle to work, but I did find a work around.&amp;nbsp; Hopefully, you will not have to use my work around, because another Community Member will provide the Fit Handle code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

dist = Distribution(
	Continuous Distribution(
		Column( dt:Height ),
		Quantiles( 0 ),
		Vertical( 0 ),
		Outlier Box Plot( 0 ),
		Fit Distribution( "All" )
	)
);

theDist = Trim( Word( 3, Report( dist )["Compare Distributions"][String Col Box( 1 )] &amp;lt;&amp;lt; get text, "\!n" ) );
Eval(
	Substitute(
			Expr(
				dist &amp;lt;&amp;lt; Fit Distribution( __dist__( Set Spec Limits for K Sigma( 3 ) ) )
			),
		Expr( __dist__ ), Parse( theDist )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 11 Aug 2019 02:39:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Distribution-Platform-Difficulty-Using-quot-Set-Spec-Limits-for/m-p/221320#M44179</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-08-11T02:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Distribution Platform: Difficulty Using "Set Spec Limits for K Sigma" when all fits are used</title>
      <link>https://community.jmp.com/t5/Discussions/Distribution-Platform-Difficulty-Using-quot-Set-Spec-Limits-for/m-p/221720#M44247</link>
      <description>&lt;P&gt;Hi Tx. &amp;nbsp;Thanks for replying to this. &amp;nbsp;I see your solution finds the best distribution from the "Compare Distributions" table in the report, and then creates a new, separate fit using the Fit Distribution() command, to which a Set Spec Lims command can be sent. &amp;nbsp;Unfortunately this is what I'm trying to avoid since it involves computing the best fit distribution twice (once with the Fit Distribution(All) command, and again with the Fit Distribution(theDist) command). &amp;nbsp;That being said, unless there's a better option (sigh), this seems to be how it must be done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An alternate idea occured to me...&lt;/P&gt;&lt;P&gt;In the GUI, one can click on the red down arrow next to the distribution and select "Set Spec Limits...", as shown below. &amp;nbsp;Do you suppose there's a way to tell JSL to "click" on the RDA and select the 5th item in the resulting dropdown list? &amp;nbsp;That is, rather than figure out the commands to do this, just have JSL hijack the GUI. &amp;nbsp;Is anything like that possible?&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="image.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18820iAB9558F38200B035/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18821iA7035ED512152626/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 18:41:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Distribution-Platform-Difficulty-Using-quot-Set-Spec-Limits-for/m-p/221720#M44247</guid>
      <dc:creator>nikles</dc:creator>
      <dc:date>2019-08-14T18:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Distribution Platform: Difficulty Using "Set Spec Limits for K Sigma" when all fits are used</title>
      <link>https://community.jmp.com/t5/Discussions/Distribution-Platform-Difficulty-Using-quot-Set-Spec-Limits-for/m-p/306832#M56193</link>
      <description>&lt;P&gt;You should use&amp;nbsp;Fit Handle["Best"] .&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

dist = Distribution(
	Continuous Distribution(
		Column( dt:Height ),
		Quantiles( 0 ),
		Vertical( 0 ),
		Outlier Box Plot( 0 ),
		Fit All
	)
);


dist &amp;lt;&amp;lt; (Fit Handle["Best"]  &amp;lt;&amp;lt; Process Capability(Set Sigma Multiplier for Quantile Spec Limits(3)));	
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Sep 2020 14:31:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Distribution-Platform-Difficulty-Using-quot-Set-Spec-Limits-for/m-p/306832#M56193</guid>
      <dc:creator>tonya_mauldin</dc:creator>
      <dc:date>2020-09-14T14:31:55Z</dc:date>
    </item>
  </channel>
</rss>

