<?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 Process Screening By Groups in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Process-Screening-By-Groups/m-p/867553#M103032</link>
    <description>&lt;P&gt;I want to automate a Process Screening, whereby all grouped variables are included as Process Variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Typical script I get for the Process Screening looks like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Process Screening(
	Process Variables(
		Column Group( "ENG" ),
		Column Group( "REJ" )
	),
	Grouping( :WAFER, :LOT ),
	Control Chart Type( "Indiv and MR" )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I am able to create a list of available groups but can't figure out how to add those to the Process Screening.&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 = Current Data Table();

Grps = dt &amp;lt;&amp;lt; Get Column Groups Names;

ps = dt &amp;lt;&amp;lt; Process Screening(
	Process Variables(Column Group( Expr(Grps) )),
	Grouping(:LOT, :WAFER),
	Control Chart Type("Indiv and MR"),
	Within Sigma(0),
	Overall Sigma(0),
	Stability Index(0),
	Mean(0),
	Show Tests(0),
	Test 1(0),
	Out of Spec Rate(0),
	Latest Out of Spec(0),
	Cpk(0),
	Ppk(0)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The script above chokes because it needs to iterate through each item in the list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Apr 2025 16:35:29 GMT</pubDate>
    <dc:creator>SpannerHead</dc:creator>
    <dc:date>2025-04-10T16:35:29Z</dc:date>
    <item>
      <title>Process Screening By Groups</title>
      <link>https://community.jmp.com/t5/Discussions/Process-Screening-By-Groups/m-p/867553#M103032</link>
      <description>&lt;P&gt;I want to automate a Process Screening, whereby all grouped variables are included as Process Variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Typical script I get for the Process Screening looks like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Process Screening(
	Process Variables(
		Column Group( "ENG" ),
		Column Group( "REJ" )
	),
	Grouping( :WAFER, :LOT ),
	Control Chart Type( "Indiv and MR" )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I am able to create a list of available groups but can't figure out how to add those to the Process Screening.&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 = Current Data Table();

Grps = dt &amp;lt;&amp;lt; Get Column Groups Names;

ps = dt &amp;lt;&amp;lt; Process Screening(
	Process Variables(Column Group( Expr(Grps) )),
	Grouping(:LOT, :WAFER),
	Control Chart Type("Indiv and MR"),
	Within Sigma(0),
	Overall Sigma(0),
	Stability Index(0),
	Mean(0),
	Show Tests(0),
	Test 1(0),
	Out of Spec Rate(0),
	Latest Out of Spec(0),
	Cpk(0),
	Ppk(0)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The script above chokes because it needs to iterate through each item in the list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 16:35:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Process-Screening-By-Groups/m-p/867553#M103032</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2025-04-10T16:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Process Screening By Groups</title>
      <link>https://community.jmp.com/t5/Discussions/Process-Screening-By-Groups/m-p/867565#M103035</link>
      <description>&lt;P&gt;I tried a couple of methods, but had to revert back to an Eval(Parse()) method.....ugly but it works&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();

Grps = dt &amp;lt;&amp;lt; Get Column Groups Names;
Eval(
	Parse(
		"ps = dt &amp;lt;&amp;lt; Process Screening(
	Process Variables(Column Group( \!"" || Grps[1] ||
		"\!" )),
	Grouping(:LOT, :WAFER),
	Control Chart Type(\!"Indiv and MR\!"),
	Within Sigma(0),
	Overall Sigma(0),
	Stability Index(0),
	Mean(0),
	Show Tests(0),
	Test 1(0),
	Out of Spec Rate(0),
	Latest Out of Spec(0),
	Cpk(0),
	Ppk(0)
)"
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Apr 2025 17:33:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Process-Screening-By-Groups/m-p/867565#M103035</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-04-10T17:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Process Screening By Groups</title>
      <link>https://community.jmp.com/t5/Discussions/Process-Screening-By-Groups/m-p/867567#M103036</link>
      <description>&lt;P&gt;I've seen uglier, I own a mirror.&amp;nbsp; Works well.&amp;nbsp; My underlying goal was to select only columns with specs applied which in my case means grouped columns.&amp;nbsp; I subsequently went at the problem in a different direction that also works.&amp;nbsp; I like your approach better.&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 = Current Data Table();
colList = dt &amp;lt;&amp;lt; get column names( numeric, string );
SpecCols = {};
For Each( {colnames, index}, colList,
	spec = Column( dt, colnames ) &amp;lt;&amp;lt; get property( "Spec Limits" );
	If( !Is Empty( spec ),
		Insert Into( SpecCols, colnames )
	);
);
ps = dt &amp;lt;&amp;lt; Process Screening(
	Process Variables( Eval( SpecCols ) ),
	Grouping( :WAFER, :LOT ),
	Control Chart Type( "Indiv and MR" ),
	Within Sigma( 0 ),
	Overall Sigma( 0 ),
	Stability Index( 0 ),
	Mean( 0 ),
	Show Tests( 0 ),
	Test 1( 0 ),
	Out of Spec Rate( 0 ),
	Latest Out of Spec( 0 ),
	Cpk( 0 ),
	Ppk( 0 )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Apr 2025 18:58:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Process-Screening-By-Groups/m-p/867567#M103036</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2025-04-10T18:58:05Z</dc:date>
    </item>
  </channel>
</rss>

