<?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 Scripting Guage R&amp;amp;R with tolerance Intervals in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Scripting-Guage-R-amp-R-with-tolerance-Intervals/m-p/350809#M60039</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a new user to JMP and JSL scripting. I am trying to script a guage R&amp;amp;R and would like to include the tolerance interval in the script.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I already have a column (Named "Tolerance Interval") with tolerance intervals for each of my parameters. (Note that I am splitting the analysis by Parameter and each Parameter has a different tolerance interval). The script I have tried is below. It will create the variability chart however I still need to input each individual tolerance interval&amp;nbsp; (which there are many), via the pop up specification screen. Any tips on how I can script this to avoid manual input would be greatly appreciated :)&lt;/img&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();

dt &amp;lt;&amp;lt; vc = Variability Chart(
    SendToByGroup( Bygroup Default ),
    Y( :VALUE ),
    X( :Operator, :CAVITY NO ),
    By( :PARAMETER ID ),
    Model( "Nested" ),
    Historical Sigma( 0 ),
    Name( "Guage R&amp;amp;R" )(6, :Tolerance Interval, 0, 0),
    Name( "Gauge R&amp;amp;R Report" )(1);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 22:03:39 GMT</pubDate>
    <dc:creator>RSDK_JMP</dc:creator>
    <dc:date>2023-06-09T22:03:39Z</dc:date>
    <item>
      <title>Scripting Guage R&amp;R with tolerance Intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-Guage-R-amp-R-with-tolerance-Intervals/m-p/350809#M60039</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a new user to JMP and JSL scripting. I am trying to script a guage R&amp;amp;R and would like to include the tolerance interval in the script.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I already have a column (Named "Tolerance Interval") with tolerance intervals for each of my parameters. (Note that I am splitting the analysis by Parameter and each Parameter has a different tolerance interval). The script I have tried is below. It will create the variability chart however I still need to input each individual tolerance interval&amp;nbsp; (which there are many), via the pop up specification screen. Any tips on how I can script this to avoid manual input would be greatly appreciated :)&lt;/img&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();

dt &amp;lt;&amp;lt; vc = Variability Chart(
    SendToByGroup( Bygroup Default ),
    Y( :VALUE ),
    X( :Operator, :CAVITY NO ),
    By( :PARAMETER ID ),
    Model( "Nested" ),
    Historical Sigma( 0 ),
    Name( "Guage R&amp;amp;R" )(6, :Tolerance Interval, 0, 0),
    Name( "Gauge R&amp;amp;R Report" )(1);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:03:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-Guage-R-amp-R-with-tolerance-Intervals/m-p/350809#M60039</guid>
      <dc:creator>RSDK_JMP</dc:creator>
      <dc:date>2023-06-09T22:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Guage R&amp;R with tolerance Intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-Guage-R-amp-R-with-tolerance-Intervals/m-p/350848#M60041</link>
      <description>&lt;P&gt;There seems to be multiple answers in community on how to do it on split data (each parameter on its own column).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure if it can be done when using By() option (I tried it and seemed to work only on first one, most likely due to Historical Sigma(0) option). You might have to split the datatable by PARAMETER ID first, create variable/table for tolerances and script those together for Gage R&amp;amp;R.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One example:&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Gauge R&amp;amp;amp;R Report into a data table" uid="279451" url="https://community.jmp.com/t5/Discussions/Gauge-R-amp-R-Report-into-a-data-table/m-p/279451#U279451" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My failed attempt as attachment.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 14:41:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-Guage-R-amp-R-with-tolerance-Intervals/m-p/350848#M60041</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-01-19T14:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Guage R&amp;R with tolerance Intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-Guage-R-amp-R-with-tolerance-Intervals/m-p/350851#M60042</link>
      <description>&lt;P&gt;It appears that you have stacked all of your parameters in order to take advantage of using a By() clause, and therefore to get all of them analyzed with efficient coding.&amp;nbsp; I think it would be a better approach to set up you parameters as separate columns with the Spec Limits set as column properties.&amp;nbsp; Below is a very simple example using the Semiconductor Capability sample data table.&amp;nbsp; The example only does the first 4 parameters, but it could easily have done all of the parameters.&amp;nbsp; Also, the Spec Limits are already set within the data table.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );

colNames = dt &amp;lt;&amp;lt; get column names( continuous );

nw = New Window( "Charts",
	lb = Lineup Box( N Col( 2 ),
		For( i = 1, i &amp;lt;= 4, i++,
			Variability Chart(
				Y( colNames[1] ),
				X( :lot_id ),
				Model( "Main Effect" ),
				Historical Sigma( 0 ),
				Name( "Gauge R&amp;amp;R" )(6),
				Name( "Gauge R&amp;amp;R Report" )(1)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Jan 2021 14:57:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-Guage-R-amp-R-with-tolerance-Intervals/m-p/350851#M60042</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-01-19T14:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Guage R&amp;R with tolerance Intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-Guage-R-amp-R-with-tolerance-Intervals/m-p/350853#M60044</link>
      <description>&lt;P&gt;Ok I think I got it working by using Hide and Exclude... Didn't verify the results because the example data isn't too good. Attached the "working" version. BUT I wouldn't calculate Gauge R&amp;amp;R like this. I would most likely &lt;STRONG&gt;always&lt;/STRONG&gt; prefer the method &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;@ suggested by using separated columns for parameters. This will also make the after analysis easier if needed.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 15:15:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-Guage-R-amp-R-with-tolerance-Intervals/m-p/350853#M60044</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-01-19T15:15:05Z</dc:date>
    </item>
  </channel>
</rss>

