<?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: Binning by Spec limits in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Binning-by-Spec-limits/m-p/631336#M82958</link>
    <description>&lt;P&gt;I was able to create a grouping based upon the binning of the Spec Limits&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1683873760096.png" style="width: 709px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52753i8352FDF5DE72B631/image-dimensions/709x498?v=v2" width="709" height="498" role="button" title="txnelson_0-1683873760096.png" alt="txnelson_0-1683873760096.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Using the Levels option, and specifying Create Transform Column&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1683873931671.png" style="width: 744px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52754i8E2C98E7CF8CFACE/image-dimensions/744x523?v=v2" width="744" height="523" role="button" title="txnelson_1-1683873931671.png" alt="txnelson_1-1683873931671.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I simply created the following formula to create the binning&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1683874023026.png" style="width: 639px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52755iA0FA170E88D78AFA/image-dimensions/639x266?v=v2" width="639" height="266" role="button" title="txnelson_2-1683874023026.png" alt="txnelson_2-1683874023026.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and it worked as desired.&lt;/P&gt;
&lt;P&gt;In my example, I used the Semiconductor Capability sample data table, and the PNP3 column.&amp;nbsp; It has outliers, however, it has no outliers that are less than the LSL value, so I manually changed one row to have a low value, just to test the formula.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;specs = :PNP3 &amp;lt;&amp;lt; get property( "spec limits" );
If(
	:PNP3 &amp;lt; specs["LSL"], -1,
	specs["LSL"] &amp;lt;= :PNP3 &amp;lt;= specs["USL"], 0,
	1
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2023 06:50:29 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2023-05-12T06:50:29Z</dc:date>
    <item>
      <title>Binning by Spec limits</title>
      <link>https://community.jmp.com/t5/Discussions/Binning-by-Spec-limits/m-p/631151#M82942</link>
      <description>&lt;P&gt;If I have a column with spec limits defined as column properties, is there a "one-click" solution *) to bin the data into 3 groups:&lt;/P&gt;&lt;P&gt;x &amp;lt; LSL&lt;/P&gt;&lt;P&gt;LSL &amp;lt;= x &amp;lt;= USL&lt;/P&gt;&lt;P&gt;x &amp;gt; USL&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 18:21:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Binning-by-Spec-limits/m-p/631151#M82942</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-05-11T18:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Binning by Spec limits</title>
      <link>https://community.jmp.com/t5/Discussions/Binning-by-Spec-limits/m-p/631167#M82943</link>
      <description>&lt;P&gt;Here is an example of one way to handle this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = // Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/semiconductor capability.jmp" );

dt &amp;lt;&amp;lt; New Column( "bin",
	formula(
		As Constant( specs = :PNP3 &amp;lt;&amp;lt; get property( "spec limits" ) );
		If( specs["LSL"] &amp;lt;= :PNP3 &amp;lt;= specs["USL"],
			1,
			0
		);
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 May 2023 18:50:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Binning-by-Spec-limits/m-p/631167#M82943</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-05-11T18:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Binning by Spec limits</title>
      <link>https://community.jmp.com/t5/Discussions/Binning-by-Spec-limits/m-p/631316#M82957</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;for the JSL example :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;The disadvantage: a new column is added.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do this for all column, it gets quite crowded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope a similar functionality is directly implemented in Jmp - but couldn't find it.&lt;/P&gt;&lt;P&gt;neither here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1683865383653.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52751i7410BF803506A38F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1683865383653.png" alt="hogi_0-1683865383653.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;nor here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1683865461977.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52752iC56F05D8D951A9B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1683865461977.png" alt="hogi_1-1683865461977.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it hidden behind a Shift/Alt/Ctrl Click?&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 04:29:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Binning-by-Spec-limits/m-p/631316#M82957</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-05-12T04:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Binning by Spec limits</title>
      <link>https://community.jmp.com/t5/Discussions/Binning-by-Spec-limits/m-p/631336#M82958</link>
      <description>&lt;P&gt;I was able to create a grouping based upon the binning of the Spec Limits&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1683873760096.png" style="width: 709px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52753i8352FDF5DE72B631/image-dimensions/709x498?v=v2" width="709" height="498" role="button" title="txnelson_0-1683873760096.png" alt="txnelson_0-1683873760096.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Using the Levels option, and specifying Create Transform Column&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1683873931671.png" style="width: 744px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52754i8E2C98E7CF8CFACE/image-dimensions/744x523?v=v2" width="744" height="523" role="button" title="txnelson_1-1683873931671.png" alt="txnelson_1-1683873931671.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I simply created the following formula to create the binning&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1683874023026.png" style="width: 639px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52755iA0FA170E88D78AFA/image-dimensions/639x266?v=v2" width="639" height="266" role="button" title="txnelson_2-1683874023026.png" alt="txnelson_2-1683874023026.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and it worked as desired.&lt;/P&gt;
&lt;P&gt;In my example, I used the Semiconductor Capability sample data table, and the PNP3 column.&amp;nbsp; It has outliers, however, it has no outliers that are less than the LSL value, so I manually changed one row to have a low value, just to test the formula.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;specs = :PNP3 &amp;lt;&amp;lt; get property( "spec limits" );
If(
	:PNP3 &amp;lt; specs["LSL"], -1,
	specs["LSL"] &amp;lt;= :PNP3 &amp;lt;= specs["USL"], 0,
	1
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 06:50:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Binning-by-Spec-limits/m-p/631336#M82958</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-05-12T06:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Binning by Spec limits</title>
      <link>https://community.jmp.com/t5/Discussions/Binning-by-Spec-limits/m-p/631344#M82959</link>
      <description>&lt;P&gt;So, there is no single click solution?&lt;BR /&gt;I also checked the Custom Binning menu.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Several options are listed, but none to use the spec limits:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1683875335808.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52756i763A08A4BF014AE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1683875335808.png" alt="hogi_0-1683875335808.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 07:09:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Binning-by-Spec-limits/m-p/631344#M82959</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-05-12T07:09:33Z</dc:date>
    </item>
  </channel>
</rss>

