<?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: How to make script for Process Capability analysis with certain distribusion dynamically? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/353101#M60245</link>
    <description>&lt;P&gt;Thank you very much for usuful information. This is what I wanted to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Quality Control/Engine Temperature Sensor.jmp" );
lsl = 80;
target = 100;
usl = 120;
obj = dt &amp;lt;&amp;lt; Process Capability(
	Process Variables( :Y &amp;amp; Dist( Best Fit ) ),
	Spec Limits( :Y( LSL( lsl ), Target( target ), USL( usl ) ) ),
	Individual Detail Reports( 1 ),
	Capability Box Plots( 1 ),
	Goal Plot( 0 ),
	Capability Index Plot( 0 ),
	Process Performance Plot( 0 ),
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture-20210127-03.PNG" style="width: 596px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29757i3555EC7E44147B15/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture-20210127-03.PNG" alt="Capture-20210127-03.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2021 22:48:19 GMT</pubDate>
    <dc:creator>bitwalk</dc:creator>
    <dc:date>2021-01-26T22:48:19Z</dc:date>
    <item>
      <title>How to make script for Process Capability analysis with certain distribusion dynamically?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/352817#M60222</link>
      <description>&lt;P&gt;Atatched code and result are what I want to do with JSL on JMP 15, however this is hard-coded unfortunately. This does not work for other data with different distribution.&lt;BR /&gt;I want to know the way how to make the Process Capability analysis dynamically with best distribution in the followings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Y » Continuous Fit » Fit All&lt;/LI&gt;&lt;LI&gt;Choose Top distribution (In this case, 'Top' is 'Weibull')&lt;/LI&gt;&lt;LI&gt;Fitted 'Top' Distribution » Process Capability with spec limit (I am interested in Ppk value)&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Quality Control/Engine Temperature Sensor.jmp" );
lsl = 80;
target = 100;
usl = 120;
obj = dt &amp;lt;&amp;lt; Distribution(
	Continuous Distribution(
		Column( :Y ),
		Quantiles( 0 ),
		Summary Statistics( 0 ),
		Histogram( 0 ),
		Vertical( 0 ),
		Outlier Box Plot( 0 ),
		Fit Normal( Show Fit( 0 ) ),
		Fit Cauchy( Show Fit( 0 ) ),
		Fit Lognormal( Show Fit( 0 ) ),
		Fit Exponential( Show Fit( 0 ) ),
		Fit Gamma( Show Fit( 0 ) ),
		Fit Johnson( Show Fit( 0 ) ),
		Fit SHASH( Show Fit( 0 ) ),
		Fit Normal 2 Mixture( Show Fit( 0 ) ),
		Fit Normal 3 Mixture( Show Fit( 0 ) ),
		Fit Weibull( Process Capability( LSL( lsl ), Target( target ), USL( usl ) ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture-20210126-03.PNG" style="width: 593px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29716i0EC8B5711F3C2ED5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture-20210126-03.PNG" alt="Capture-20210126-03.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:04:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/352817#M60222</guid>
      <dc:creator>bitwalk</dc:creator>
      <dc:date>2023-06-09T22:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to make script for Process Capability analysis with certain distribusion dynamically?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/352863#M60228</link>
      <description>&lt;P&gt;It's easiest to think of it as a two-step procedure.&amp;nbsp; In the first step you fit the distributions (and don't do process capability).&amp;nbsp; From the fit statistics (and heuristic logic) you select the best distribution (personally I would stick with Normal, Lognormal and Weibull rather than consider all feasible distributions).&amp;nbsp; Once the distribution type is determined you can run the capability analysis for that specific distribution.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 13:01:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/352863#M60228</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2021-01-26T13:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to make script for Process Capability analysis with certain distribusion dynamically?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/352866#M60231</link>
      <description>&lt;P&gt;Depending on your JSL experience you might find it easier to script the Process Capability platform (under Quality and Process) rather than the Distribution platform.&amp;nbsp; It has a 'best fit' option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = open("$SAMPLE_DATA/Semiconductor Capability.jmp");
dt &amp;lt;&amp;lt; Process Capability( 
	Process Variables( :INM1 &amp;amp;Dist(Best Fit) ),
	Individual Detail Reports(1),
	Capability Index Plot( 0 ),
	Goal Plot( 0 ),
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Jan 2021 13:34:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/352866#M60231</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2021-01-26T13:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to make script for Process Capability analysis with certain distribusion dynamically?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/353101#M60245</link>
      <description>&lt;P&gt;Thank you very much for usuful information. This is what I wanted to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Quality Control/Engine Temperature Sensor.jmp" );
lsl = 80;
target = 100;
usl = 120;
obj = dt &amp;lt;&amp;lt; Process Capability(
	Process Variables( :Y &amp;amp; Dist( Best Fit ) ),
	Spec Limits( :Y( LSL( lsl ), Target( target ), USL( usl ) ) ),
	Individual Detail Reports( 1 ),
	Capability Box Plots( 1 ),
	Goal Plot( 0 ),
	Capability Index Plot( 0 ),
	Process Performance Plot( 0 ),
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture-20210127-03.PNG" style="width: 596px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29757i3555EC7E44147B15/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture-20210127-03.PNG" alt="Capture-20210127-03.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 22:48:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/353101#M60245</guid>
      <dc:creator>bitwalk</dc:creator>
      <dc:date>2021-01-26T22:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to make script for Process Capability analysis with certain distribusion dynamically?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/353292#M60273</link>
      <description>&lt;P&gt;If you prefer to stay with the distribution platform, you can use the following code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Quality Control/Engine Temperature Sensor.jmp" );
lsl = 80;
target = 100;
usl = 120;
obj = dt &amp;lt;&amp;lt; Distribution(
	Continuous Distribution(
		Column( :Y ),
		Quantiles( 0 ),
		Summary Statistics( 0 ),
		Histogram( 0 ),
		Vertical( 0 ),
		Outlier Box Plot( 0 ),
		Fit All(1)
	)
);
obj&amp;lt;&amp;lt;(Fit Handle["Best"]&amp;lt;&amp;lt;Process Capability( LSL( lsl ), Target( target ), USL( usl )));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Jan 2021 15:30:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/353292#M60273</guid>
      <dc:creator>tonya_mauldin</dc:creator>
      <dc:date>2021-01-27T15:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to make script for Process Capability analysis with certain distribusion dynamically?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/353456#M60300</link>
      <description>&lt;P&gt;Thank you very much. This is also useful. I am happy I can choose several options.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 23:11:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-script-for-Process-Capability-analysis-with-certain/m-p/353456#M60300</guid>
      <dc:creator>bitwalk</dc:creator>
      <dc:date>2021-01-27T23:11:52Z</dc:date>
    </item>
  </channel>
</rss>

