<?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 How to hide and exclude cells instead of change to missing in jsl after explore outliers? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-hide-and-exclude-cells-instead-of-change-to-missing-in/m-p/602699#M80601</link>
    <description>&lt;P&gt;I am scripting Explore Outliers in jsl and it works great with k sigma algorithm. However the script I got from this jmp community changes the outliers to missing but how do I set them to hide and exclude instead?&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); //&amp;lt;&amp;lt;---------- this line here
	);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 08 Jun 2023 16:34:53 GMT</pubDate>
    <dc:creator>FrequencyBison9</dc:creator>
    <dc:date>2023-06-08T16:34:53Z</dc:date>
    <item>
      <title>How to hide and exclude cells instead of change to missing in jsl after explore outliers?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-hide-and-exclude-cells-instead-of-change-to-missing-in/m-p/602699#M80601</link>
      <description>&lt;P&gt;I am scripting Explore Outliers in jsl and it works great with k sigma algorithm. However the script I got from this jmp community changes the outliers to missing but how do I set them to hide and exclude instead?&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); //&amp;lt;&amp;lt;---------- this line here
	);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:34:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-hide-and-exclude-cells-instead-of-change-to-missing-in/m-p/602699#M80601</guid>
      <dc:creator>FrequencyBison9</dc:creator>
      <dc:date>2023-06-08T16:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide and exclude cells instead of change to missing in jsl after explore outliers?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-hide-and-exclude-cells-instead-of-change-to-missing-in/m-p/602708#M80602</link>
      <description>&lt;P&gt;Just using &amp;lt;&amp;lt; Exclude Rows might work&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Water Treatment.jmp");
dt &amp;lt;&amp;lt; Clear Row States;

obj = dt &amp;lt;&amp;lt; Explore Outliers(Y(Column Group("Sensor Measurements")));
obj &amp;lt;&amp;lt; Robust Fit Outliers;
wait(1);
obj &amp;lt;&amp;lt; Exclude Rows;
dt &amp;lt;&amp;lt; Clear Column Selection &amp;lt;&amp;lt; clear select;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Feb 2023 17:52:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-hide-and-exclude-cells-instead-of-change-to-missing-in/m-p/602708#M80602</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-02-17T17:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide and exclude cells instead of change to missing in jsl after explore outliers?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-hide-and-exclude-cells-instead-of-change-to-missing-in/m-p/602709#M80603</link>
      <description>&lt;P&gt;There is not a way to exclude individual cells in a data table.&amp;nbsp; You can exclude individual rows, but that excludes all values for the given row.&lt;/P&gt;
&lt;P&gt;Changing a cell's value to missing the typical way of handling the outlier issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My typical method is to save the original data table, and then make a copy of it and then make the changes in that data table.&amp;nbsp; If you ever need to go back to the original values, it is readily&amp;nbsp;available in the saved data table.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 17:55:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-hide-and-exclude-cells-instead-of-change-to-missing-in/m-p/602709#M80603</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-02-17T17:55:40Z</dc:date>
    </item>
  </channel>
</rss>

