<?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 Extracting control limits from column info in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Extracting-control-limits-from-column-info/m-p/640423#M83778</link>
    <description>&lt;P&gt;I am trying to extract control limits from column info, I have used the below code to extract spec limits, but if I do the same for control limits, it does not work because it treats everything as one element in the list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;p = c &amp;lt;&amp;lt; get property( "Spec Limits" );&lt;BR /&gt;plst = Eval List( {Arg( p, 1 ), Arg( p, 2 ), Arg( p, 3 )} );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:11:44 GMT</pubDate>
    <dc:creator>Abby_Collins14</dc:creator>
    <dc:date>2023-06-09T16:11:44Z</dc:date>
    <item>
      <title>Extracting control limits from column info</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-control-limits-from-column-info/m-p/640423#M83778</link>
      <description>&lt;P&gt;I am trying to extract control limits from column info, I have used the below code to extract spec limits, but if I do the same for control limits, it does not work because it treats everything as one element in the list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;p = c &amp;lt;&amp;lt; get property( "Spec Limits" );&lt;BR /&gt;plst = Eval List( {Arg( p, 1 ), Arg( p, 2 ), Arg( p, 3 )} );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:11:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-control-limits-from-column-info/m-p/640423#M83778</guid>
      <dc:creator>Abby_Collins14</dc:creator>
      <dc:date>2023-06-09T16:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting control limits from column info</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-control-limits-from-column-info/m-p/640446#M83781</link>
      <description>&lt;P&gt;Which control limits are you trying to extract? Columns might have multiple and you have to pick correct one and then have some extra args. Below is one option&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Coating.jmp");
obj = dt &amp;lt;&amp;lt; Control Chart(
	Sample Size(:Sample),
	KSigma(3),
	Chart Col(:Weight, XBar, R)
);
obj &amp;lt;&amp;lt; in Column;
wait(0); // to make sure properties have time to be set
cl_colprop = Column(dt, "Weight") &amp;lt;&amp;lt; Get Property("Control Limits");
show(cl_colprop);

xbar = Arg(cl_colprop, 1); // XBar in this case
r = Arg(cl_colprop, 2); // R in this case
avgxbar = Arg(xbar, 1); // Avg
lclxbar = Arg(xbar, 2); // 
uclxbar = Arg(xbar, 3);

avg = Arg(avgxbar);
lcl = Arg(lclxbar);
ucl = Arg(uclxbar);

show(xbar, r, avgxbar, lclxbar, uclxbar, avg, lcl, ucl);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:52:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-control-limits-from-column-info/m-p/640446#M83781</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-06-08T16:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting control limits from column info</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-control-limits-from-column-info/m-p/640458#M83785</link>
      <description>&lt;P&gt;Thanks! I'll give this a try. Each column has one set of control limits and I am trying to extract the upper and lower limits from all columns and save them in separate lists (ie one list of all of the lower limits and one list of all of the upper&amp;nbsp; limits).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks! :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 17:51:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-control-limits-from-column-info/m-p/640458#M83785</guid>
      <dc:creator>Abby_Collins14</dc:creator>
      <dc:date>2023-06-08T17:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting control limits from column info</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-control-limits-from-column-info/m-p/640564#M83790</link>
      <description>&lt;P&gt;Sorry, I'm confused by your request.&amp;nbsp; There are multiple ways to calculate control limits.&amp;nbsp; The fundamental Shewhart type control charts use &lt;STRONG&gt;rational subgrouping&lt;/STRONG&gt; as a basis for calculating control limits.&amp;nbsp; In the absence of a rational subgroup, you could use the moving range as a surrogate "subgroup" for estimating control limits.&amp;nbsp; In any case, control limits are not an arbitrary calculation.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 21:21:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-control-limits-from-column-info/m-p/640564#M83790</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2023-06-08T21:21:10Z</dc:date>
    </item>
  </channel>
</rss>

