Accendo Reliability

Your Reliability Engineering Professional Development Site

  • Home
  • About
    • Contributors
    • About Us
    • Colophon
    • Survey
  • Reliability.fm
  • Articles
    • CRE Preparation Notes
    • NoMTBF
    • on Leadership & Career
      • Advanced Engineering Culture
      • ASQR&R
      • Engineering Leadership
      • Managing in the 2000s
      • Product Development and Process Improvement
    • on Maintenance Reliability
      • Aasan Asset Management
      • AI & Predictive Maintenance
      • Asset Management in the Mining Industry
      • CMMS and Maintenance Management
      • CMMS and Reliability
      • Conscious Asset
      • EAM & CMMS
      • Everyday RCM
      • History of Maintenance Management
      • Life Cycle Asset Management
      • Maintenance and Reliability
      • Maintenance Management
      • Plant Maintenance
      • Process Plant Reliability Engineering
      • RCM Blitz®
      • ReliabilityXperience
      • Rob’s Reliability Project
      • The Intelligent Transformer Blog
      • The People Side of Maintenance
      • The Reliability Mindset
    • on Product Reliability
      • Accelerated Reliability
      • Achieving the Benefits of Reliability
      • Apex Ridge
      • Field Reliability Data Analysis
      • Metals Engineering and Product Reliability
      • Musings on Reliability and Maintenance Topics
      • Product Validation
      • Reliability by Design
      • Reliability Competence
      • Reliability Engineering Insights
      • Reliability in Emerging Technology
      • Reliability Knowledge
    • on Risk & Safety
      • CERM® Risk Insights
      • Equipment Risk and Reliability in Downhole Applications
      • Operational Risk Process Safety
    • on Systems Thinking
      • Communicating with FINESSE
      • The RCA
    • on Tools & Techniques
      • Big Data & Analytics
      • Experimental Design for NPD
      • Innovative Thinking in Reliability and Durability
      • Inside and Beyond HALT
      • Inside FMEA
      • Institute of Quality & Reliability
      • Integral Concepts
      • Learning from Failures
      • Progress in Field Reliability?
      • R for Engineering
      • Reliability Engineering Using Python
      • Reliability Reflections
      • Statistical Methods for Failure-Time Data
      • Testing 1 2 3
      • The Manufacturing Academy
  • eBooks
  • Resources
    • Accendo Authors
    • FMEA Resources
    • Glossary
    • Feed Forward Publications
    • Openings
    • Books
    • Webinar Sources
    • Podcasts
  • Courses
    • Your Courses
    • Live Courses
      • Introduction to Reliability Engineering & Accelerated Testings Course Landing Page
      • Advanced Accelerated Testing Course Landing Page
    • Integral Concepts Courses
      • Reliability Analysis Methods Course Landing Page
      • Applied Reliability Analysis Course Landing Page
      • Statistics, Hypothesis Testing, & Regression Modeling Course Landing Page
      • Measurement System Assessment Course Landing Page
      • SPC & Process Capability Course Landing Page
      • Design of Experiments Course Landing Page
    • The Manufacturing Academy Courses
      • An Introduction to Reliability Engineering
      • Reliability Engineering Statistics
      • An Introduction to Quality Engineering
      • Quality Engineering Statistics
      • FMEA in Practice
      • Process Capability Analysis course
      • Root Cause Analysis and the 8D Corrective Action Process course
      • Return on Investment online course
    • Industrial Metallurgist Courses
    • FMEA courses Powered by The Luminous Group
    • Foundations of RCM online course
    • Reliability Engineering for Heavy Industry
    • How to be an Online Student
    • Quondam Courses
  • Calendar
    • Call for Papers Listing
    • Upcoming Webinars
    • Webinar Calendar
  • Login
    • Member Home
  • Barringer Process Reliability Introduction Course Landing Page
  • Upcoming Live Events
You are here: Home / Articles / How Should the Sample Size be Selected for an X-bar Chart? (Part II)

by Steven Wachs Leave a Comment

How Should the Sample Size be Selected for an X-bar Chart? (Part II)

How Should the Sample Size be Selected for an X-bar Chart? (Part II)

An earlier article focused on the conceptual application of appropriate sample 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 sample size is selected, X-bar charts will detect process shifts (that have practical significance) in a timely manner.

In this article, we describe the sample size formula and its application in detail.  The required sample 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 sample size for an X-Bar chart is:

$$ \displaystyle n=\frac{\left(Z_{\alpha/2}+Z_{\beta}\right)^{2}\sigma^{2}}{D^{2}} $$

where:

n = sample size required

Zα/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 (a is the type I error probability and is typically 0.0027 for control chart applications.  In this case, Z0.00135 = 3).

Zβ = 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 sample 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 sample averages).  Because α is typically 0.0027, the formula term involving α is typically Z0.0027/2 = Z0.00135 = 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 sample 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), Zβ can be found from a standard normal table, which is available in any statistics textbook.  The Microsoft EXCEL function:

 =NORMSINV(1-β) 

may also be utilized.  Some common “Z values” are shown below:

Z0.00135  =  3

Z0.01 =  2.33

Z0.025 = 1.96

Z0.05 = 1.64

Z0.10 =  1.28

Z0.20 =  0.84  

The process standard deviation (σ) – As the process standard deviation is decreased, the sample size required to detect a process change decreases (provided all other factors are unchanged).  As the standard deviation increases, we need a large sample 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 sample size required to detect a process change increases (provided all other factors are unchanged).

Selecting a sample 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 sample 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 sample 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 sample 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:

Zα/2 = Z0.00135  = 3

Zβ = Z0.20  = 0.84

σ = 0.12

D = 0.18 oz

$$ \displaystyle n=\frac{\left(3+0.84\right)^{2}\left(0.12\right)^{2}}{\left(0.18\right)^{2}}=6.55 $$

Thus, the required sample size is 7.

How does the required sample 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 sample size of 9 is required).

[display_form id=419]

Filed Under: Articles, Integral Concepts, on Tools & Techniques

About Steven Wachs

Steven Wachs has 25 years of wide-ranging industry experience in both technical and management positions. Steve has worked as a statistician at Ford Motor Company where he has extensive experience in the development of statistical models, reliability analysis, designed experimentation, and statistical process control.

« Understanding Plant Losses
Uptime Insights – 3 – Work Management »

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Articles by Steven Wachs, Integral Concepts
in the Integral Concepts article series

Join Accendo

Receive information and updates about articles and many other resources offered by Accendo Reliability by becoming a member.

It’s free and only takes a minute.

Join Today

Recent Articles

  • Gremlins today
  • The Power of Vision in Leadership and Organizational Success
  • 3 Types of MTBF Stories
  • ALT: An in Depth Description
  • Project Email Economics

© 2025 FMS Reliability · Privacy Policy · Terms of Service · Cookies Policy