<?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: PROC SHEWHART example S Chart with Varying Sample Sizes in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SHEWHART-example-S-Chart-with-Varying-Sample-Sizes/m-p/272078#M14308</link>
    <description>&lt;P&gt;Thanks Rick, I hadn't seen that book.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately,&amp;nbsp;I'm looking for an example of an S chart (or XSCHART) where the subgroup size varies, so the process limits on the S chart will also vary accordingly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data have;
  do lot=1 to 20;
    do n=1 to floor(ranuni(3)*20); *random number of values in each group;
      y=100+sqrt(10)*rannor(3);
      output;
    end;
  end;
run;

proc shewhart data=have;
  xschart y*lot;
run;&lt;/PRE&gt;
&lt;P&gt;Produces a chart like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="XSChart.png" alt="XSChart.png" src="https://communities.sas.com/t5/image/serverpage/image-id/3261iE654CAA16F7A5F6D/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By "ASTM 1976" was referring to the reference for the calculation in th docs:&lt;/P&gt;
&lt;P align="LEFT"&gt;&lt;FONT face="NimbusRomNo9L-Regu" size="3"&gt;American Society for Testing and Materials (1976), &lt;/FONT&gt;&lt;FONT face="NimbusRomNo9L-ReguItal" size="3"&gt;ASTM Manual on Presentation of Data and&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="NimbusRomNo9L-ReguItal" size="3"&gt;&lt;FONT face="NimbusRomNo9L-ReguItal" size="3"&gt;Control Chart Analysis&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="NimbusRomNo9L-Regu" size="3"&gt;&lt;FONT face="NimbusRomNo9L-Regu" size="3"&gt;, 1916 Race Street, Philadelphia, PA 19103.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="NimbusRomNo9L-Regu" size="3"&gt;&lt;FONT face="NimbusRomNo9L-Regu" size="3"&gt;Amazon is selling it for $5, so hopefully I'll be lucky when it arrives. : )&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2016 18:18:48 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2016-05-20T18:18:48Z</dc:date>
    <item>
      <title>PROC SHEWHART example S Chart with Varying Sample Sizes</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SHEWHART-example-S-Chart-with-Varying-Sample-Sizes/m-p/272022#M14305</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm looking for a published&amp;nbsp;example (online or in the docs) of&amp;nbsp;data and results from running an S chart (i.e. control chart for within group standard deviations), where the group size varies.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see an example of this for an XRChart:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/onlinedoc/qc/ex_code/141/shwmns.html" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/qc/ex_code/141/shwmns.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I want an SChart (or XSCHART), using the default method used by SAS (ASTM 1976).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Goal is to find some published data to use in a validation report.&amp;nbsp; Would appreciate any suggestions.&amp;nbsp; (I'm going to try and buy the ASTM book, but hoping to find something online faster than snail mail).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;--Q.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 15:56:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SHEWHART-example-S-Chart-with-Varying-Sample-Sizes/m-p/272022#M14305</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-05-20T15:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SHEWHART example S Chart with Varying Sample Sizes</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SHEWHART-example-S-Chart-with-Varying-Sample-Sizes/m-p/272055#M14307</link>
      <description>&lt;P&gt;Not sure what "ASTM 1976" means, but have you seen the chapter &lt;A href="https://support.sas.com/publishing/bbu/companion_site/62548.pdf" target="_self"&gt;"Analyzing Quality Data with SAS"&lt;/A&gt;, which includes an XSCHART example on p 9?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The excerpt is from Rutledge&amp;nbsp; &lt;EM&gt;Just enough SAS: A Quick-Start Guide to SAS for Engineers.&lt;/EM&gt; The&amp;nbsp; data are available from &lt;A href="http://support.sas.com/publishing/authors/rutledge.html" target="_self"&gt;the book web page.&lt;/A&gt;. Just click "Example Code and Data."&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 17:34:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SHEWHART-example-S-Chart-with-Varying-Sample-Sizes/m-p/272055#M14307</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-05-20T17:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SHEWHART example S Chart with Varying Sample Sizes</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SHEWHART-example-S-Chart-with-Varying-Sample-Sizes/m-p/272078#M14308</link>
      <description>&lt;P&gt;Thanks Rick, I hadn't seen that book.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately,&amp;nbsp;I'm looking for an example of an S chart (or XSCHART) where the subgroup size varies, so the process limits on the S chart will also vary accordingly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data have;
  do lot=1 to 20;
    do n=1 to floor(ranuni(3)*20); *random number of values in each group;
      y=100+sqrt(10)*rannor(3);
      output;
    end;
  end;
run;

proc shewhart data=have;
  xschart y*lot;
run;&lt;/PRE&gt;
&lt;P&gt;Produces a chart like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="XSChart.png" alt="XSChart.png" src="https://communities.sas.com/t5/image/serverpage/image-id/3261iE654CAA16F7A5F6D/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By "ASTM 1976" was referring to the reference for the calculation in th docs:&lt;/P&gt;
&lt;P align="LEFT"&gt;&lt;FONT face="NimbusRomNo9L-Regu" size="3"&gt;American Society for Testing and Materials (1976), &lt;/FONT&gt;&lt;FONT face="NimbusRomNo9L-ReguItal" size="3"&gt;ASTM Manual on Presentation of Data and&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="NimbusRomNo9L-ReguItal" size="3"&gt;&lt;FONT face="NimbusRomNo9L-ReguItal" size="3"&gt;Control Chart Analysis&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="NimbusRomNo9L-Regu" size="3"&gt;&lt;FONT face="NimbusRomNo9L-Regu" size="3"&gt;, 1916 Race Street, Philadelphia, PA 19103.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="NimbusRomNo9L-Regu" size="3"&gt;&lt;FONT face="NimbusRomNo9L-Regu" size="3"&gt;Amazon is selling it for $5, so hopefully I'll be lucky when it arrives. : )&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 18:18:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SHEWHART-example-S-Chart-with-Varying-Sample-Sizes/m-p/272078#M14308</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-05-20T18:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SHEWHART example S Chart with Varying Sample Sizes</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SHEWHART-example-S-Chart-with-Varying-Sample-Sizes/m-p/272095#M14309</link>
      <description>&lt;P&gt;If you go to Google and search in "Images" for&lt;/P&gt;
&lt;P&gt;shewhart x chart unequal sample size&lt;/P&gt;
&lt;P&gt;you will see many examples.&amp;nbsp; I'm not sure whether these qualify as "published examples."&lt;/P&gt;
&lt;P&gt;For example, one instance is a set of course notes:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.math.montana.edu/jobo/st528/documents/chap6b.pdf" target="_blank"&gt;http://www.math.montana.edu/jobo/st528/documents/chap6b.pdf&lt;/A&gt;&amp;nbsp;(p 68-69)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need a published example of high importance, you can find example data and chart on pp 244-248 of&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Introduction to Statistical Quality Control&lt;/EM&gt; by Douglas C. Montgomery, 4th Ed.&lt;/P&gt;
&lt;P&gt;Do the results have to be created by SAS?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 19:16:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SHEWHART-example-S-Chart-with-Varying-Sample-Sizes/m-p/272095#M14309</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-05-20T19:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SHEWHART example S Chart with Varying Sample Sizes</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SHEWHART-example-S-Chart-with-Varying-Sample-Sizes/m-p/272103#M14311</link>
      <description>Thanks again Rick.  I've got Montgomery 2nd Ed open on my desk, but it looks to me like the example has a couple errors, and I don't think it's using the same method as SAS.  I should probably get the latest edition.  Seems like Montgomery is a standard text for this stuff.  No, I don't need it to be created by SAS.  And in a validation sense, arguably better if the truth I use is not from SAS.</description>
      <pubDate>Fri, 20 May 2016 19:16:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SHEWHART-example-S-Chart-with-Varying-Sample-Sizes/m-p/272103#M14311</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-05-20T19:16:17Z</dc:date>
    </item>
  </channel>
</rss>

