<?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 ignore in case of no outliers in missing outliers jsl? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-ignore-in-case-of-no-outliers-in-missing-outliers-jsl/m-p/620434#M81964</link>
    <description>&lt;P&gt;I believe that you can bypass the processing by simply checking if zero outliers have been found&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For( c = 1, c &amp;lt;= nCols, c++,
	If( (eoRep[Number Col Box( 3 )] &amp;lt;&amp;lt; get)[c] != 0, 
	// Select this column (described by a row)
		CMD = Expr(
			table &amp;lt;&amp;lt; setSelectedRows( {colTBD} )
		);
		Substitute Into( CMD, Expr( colTBD ), Eval( c ) );
		CMD;
	// Update dt2 for this column: Cells that were considered outliers are coloured red
		eo &amp;lt;&amp;lt; ColorCells( 1 );
		eo &amp;lt;&amp;lt; ChangeToMissing( 1 );
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 05 Apr 2023 22:25:01 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2023-04-05T22:25:01Z</dc:date>
    <item>
      <title>How to ignore in case of no outliers in missing outliers jsl?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-ignore-in-case-of-no-outliers-in-missing-outliers-jsl/m-p/620338#M81958</link>
      <description>&lt;P&gt;I have a explore outlier jsl that runs on a big database. Sometimes the explore outlier doesn't find any outlier (because the data is quite tightly distributed) and the jsl gives an error. How do I add a ignore or try statement in the following script to skip the explore outlier code?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt1 = Current Data Table();
eo = dt1 &amp;lt;&amp;lt; Explore Outliers(
	Y( :var1 ),
	K Sigma( 2 ),
	Robust Fit Outliers,
	Where(
		:x == 1
	),
	Invisible
);
eoRep = Report(eo);
table = eoRep[TableBox(1)];
colList = eoRep[StringColBox(1)];
// Loop over these columns . . .
nCols = NItems(colList &amp;lt;&amp;lt; get);
for(c=1, c&amp;lt;=nCols, c++,
	// Select this column (described by a row)
	CMD = Expr( table &amp;lt;&amp;lt; setSelectedRows({colTBD}) );
	SubstituteInto(CMD, Expr(colTBD), Eval(c));
	CMD;
	// Update dt2 for this column: Cells that were considered outliers are coloured red
	eo &amp;lt;&amp;lt; ColorCells(1);
	eo &amp;lt;&amp;lt; ChangeToMissing(1);
	);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 11 Jun 2023 00:00:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-ignore-in-case-of-no-outliers-in-missing-outliers-jsl/m-p/620338#M81958</guid>
      <dc:creator>FrequencyBison9</dc:creator>
      <dc:date>2023-06-11T00:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore in case of no outliers in missing outliers jsl?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-ignore-in-case-of-no-outliers-in-missing-outliers-jsl/m-p/620434#M81964</link>
      <description>&lt;P&gt;I believe that you can bypass the processing by simply checking if zero outliers have been found&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For( c = 1, c &amp;lt;= nCols, c++,
	If( (eoRep[Number Col Box( 3 )] &amp;lt;&amp;lt; get)[c] != 0, 
	// Select this column (described by a row)
		CMD = Expr(
			table &amp;lt;&amp;lt; setSelectedRows( {colTBD} )
		);
		Substitute Into( CMD, Expr( colTBD ), Eval( c ) );
		CMD;
	// Update dt2 for this column: Cells that were considered outliers are coloured red
		eo &amp;lt;&amp;lt; ColorCells( 1 );
		eo &amp;lt;&amp;lt; ChangeToMissing( 1 );
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Apr 2023 22:25:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-ignore-in-case-of-no-outliers-in-missing-outliers-jsl/m-p/620434#M81964</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-04-05T22:25:01Z</dc:date>
    </item>
  </channel>
</rss>

