<?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: Automate Outlier identification with Bonferroni Limits in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Automate-Outlier-identification-with-Bonferroni-Limits/m-p/567819#M77871</link>
    <description>&lt;P&gt;Please use this example that illustrates how to access the value used to plot the line for the Bonferroni limits.&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 );

// example
dt = Open( "$SAMPLE_DATA/Tiretread.jmp" );

// fit least squares with studentized residuals
obj = dt &amp;lt;&amp;lt; Fit Model(
	Y( :ABRASION ),
	Effects( :SILICA, :SILANE, :SULFUR ),
	Personality( "Standard Least Squares" ),
	Emphasis( "Minimal Report" ),
	Run(
		:ABRASION &amp;lt;&amp;lt; {Summary of Fit( 1 ), Analysis of Variance( 1 ),
		Parameter Estimates( 1 ), Scaled Estimates( 0 ),
		Plot Actual by Predicted( 0 ), Plot Regression( 0 ),
		Plot Residual by Predicted( 0 ), Plot Studentized Residuals( 1 ),
		Plot Effect Leverage( 1 ), Plot Residual by Normal Quantiles( 0 ),
		Box Cox Y Transformation( 0 )}
	)
);

// access report layer
rpt = obj &amp;lt;&amp;lt; Report;

// access plot frame
frame = rpt["Studentized Residuals"][FrameBox(1)];

// access line segments in plot frame
line = frame &amp;lt;&amp;lt; Find Segs;

// ask for value of line representing Bonferroni limits (only positive necessary)
bonferroni = (line[2] &amp;lt;&amp;lt; Get Y Values)[1];

// display limit in Log
Show( bonferroni );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 10 Nov 2022 15:14:05 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2022-11-10T15:14:05Z</dc:date>
    <item>
      <title>Automate Outlier identification with Bonferroni Limits</title>
      <link>https://community.jmp.com/t5/Discussions/Automate-Outlier-identification-with-Bonferroni-Limits/m-p/567691#M77853</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about the Bonferroni limits. My goal is to develop a data evaluation process in which outliers can be detected using the Bonferroni Limits. My data set consists of release tests, to which additional data are added at regular intervals. Of course, I could also use the Stud. Residual Plot of the Fit Model Platform, but I would like to automate the outlier detection via Bonferroni Limits and not have to do it manually using the plot. Is there a way to extract the values of the Bonferroni Limits of the Stud. Residual Plots? A little Script would here also work for me. I had already discussed this with &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/41931"&gt;@Jonas_Rinne&lt;/a&gt;&amp;nbsp;&amp;nbsp;and he recommended to me to adress this question here in the community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks it advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Johann&lt;/P&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>Fri, 09 Jun 2023 16:02:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Automate-Outlier-identification-with-Bonferroni-Limits/m-p/567691#M77853</guid>
      <dc:creator>JohannD</dc:creator>
      <dc:date>2023-06-09T16:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Outlier identification with Bonferroni Limits</title>
      <link>https://community.jmp.com/t5/Discussions/Automate-Outlier-identification-with-Bonferroni-Limits/m-p/567819#M77871</link>
      <description>&lt;P&gt;Please use this example that illustrates how to access the value used to plot the line for the Bonferroni limits.&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 );

// example
dt = Open( "$SAMPLE_DATA/Tiretread.jmp" );

// fit least squares with studentized residuals
obj = dt &amp;lt;&amp;lt; Fit Model(
	Y( :ABRASION ),
	Effects( :SILICA, :SILANE, :SULFUR ),
	Personality( "Standard Least Squares" ),
	Emphasis( "Minimal Report" ),
	Run(
		:ABRASION &amp;lt;&amp;lt; {Summary of Fit( 1 ), Analysis of Variance( 1 ),
		Parameter Estimates( 1 ), Scaled Estimates( 0 ),
		Plot Actual by Predicted( 0 ), Plot Regression( 0 ),
		Plot Residual by Predicted( 0 ), Plot Studentized Residuals( 1 ),
		Plot Effect Leverage( 1 ), Plot Residual by Normal Quantiles( 0 ),
		Box Cox Y Transformation( 0 )}
	)
);

// access report layer
rpt = obj &amp;lt;&amp;lt; Report;

// access plot frame
frame = rpt["Studentized Residuals"][FrameBox(1)];

// access line segments in plot frame
line = frame &amp;lt;&amp;lt; Find Segs;

// ask for value of line representing Bonferroni limits (only positive necessary)
bonferroni = (line[2] &amp;lt;&amp;lt; Get Y Values)[1];

// display limit in Log
Show( bonferroni );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Nov 2022 15:14:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Automate-Outlier-identification-with-Bonferroni-Limits/m-p/567819#M77871</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-11-10T15:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Outlier identification with Bonferroni Limits</title>
      <link>https://community.jmp.com/t5/Discussions/Automate-Outlier-identification-with-Bonferroni-Limits/m-p/567822#M77872</link>
      <description>&lt;P&gt;Thanks so much for the solution, for me the script works perfectly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Johann&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 15:21:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Automate-Outlier-identification-with-Bonferroni-Limits/m-p/567822#M77872</guid>
      <dc:creator>JohannD</dc:creator>
      <dc:date>2022-11-10T15:21:49Z</dc:date>
    </item>
  </channel>
</rss>

