<?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: Outliers more than 3 standard deviations in JMP in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/68036#M34742</link>
    <description>&lt;P&gt;&lt;SPAN&gt;My second formula, which should show the values &amp;gt; 3 SDs contains an error.&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;Therefore it doesn’t work. You have to replace "*" against *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So the correct formula, in order to get the values, is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If( :Data &amp;gt; Col Mean( :Data ) + Col Std Dev( :Data ) * 3,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; :Data,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Aug 2018 05:05:32 GMT</pubDate>
    <dc:creator>Thomas1</dc:creator>
    <dc:date>2018-08-15T05:05:32Z</dc:date>
    <item>
      <title>Outliers more than 3 standard deviations in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/67856#M34708</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to detect outliers more than 3 stansard deviations in JMP?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should say that I am familiar with the "explore outliers option as well as "Levey Jennings" Control chart. but, is there other way to detect outliers more than 3SDs?&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ne&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 07:43:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/67856#M34708</guid>
      <dc:creator>NeF</dc:creator>
      <dc:date>2018-08-14T07:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Outliers more than 3 standard deviations in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/67925#M34722</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/12235"&gt;@NeF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to detect outliers more than 3 stansard deviations in JMP?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should say that I am familiar with the "explore outliers option as well as "Levey Jennings" Control chart. but, is there other way to detect outliers more than 3SDs?&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ne&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can be solved by creating a new formula column with the formula:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If( :Data &amp;gt; Col Mean( :Data ) + Col Std Dev( :Data ) * 3,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;0&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data column is your source column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case you want the vaules &amp;gt; 3SDs, the formula is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If( :Data &amp;gt; Col Mean( :Data ) + Col Std Dev( :Data ) * 3,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; :Data,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;"."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 19:22:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/67925#M34722</guid>
      <dc:creator>Thomas1</dc:creator>
      <dc:date>2018-08-14T19:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Outliers more than 3 standard deviations in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/67941#M34728</link>
      <description>&lt;P&gt;Dear Thomas1,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your kind reply!&lt;/P&gt;&lt;P&gt;Ne&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 19:38:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/67941#M34728</guid>
      <dc:creator>NeF</dc:creator>
      <dc:date>2018-08-14T19:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Outliers more than 3 standard deviations in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/67976#M34737</link>
      <description>&lt;P&gt;Just a simple addendum to &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11052"&gt;@Thomas1&lt;/a&gt;&amp;nbsp;response. If you have severe outlier, the Col Std Dev can be pretty large and can bias the mean.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An alternative is to use the median + k* pseudo sigma for the upper screening limit and median - k* pseudo sigma fro the lower screening limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a the column fomula for a column named weight. For raw data, sometimes quantiles 0.85 and 0.15 are used to compute the pseudo sigma with 6 as the multiplier for ps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Local( {ps},
	ps = (Col Quantile( :weight, 0.75 ) - Col Quantile( :weight, 0.25 )) / 1.349;
	If(
		:weight &amp;gt; Col Quantile( :weight, 0.5 ) + 5 * ps, 1,
		:weight &amp;lt; Col Quantile( :weight, 0.5 ) - 5 * ps, -1,
		0
	);
)&lt;/PRE&gt;&lt;P&gt;If you are scripting, the Distribution platform computes a Robust Mean and Robust Std Dev.&amp;nbsp; Here is a simple script to get these values.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open( "$sample_data/Big class.jmp");

dist = dt &amp;lt;&amp;lt; Distribution(
	Continuous Distribution(
		Column( :height ),
		Quantiles( 0 ),
		Horizontal Layout( 1 ),
		Histogram( 0 ),
		Vertical( 0 ),
		Outlier Box Plot( 0 ),
		Customize Summary Statistics(
			Trimmed Mean( 1 ),
			Robust Mean( 1 ),
			Robust Std Dev( 1 ),
			Set Alpha Level( 0.05 )
		)
	)
);

snames = report(dist)["Summary Statistics"][TableBox(1)][StringColBox(1)] &amp;lt;&amp;lt; get;
svalues= report(dist)["Summary Statistics"][TableBox(1)][NumberColBox(1)] &amp;lt;&amp;lt; get;
stats = Associative Array(snames, svalues);  //cretea a keyed list

r_xb = stats["Robust Mean"];
r_sd = stats["Robust Standard Deviation"];

show(r_xb, r_sd);

//now use r_xb + &amp;lt;4|5|6&amp;gt; * r_sd  and  r_xb - &amp;lt;4|5|6&amp;gt; * r_sd for screening limits&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 22:32:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/67976#M34737</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-08-14T22:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Outliers more than 3 standard deviations in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/68036#M34742</link>
      <description>&lt;P&gt;&lt;SPAN&gt;My second formula, which should show the values &amp;gt; 3 SDs contains an error.&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;Therefore it doesn’t work. You have to replace "*" against *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So the correct formula, in order to get the values, is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If( :Data &amp;gt; Col Mean( :Data ) + Col Std Dev( :Data ) * 3,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; :Data,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 05:05:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/68036#M34742</guid>
      <dc:creator>Thomas1</dc:creator>
      <dc:date>2018-08-15T05:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Outliers more than 3 standard deviations in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/68047#M34749</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot. I've noticed that while using it yesterday.&lt;/P&gt;&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ne&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 09:49:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/68047#M34749</guid>
      <dc:creator>NeF</dc:creator>
      <dc:date>2018-08-15T09:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Outliers more than 3 standard deviations in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/68048#M34750</link>
      <description>Hi gzmorgan0,&lt;BR /&gt;Its really helpful!&lt;BR /&gt;thanks,&lt;BR /&gt;Nehai&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Aug 2018 09:50:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Outliers-more-than-3-standard-deviations-in-JMP/m-p/68048#M34750</guid>
      <dc:creator>NeF</dc:creator>
      <dc:date>2018-08-15T09:50:51Z</dc:date>
    </item>
  </channel>
</rss>

