Module02 ControlChartsAndProcessCapability
Module02 ControlChartsAndProcessCapability
Process Capability
Prof. Sayak Roychowdhury
Sampling
• It is not always possible to measure quality characteristics
of each item in a population.
• Samples are used to provide information about process or
product characteristics at a fraction of cost.
• Necessary for destructive tests
• A sampling design is a procedure by which the
observations in a sample are chosen from the population
• An element is an object for which data are gathered
• A sampling unit is an individual element or a collection of
elements from a population
• A sampling frame is a list of sampling units
Sampling Errors
Sampling
Where ,
Cluster Sampling
• When a sampling frame is not available or obtaining
samples from all segments of the population is not
feasible due to geographical reasons, cluster sampling is
used.
• Population is divided into groups of elements, called
clusters
• Clusters are randomly selected and a census data is
obtained.
• Sampling error maybe reduced by choosing many small
clusters rather than choosing a large cluster
Example of Cluster Sampling
A researcher wants to conduct a study to judge the performance
of sophomore’s in business education across the India.
By using cluster sampling, the researcher can club the
universities from each city into one cluster (North, South, East,
West regions).
These clusters then define all the sophomore student
population in India.
Next, either using simple random sampling or systematic
random sampling, randomly pick clusters for the research
study.
Subsequently, by using simple or systematic sampling, the
sophomore’s from each of these selected clusters can be
chosen on whom to conduct the research study.
How to choose sample size?
• Bound on error estimation on population mean:
Let there is probability that the difference
between the estimated mean and the actual mean is not
greater than (tolerable error bound).
An analyst wishes to estimate the average bore size of a large casting. Based on historical
data, it is estimated that the standard deviation of the bore size is 4.2 mm. If it is desired to
estimate with a probability of 0.95 the average bore size to within 0.8 mm, find the
appropriate sample size.
How to choose sample size?
• Bound on error estimation on population proportion:
Let there is probability that the difference
between the estimated proportion and the actual
proportion is not greater than (tolerable error bound).
E.g. proportion of satisfied customers, prop of non
conforming etc.
09.09.2023
In-control or Out of Control
Causes of Variation
Samples maybe out-of-control due to:
• Special Cause or Assignable Cause: Not inherent in the
process, does not affect all the time. It could be the use of
a wrong tool, tool damage, operator mistake, incorrect
measurement etc. Control charts are used to detect the
presence of special causes as soon as possible. Special
causes need to be removed to get the process back to
normality.
• Common Cause: Variability due to common or chance
causes, inherent to a process. It is inherent part of process
design and affects all time. Process need not be changed
due to common cause variations.
Control Limits of Shewhart Control
Chart
• R chart
•
•
Derivation
• Centre Line
• UCL and LCL these are 3 sigma
•
• UCL = =
• LCL = =
Derivation
• Relative Range a random variable
• Parameters of distribution of depend on sample size
• Mean of is
• Estimator of is , we may use as is
the average range of preliminary samples
•
•
•
Derivation
• Standard deviation of is
• Estimator of is
• Standard deviation of can be written as as
•
• For R chart
•
•
•
Revised Control Limits
Discard out of control samples with assignable causes.
09.09.2023
X-bar and R chart
• chart monitors between sample variability, chart
monitors within sample variability
• To design chart, the following must be specified:
• Sample size
• Control limit width
• Frequency of sampling
• chart is capable to signal moderate to large process
shifts or larger)
• chart is relatively insensitive to shift in process standard
deviation for small samples
Error in Making Inference
• Type I Error: This error results from inferring a process is
out of control when it is not. It is denoted by . This
happens due to chance causes, when a control charts falls
outside control limits. For limits, probability of type I
error is 0.0027.
• Type II Error: This error results from inferring a process is
in control when it is out of control. It is denoted by . This
can happen when the process mean or the process
variability or both have changed.
Xbar & R Charting
Subgp. X1 X2 X3 X4 Xbar R
• Step 1. (Startup) Collect data for 25. 1 20.50 3.10 2.10 4.00 7.43 18.40
D2 = 4.698
10
D1 = 0.000
8
s0
UCLXbar = Xbarbar + 3.0 ×
n 6
UCL
Signals on the R chart. Do 4 Xbar
detective work. Overnight
stays. Not fair to keep. 2
So remove. 0
1 6 11 16 21
21
16
11 UC
LR
1
1 6 11 16 21
09.09.2023
Revised Limits
Phase I Phase II
d2(n=4) = 2.059
9
sest = 6.300/2.059 = 3.062 8
D2 = 4.698 7 Range of Times (4
patients, not including one Revised
D1 = 0.000 6 "extra-long" overnight UCLXbar
5 Xbar
6s0 = the process capability 4 CLXbar
= 18.4 hours 3 LCLXbar
11
UCLR
R
CLR
6
1
1 6 11 16
Subgroup 21 26 31
09.09.2023
Revision Formula
Xbarbar,revised = [25 Xbarbar,trial – (removed)] ÷ (25 – # removed)]
(25*3.86 – 7.43 – 6.08) ÷ 23 = 3.6 hours
Makes a small difference but it is fair as long as we clarify we are not
considering overnight stays
Only remove if an assignable cause was found and eliminated.
Otherwise leave data in (common or chance causes).
09.09.2023
X bar and S chart
• It is occasionally desirable to monitor process standard
deviation directly, rather than indirectly as done in
chart.
• and chart are preferable when
• The sample size is moderately large for or 12.
• The sample size is variable
• The unbiased estimator of population variance is
sample variance
Where and
X bar and S chart with Sample Estimators
• Control limit for corresponding chart is given by
Probability of an Xbar False Alarm
Assume that the subgroups are rational (skipping and
representative of a homogeneous group) and the
system is under control (no assignable causes so
distribution is the same), what is probability of a false
alarm on the next subgroup from the Xbar chart?
CLT Xbar ~ N[m,s/sqrt(n)]
1-Pr{LCLXbar = m – 3s/sqrt(n) ≤ Xbar ≤ UCLXbar = m +
3s/sqrt(n)} =1- Pr{-3 ≤ Z ≤ 3} = 1-2 Pr{Z ≤ -3} = 0.0027
Even if you are doing everything correctly, you have a
0.0027 chance of a false alarm.
(Average Run Length (ARL) in control 1÷0.0027= 370.4)
09.09.2023
Average Run Length (ARL)
• To measure the performance of a control chart, ARL is used.
• ARL denotes the number of samples, on average, required to
detect and out of control signal.
• If is the probability that a process is out of control then run
length is 1 with probability , 2 with probability ,
3 with . Hence
Where
Process Capability
• A necessary condition for is
=
Attribute Control
Charts, I-MR Chart
Prof. Sayak Roychowdhury
Control Charts
P-chart (fraction of non-conforming)
• Step 1. (Startup) Obtain the total fraction of nonconforming units or systems
using 25 rational subgroups each of size n.
• Step 2. (Startup) Calculate “trial” limits:
̅( ̅)
• (Minitab>Stat>Control charts>Attribute Charts>P)
̅( ̅)
•
• Step 3. (Startup) Identify all the periods for which p = fraction nonconforming in
that period and p < LCLtrial or p > UCLtrial. Investigate, remove if unfair.
• Step 4. (Startup) Calculate the total fraction nc. using remaining. New =
“process capability”. Calculate revised limits.
• Step 5. (Steady State) Plot the fraction nonconforming, pj, for each period j and
alert designated local authority if out-of-control signals occur.
https://www.spcforexcel.com/knowledge/attribute-control-charts/p-control-
charts#example
P-chart
1 0.10
0.25
1
0.08
Proportion
0.20
0.06
_
Proportion
P=0.0509
0.15 UCL=0.1555 0.04
0.02
0.10
_
P=0.076 0.00 LCL=0
0.05 1 3 5 7 9 11 13 15 17 19 21
Sample
Results exclude specified rows: 14:16
0.00 LCL=0
1 3 5 7 9 11 13 15 17 19 21 23 25
Sample
Capability = 0.0909
np-chart (# of non-conforming)
•
•
C-chart (count of non-conformities)
• Step 1. (Startup) Collect data
• Step 2. (Startup) Subgroup size is one inspected unit (e.g. 1 airplane, 1 case
of pencils)
• Step3.Calculate trial limits
• , (average count of non-
conformities)
•
• Step 3. (Startup) Find out of control signals. Remove if unfair.
• Step 4. (Startup) Revise limits Revised is process capability
• Step 5. (Steady State) Plot and local authority investigates if out-of-control
signals occur (can act).
2.000
1.500
1.000
0.500
0.000
1 3 5 7 9 11 13 15 17 19 21 23 25
Subgroup Number
Demerit Chart
• Determine 4 classes of non-conformities, very serious (A), serious (B)
moderately serious (C), and minor (D). Assign weights , , and .
• For sample size , let denote the total number of defects of
each class.
• Determine standard non-conformities per unit ,
•
• Revised Limits
• 𝜎 = 0.8865𝑀𝑅 , 𝑥 = 𝑥̅
•
•
• Minitab > Stat> Control charts > Variable charts for individuals > I-MR
• Researchers have indicated that MR chart cannot really provide additional
information on variability, MR values are not independent.