WinSPC.comWinSPC.com
Global leaders in real-time SPC software solutions
  • Software
    • WinSPC
      • WinSPC
      • Capture Data
      • Monitoring & Alarming
      • Analysis & Reporting
      • Industries Using WinSPC
      • How to Buy WinSPC
      • Supply Chain Quality
      • Achieve Regulatory Compliance
      • WinSPC System Requirements
      • Gauge Interface Hardware
      • Download WinSPC Trial
    • WinSPC Hosted Solution
      • WinSPC Hosted Solution
      • Retain Local System Flexibility
      • Gain These Hosted Solution Benefits
      • Go Beyond Traditional SaaS
      • Data Protection & Security
    • WinSPC Envision
      • WinSPC Envision
      • Visibility
      • Mobility
      • Interactivity
      • How to Buy WinSPC Envision
      • Envision System Requirements
    • What is SPC?
      • What is SPC
      • SPC Training Materials
      • SPC Tools
      • SPC FAQ
      • SPC Glossary
  • Services
    • Implementation Assistance
    • System Integration
    • Customer-Specific Solutions
    • Software Validation
    • SPC & Software Training
      • SPC & WinSPC Courses
      • Course Delivery Options
      • Directions & Lodging
  • Resources
    • Contact Us & Support
    • Activate WinSPC Licenses
    • Customer Downloads (PRIV)
    • WinSPC Knowledgebase
    • Choosing WinSPC (BLOG)
    • DataNet News (News BLOG)
    • Ask The Expert (Tech BLOG)
    • DataNet Facebook Wall
    • DataNet Twitter Wall
Home » Ask The Expert » How should the subgroup size be selected for an X-bar chart? – Part 2

How should the subgroup size be selected for an X-bar chart? – Part 2

The subgroup size formula and application are discussed in the conclusion of this two-part topic.

Last month’s article focused on the conceptual application of appropriate subgroup sizes for X-bar charts. As we discussed, the purpose of control charts is to detect significant process changes when they occur. When the proper subgroup size is selected, X-bar charts will detect process shifts (that have practical significance) in a timely manner.

In this article, we describe the subgroup size formula and its application in detail. As you read it, take care to distinguish between the Greek letter “α” (alpha) and the lower case English letter “a”. These two characters look similar and could be confused.

WinSPC Means Lower Costs and Higher Quality

WinSPC is software to help manufacturers create the highest quality product for the lowest possible cost. You can learn more here or try it free for 60 days.

The required subgroup size is a function of several variables that must either be estimated from the process or determined by the chart designer. The formula for computing a subgroup size for an X-Bar chart is:

where

n = subgroup size required

Ζ α/2 = the number of standard deviations above zero on the standard normal distribution such that the area in the tail of the distribution is α/2 (α is the type I error probability and is typically 0.0027 for control chart applications. In this case, Ζ 0.00135 =3).

Ζ β = the number of standard deviations above zero on the standard normal distribution such that the area in the tail of the distribution is β (β is the type II error probability).

σ = the standard deviation of the characteristic being charted.

D = the difference we are trying to detect.

The following factors influence the subgroup size:

  • Type I error probability (α) – A Type I error occurs when we conclude that a control chart is giving us an out-of-control signal but the process is actually stable. This may be considered as a “false alarm.” In control chart applications, it is customary to set α = 0.0027. This is done so that the control limits trap 99.73% of the statistic that is being plotted on the control chart (note that 99.73% is trapped by placing control limits at ±3 standard deviations from the process average for normally distributed statistics such as subgroup averages). Because α is typically 0.0027, the formula term involving α is typically Ζ 0.0027/2 = Ζ 0.000135 = 3.
  • Type II error probability (β) – A Type II error occurs when we fail to detect an out-of-control condition when the process is actually not stable. This is a serious error, as the whole purpose of the control chart is to detect a change quickly after the change occurs! As the Type II error is decreased, the required subgroup size to detect a process change increases (provided all other factors are unchanged). Once β is specified by the chart designer (a function of risk tolerance), Ζ β/2 can be found from a standard normal table, which is available in any statistics textbook. The following Microsoft EXCEL function may also be used: =NORMSINV(1-β/2). Some common “Z values” are:
    Ζ 0.00135 = 3
    Ζ 0.01 = 2.33
    Ζ 0.025 = 1.96
    Ζ 0.05 = 1.64
    Ζ 0.10 = 1.28
    Ζ 0.20 = 0.84
  • The process standard deviation (σ) – As the process standard deviation is decreased, the subgroup size required to detect a process change decreases (provided all other factors are unchanged). As the standard deviation increases, we need a large subgroup size to overcome the variation. σ may be estimated from the process data. (See the earlier article on computing the standard deviation).
  • The desired chart sensitivity (D) – D is the difference between the current process average and a new average, which represents a change that has practical significance. In other words, D represents the change in the process average that we are seeking to detect with the control chart. As the change we are trying to detect is decreased, the subgroup size required to detect a process change increases (provided all other factors are unchanged).

Selecting a subgroup size involves a trade-off between the above factors. Because, for x-bar charts, the control limits are traditionally placed at ±3 standard deviations from the process average, the Type I error (α) is typically fixed at 0.0027. Furthermore, the process standard deviation (σ) is typically estimated from the production process (rather than specified). This leaves us to trade off the chart sensitivity (D), the Type II error (β), and the required subgroup size (n). Increasing the sensitivity of the control chart (reducing D) or decreasing the probability of a Type II error both result in a larger required subgroup size.

Example:
Suppose that a beer bottler is filling containers labeled as 12 oz. The process standard deviation is estimated to be 0.12 ounces. The bottle weights follow a Normal distribution, so the bottler decides to center the process at 12.36 ounces to protect themselves against potential “underfills.” In addition the company is worried about overfilling, so the risk of a process shift is on both ends.

What subgroup size is required to detect a shift of 0.18 oz with 80% probability? (20% probability that the chart does not detect the shift).

We have:

Ζ α/2 = Ζ 0.00135 = 3
Ζ β = Ζ 0.20 = 0.84
σ = 0.12
D = 0.18 oz

Thus, the required subgroup size is 7.

How does the required subgroup size change if we are only willing to tolerate a 10% chance that the chart fails to detect the shift? (Answer n = 8.14, so a subgroup size of 9 is required).

 

Steven Wachs, Principal Statistician
Integral Concepts, Inc.

Integral Concepts provides consulting services and training in the application of quantitative methods to understand, predict, and optimize product designs, manufacturing operations, and product reliability. www.integral-concepts.com

Download the white paper on how to jump-start a “mini” Six Sigma Quality program on a budget

September 19, 2019 Administrator WinSPC

Leave a Reply Cancel reply

You must be logged in to post a comment

Search WinSPC.com

Evaluate WinSPC

  • Quick Video Tour
  • Talk to an Expert
  • Download Trial
  • Request a Quote
  • Plan an Online Demo

Follow Us On

Follow Us On FacebookFollow Us On LinkedInFollow Us On TwitterFollow Us On YouTube

Find it on WinSPC.com

Follow Us on

Follow Us on FacebookFollow Us on LinkedInFollow Us on TwitterFollow Us on YouTube

Contact Us

866-4WINSPC

248-357-2200

248-357-4933

info*dqs.com

Southfield

Michigan USA

my_location Find Us - Map

Helpful Links

  • Knowledgebase Site
  • Ask The Expert – BLOG
  • What is SPC?
  • SPC Tools
  • SPC FAQ
  • SPC Glossary
  • Docs & Downloads

About Us

  • About DataNet
  • Find A Reseller
  • Contact Us & Support
  • Industries Using WinSPC
  • Customers Using WinSPC
  • DataNet News
  • DataNet Facebook Wall
  • DataNet Twitter Wall
  • Our Privacy Policy
DataNet Quality Systems - 29200 Northwestern Hwy - Southfield, MI 48034 -- Copyright © 1995-2022 -- All Rights Reserved