<?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 get Pareto/Histogram plot for failing parameters when using Process Capability platform? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-get-Pareto-Histogram-plot-for-failing-parameters-when/m-p/690509#M87636</link>
    <description>&lt;P&gt;Using Process Capability might be easier as it provides Out of Spec Count and it can also color the cells&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1698256507532.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57959iC483A30F457E38E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1698256507532.png" alt="jthi_0-1698256507532.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit:&lt;/P&gt;
&lt;P&gt;Hide/Close platforms tables as needed&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");

ps = dt &amp;lt;&amp;lt; Process Screening(
	Process Variables(:NPN1, :PNP1, :PNP2),
	Control Chart Type("Indiv and MR"),
);
ps &amp;lt;&amp;lt; Color Out of Spec Values(1); // this will also select rows and columns
dt &amp;lt;&amp;lt; Clear Select &amp;lt;&amp;lt; Clear Column Selection;

dt_ps = Report(ps)["Process Screening", Table Box(1)] &amp;lt;&amp;lt; Make Combined Data Table;
// ps &amp;lt;&amp;lt; Close Window;

gb_outofspec = dt_ps &amp;lt;&amp;lt; Graph Builder(
	Size(528, 450),
	Show Control Panel(0),
	Variables(
		X(
			:Column,
			Order By(:Out of Spec Count, Descending, Order Statistic("Mean"))
		),
		Y(:Out of Spec Count)
	),
	Elements(Bar(X, Y, Legend(9), Label("Label by Value")))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 25 Oct 2023 18:00:37 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-10-25T18:00:37Z</dc:date>
    <item>
      <title>How to get Pareto/Histogram plot for failing parameters when using Process Capability platform?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-Pareto-Histogram-plot-for-failing-parameters-when/m-p/690491#M87634</link>
      <description>&lt;P&gt;I use the the example script below to select and color the out of spec values of each measured parameter in my test data set.&lt;/P&gt;&lt;P&gt;I want to create a pareto/histogram plot with measured parameter names (on x-axis) and number of fail occurrences (on y axis) per parameter and order the parameter names as decreasing with no of fails/parameter (i.e. to get a parameter fail pareto plot).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first thing comes to mind is to get the number of selected/colored cells per parameter generated by the script below and then proceed from there. How to do this via JSL?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Process Capability(
	Process Variables( :NPN1, :PNP1, :PNP2 ),
	Moving Range Method( Average of Moving Ranges ),
	Overall Sigma Normalized Box Plots( 1 ),
	Color Out of Spec Values( 1 ),
	Select Out of Spec Values( 1 ),
	Goal Plot( 1 ),
	Capability Index Plot( 1 ),
	Process Performance Plot( 0 )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 16:58:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-Pareto-Histogram-plot-for-failing-parameters-when/m-p/690491#M87634</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-10-25T16:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Pareto/Histogram plot for failing parameters when using Process Capability platform?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-Pareto-Histogram-plot-for-failing-parameters-when/m-p/690509#M87636</link>
      <description>&lt;P&gt;Using Process Capability might be easier as it provides Out of Spec Count and it can also color the cells&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1698256507532.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57959iC483A30F457E38E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1698256507532.png" alt="jthi_0-1698256507532.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit:&lt;/P&gt;
&lt;P&gt;Hide/Close platforms tables as needed&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");

ps = dt &amp;lt;&amp;lt; Process Screening(
	Process Variables(:NPN1, :PNP1, :PNP2),
	Control Chart Type("Indiv and MR"),
);
ps &amp;lt;&amp;lt; Color Out of Spec Values(1); // this will also select rows and columns
dt &amp;lt;&amp;lt; Clear Select &amp;lt;&amp;lt; Clear Column Selection;

dt_ps = Report(ps)["Process Screening", Table Box(1)] &amp;lt;&amp;lt; Make Combined Data Table;
// ps &amp;lt;&amp;lt; Close Window;

gb_outofspec = dt_ps &amp;lt;&amp;lt; Graph Builder(
	Size(528, 450),
	Show Control Panel(0),
	Variables(
		X(
			:Column,
			Order By(:Out of Spec Count, Descending, Order Statistic("Mean"))
		),
		Y(:Out of Spec Count)
	),
	Elements(Bar(X, Y, Legend(9), Label("Label by Value")))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Oct 2023 18:00:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-Pareto-Histogram-plot-for-failing-parameters-when/m-p/690509#M87636</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-25T18:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Pareto/Histogram plot for failing parameters when using Process Capability platform?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-Pareto-Histogram-plot-for-failing-parameters-when/m-p/690522#M87637</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/28235"&gt;@Neo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I think going with&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;'s suggestion to do a Process Screening might be a good way to go about getting a parameter fail pareto plot. From there, you can do a &amp;lt;&amp;lt;Make Into Data Table from the Process Screening Report, and as an example, you can do a Pareto Plot of the Out of Spec Count -- or whichever column is the one that is most interest to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The script below is pretty much just a direct save script to Scripting Window action at each step. A few extra things have been thrown in there, but this is essentially what you're interested in, at least as far as I understand your request.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);

dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");

ps = dt&amp;lt;&amp;lt;Process Screening(
	Process Variables( :NPN1, :PNP1, :PNP2, :NPN2, :PNP3 ),
	Control Chart Type( "Indiv and MR" )
);

rpt = New Window( "Semiconductor Capability - Process Screening",
	Data Table( "Semiconductor Capability" ) &amp;lt;&amp;lt;
	Process Screening(
		Process Variables( :NPN1, :PNP1, :PNP2, :NPN2, :PNP3 ),
		Control Chart Type( "Indiv and MR" )
	)
);

ps &amp;lt;&amp;lt; Close Window;

pdt = rpt["Process Screening", Table Box( 1 )] &amp;lt;&amp;lt; Make Into Data Table;

rpt &amp;lt;&amp;lt; Close Window;

pp = pdt&amp;lt;&amp;lt;Pareto Plot( Cause( :Column ), Freq( :Out of Spec Count ) );&lt;/CODE&gt;&lt;/PRE&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;</description>
      <pubDate>Wed, 25 Oct 2023 18:14:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-Pareto-Histogram-plot-for-failing-parameters-when/m-p/690522#M87637</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2023-10-25T18:14:40Z</dc:date>
    </item>
  </channel>
</rss>

