<?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 Getting calculated control limits from a Levey Jennings chart in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Getting-calculated-control-limits-from-a-Levey-Jennings-chart/m-p/236726#M46728</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently working on a script that generates a LJ chart.&amp;nbsp; I need to drop a bunch of lines in there and must make sure the scale of the Y-axis allows to see all these lines.&lt;/P&gt;&lt;P&gt;This all works perfectly except for the calculated control limits.&amp;nbsp; Is there any way that I can get these calculated limits, preferably before I generated the chart, so I can use them in the calculation I make to determine the Y-axis scale?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Jan&lt;/P&gt;</description>
    <pubDate>Wed, 27 Nov 2019 18:40:52 GMT</pubDate>
    <dc:creator>jan_solo_ff</dc:creator>
    <dc:date>2019-11-27T18:40:52Z</dc:date>
    <item>
      <title>Getting calculated control limits from a Levey Jennings chart</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-calculated-control-limits-from-a-Levey-Jennings-chart/m-p/236726#M46728</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently working on a script that generates a LJ chart.&amp;nbsp; I need to drop a bunch of lines in there and must make sure the scale of the Y-axis allows to see all these lines.&lt;/P&gt;&lt;P&gt;This all works perfectly except for the calculated control limits.&amp;nbsp; Is there any way that I can get these calculated limits, preferably before I generated the chart, so I can use them in the calculation I make to determine the Y-axis scale?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Jan&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 18:40:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-calculated-control-limits-from-a-Levey-Jennings-chart/m-p/236726#M46728</guid>
      <dc:creator>jan_solo_ff</dc:creator>
      <dc:date>2019-11-27T18:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting calculated control limits from a Levey Jennings chart</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-calculated-control-limits-from-a-Levey-Jennings-chart/m-p/236737#M46729</link>
      <description>&lt;P&gt;Levey Jennings just uses the long term sigma to compute control limits, so you can just take the standard deviation of the entire column of the response you are plotting.&amp;nbsp; Here's an example using the Vial Fill Weights example from the Sample Data Library.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Data Table("Vial Fill Weights");
y = :Fill Weight &amp;lt;&amp;lt; Get Values;
y_bar = mean(y);
sigma = std dev(y);

UCL = y_bar + 3*sigma;
LCL = y_bar - 3*sigma;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This returns&amp;nbsp;5.90482338181099 and&amp;nbsp;6.32439884041124 for LCL and UCL respectively.&amp;nbsp; This matches the Levey Jennings limits:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="LJ.png" style="width: 549px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/20479iDA327DEEE3106688/image-size/large?v=v2&amp;amp;px=999" role="button" title="LJ.png" alt="LJ.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 19:10:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-calculated-control-limits-from-a-Levey-Jennings-chart/m-p/236737#M46729</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2019-11-27T19:10:32Z</dc:date>
    </item>
  </channel>
</rss>

