<?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: Limiting INSET to the last set of control limits in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Limiting-INSET-to-the-last-set-of-control-limits/m-p/190023#M9877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have an easy answer.&amp;nbsp; Makes sense that if you have a phased control chart, you would want phased Cpk (or in your case Cpk for just the most recent phase).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typically I haven't used the graphics from Shewhart much.&amp;nbsp; I've instead used the proc to compute the data I want (process limits, Cpk, etc) and output them to a dataset, then used GTL to create a custom chart.&amp;nbsp; It's more work, but gives more control over the final output.&amp;nbsp; So with that approach, could just run Shewhart a second time using only data from the most recent phase to to get the desired Cpk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Oct 2014 10:46:18 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2014-10-18T10:46:18Z</dc:date>
    <item>
      <title>Limiting INSET to the last set of control limits</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Limiting-INSET-to-the-last-set-of-control-limits/m-p/190022#M9876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;s&amp;nbsp; &lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with a manufacturing process data and cannot figure out how to control the inset calculations.&amp;nbsp; For example:&amp;nbsp; Lets say I have 80 data results that I am graphing using the Proc Shewhart procedure with an irchart.&amp;nbsp; But between data point 40 and 41 I split the control limits due to a shift in the mean.&amp;nbsp; So I have my control limits for data points 1-40 and a second set of control limits for 41-80.&amp;nbsp; Specification limits for all data is the same.&amp;nbsp; I then use the inset statement to provide a CPK point estimate along with the 95% confidence interval points.&amp;nbsp; However, I want the inset statement to only reflect on the data just within the second set of control limits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;proc shewhart history=data2 limits=stats;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;irchart test*lot_count=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: 'Courier New';"&gt;'*'&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;&amp;nbsp; / outlabel=(lot_count) &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;nochart2&amp;nbsp; vref=vref &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; ciindices &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;lsl=&amp;amp;lsl usl=&amp;amp;usl &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;readphases=all &lt;/SPAN&gt;&lt;SPAN style="background: white; color: green; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; readindexes=all phaselegend vreflabpos=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;2&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; zerostd tests=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; to &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;4&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; testlabel1=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: 'Courier New';"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; testlabel2=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: 'Courier New';"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; clipfactor=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;2&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; totpanels=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;inset stddev cpklcl=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: 'Courier New';"&gt;'Cpk 95% Lower'&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; cpk=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: 'Courier New';"&gt;'Cpk'&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; cpkucl=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: 'Courier New';"&gt;'Cpk 95% Upper'&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; / pos=sw format=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;6.2&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; opacity=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;0&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;label &amp;amp;var=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: 'Courier New';"&gt;"&amp;amp;var(&amp;amp;units)"&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where data2 contains the two different _PHASE_ values, and stats data set contains the two sets of control limits with _INDEX_ values to be matched with _PHASE_ values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also, how can I do this for a histogram in proc capability.&amp;nbsp; I want the histogram to include all data points in the chart, but I only want the ppk calculations to be based off only the 2nd half of the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 19:23:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Limiting-INSET-to-the-last-set-of-control-limits/m-p/190022#M9876</guid>
      <dc:creator>Jolly</dc:creator>
      <dc:date>2014-10-17T19:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting INSET to the last set of control limits</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Limiting-INSET-to-the-last-set-of-control-limits/m-p/190023#M9877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have an easy answer.&amp;nbsp; Makes sense that if you have a phased control chart, you would want phased Cpk (or in your case Cpk for just the most recent phase).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typically I haven't used the graphics from Shewhart much.&amp;nbsp; I've instead used the proc to compute the data I want (process limits, Cpk, etc) and output them to a dataset, then used GTL to create a custom chart.&amp;nbsp; It's more work, but gives more control over the final output.&amp;nbsp; So with that approach, could just run Shewhart a second time using only data from the most recent phase to to get the desired Cpk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Oct 2014 10:46:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Limiting-INSET-to-the-last-set-of-control-limits/m-p/190023#M9877</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2014-10-18T10:46:18Z</dc:date>
    </item>
  </channel>
</rss>

