Process Capability
Process Capability
V
RS
The contents of this presentation represent the opinion
of the speaker; and not necessarily that of his present
or past employers.
• 27+ years of experience in the medical devices, pharmaceutical, biotechnology, and consumer electronics industries
– MS Biotechnology and Bioinformatics, emphasis in Biomedical Engineering
– BS Mechanical Engineering
– ASQ Certified Quality Engineer (CQE)
V
RS
Minitab 30-day free
trial
• http://www.minitab.com/e
n-us/downloads/
CI for Pp
2.47
(2.12, 2.81)
Sample N 100
numerically how capable a process is of StDev(Overall) 0.675586
StDev(Within) 0.704465
PPL
PPU
2.71
2.22
Ppk 2.22
– If your data set does not follow a normal 126.0 127.4 128.8 130.2 131.6 133.0 134.4
V
Process Capability vs Control
RS
• Controlled Process:
– mean and standard
deviation are consistent
• Capable Process:
– consistently meets
specifications
V Example
RS
Take a sample from a validation lot ( ) ( )
= = = 1.41
( . )
n = 60 units
( ) ( . )
Spec limits are: = = = 1.68
( . )
USL = 35, target = 30, LSL = 25
( ) ( . )
= = = 1.14
( . )
Calculate:
= 1.14
( ) Sample mean = 29.050
(s) Sample std.dev = 1.184 −
=
6 ∗ s +( − )
= = 1.10
∗ . ( . )
V
Short-Term vs Long-Term Capability
RS
• Short – term variation: the variation within a subgroup (i.e. one validation lot, one shift,
one operator, or one raw material batch.)
• Some authors assume a short term / long term process shift of 1.5 sigma as a rule of
thumb. This means that the long term variation will be approximately 1.5 times the short
term variation.
(c) 2020 Raul Soto 14
• This method does not provide a realistic view of how the process
will perform in the long term.
V
RS
Process Capability Example 1:
Calculate lot-to-lot (short term) and process (long term) capability
using 4 validation lots
Consistent process
32.5
Data
30.0
27.5
25.0
Lot A Lot B Lot C Lot D
Performance
Observed Expected Overall Expected Within
PPM < LSL 0.00 0.28 0.31
PPM > USL 0.00 0.28 0.31
PPM Total 0.00 0.56 0.63
Performance
Observed Expected Overall Expected Within
PPM < LSL 0.00 0.42 0.47
PPM > USL 0.00 0.42 0.47
PPM Total 0.00 0.84 0.94
Performance
Observed Expected Overall Expected Within
PPM < LSL 0.00 0.50 0.55
PPM > USL 0.00 0.50 0.55
PPM Total 0.00 1.00 1.11
Performance
Observed Expected Overall Expected Within
PPM < LSL 0.00 3.08 3.37
PPM > USL 0.00 3.08 3.37
PPM Total 0.00 6.16 6.74
V
SHORT TERM (lot to lot)
RS
results:
Lot A
Cpk = 1.66
expected defects per million = 0.56 If our validation criteria is based solely on
the Cpk’s of individual lots being equal
Lot B or greater than 1.0, we would pass.
Cpk = 1.63
expected defects per million = 0.84
Let’s look at Long-Term variation:
Lot C
Cpk = 1.62
expected defects per million = 1.0
Lot D
Cpk = 1.50
expected defects per million = 6.16
Overall Capability
RESULTS
USL 35
Sample Mean 30 Pp 1.58
Sample N 240 CI for Pp (1.44, 1.73)
StDev(Overall) 1.05268
StDev(Within) 1.03755
PPL
PPU
1.58
1.58
Ppk = 1.58
Ppk 1.58
CI for Ppk (1.44, 1.73)
Cpm 1.58
LB for Cpm 1.46
Potential (Within) Capability
Cp 1.61
Expected defects
CI for Cp (1.46, 1.75)
CPL 1.61 per million units = 2.04
CPU 1.61
Cpk 1.61
CI for Cpk (1.46, 1.75)
Performance
Observed Expected Overall Expected Within
PPM < LSL 0.00 1.02 0.72
PPM > USL 0.00 1.02 0.72
PPM Total 0.00 2.04 1.44 This is a 4.5 sigma process
(c) 2020 Raul Soto 23
V
RS
Process Capability Example 2:
Calculate lot-to-lot (short term) and process (long term) capability using 3 validation lots
18
16
*Inconsistent process*
Data
14
12
10
Lot 1 Lot 2 Lot 3
Performance
Observed Expected Overall Expected Within
PPM < LSL 0.00 0.00 0.00
PPM > USL 0.00 0.00 0.00
PPM Total 0.00 0.00 0.00
(c) 2020 Raul Soto 26
(c) 2020 Raul Soto
Performance
Observed Expected Overall Expected Within
PPM < LSL 0.00 0.00 0.00
PPM > USL 0.00 0.00 0.00
PPM Total 0.00 0.00 0.00
(c) 2020 Raul Soto 27
(c) 2020 Raul Soto
Performance
Observed Expected Overall Expected Within
PPM < LSL 0.00 0.00 0.00
PPM > USL 0.00 0.00 0.00
PPM Total 0.00 0.00 0.00
(c) 2020 Raul Soto 28
(c) 2020 Raul Soto
Lot 2
Cpk = 3.33
expected defects per million =0
Lot 3
Cpk = 2.80
expected defects per million =0
If our validation criteria is based solely on the Cpk’s of individual lots being equal or greater
than 1.0, we would pass.
But when we look at the long-term variation of the overall process, the picture changes:
(c) 2020 Raul Soto 29
10 12 14 16 18 20
Performance
Observed Expected Overall Expected Within
PPM < LSL 0.00 23545.98 0.00
PPM > USL 0.00 23545.98 0.00
PPM Total 0.00 47091.95 (c) 0.00
2020 Raul Soto 30
(c) 2020 Raul Soto 30
Overall:
Ppk = 0.66
expected defects per million = 47,092 (4.7%) this is a 2 sigma process
V
Short-Term vs Long-Term Capability
RS
or “why is my process performing poorly, if my three validation batches were so good?”
• The distribution or the mean of a process may be stable for a single set of raw materials,
operator, machine, etc.
• Long term variation may increase because of process shifts and drifts.
• Possible causes of process shifts : different operators, raw material batches, machines,
changes in the environment.
• Possible causes of process drifts : equipment aging, parts wear off, learning curve, fatigue,
environmental factors.
• Shifting / drifting may be present in your manufacturing and measurement/ inspection
processes.
(c) 2020 Raul Soto 32
10 Overall
D ata
10.0
Mean StDev N
8
7.392 0.9618 30
10.29 0.9634 30
6 13.30 0.8041 30
10.07 1.226 30
4 7.5
6.635 0.8716 30
12.71 0.8753 30
2 9.237 0.9759 30
9.947 2.492 210
0
4.5 6.0 7. 5 9.0 10.5 12.0 13.5 15.0 5.0
V
Process Mean Drifting Over Time Process Mean Drifting Over Time
RS
Normal 30
20 Variable
Lot A
Lot B
Lot C 25
Lot D
15 Overall_
Mean StDev N
F re q u e n c y
10.09 0.6285 30
20
14.83 0.8489 30
D a ta
10 20.36 1.138 30
24.82 1.142 30
17.53 5.666 120
15
5
10
0
4 8 12 16 20 24 28
Data Lot A Lot B Lot C Lot D
V
Estimate % Defective and dpm from CPK
RS
EXAMPLE Using the Normal Distribution Table
• Larger sample sizes will result in tighter confidence limits for Cpk .
• You can solve this equation for n, and then calculate the minimum n for a specified
CL
Wu, Chin-Chuan and Kuo, Hsin-Lin. Sample Size Determination for
• Minitab calculates 95CIs for CPK, PPK the Estimate of Process Capability Indices. Information and
Management Sciences. Vol 15 No 1 March 2004. p 1-12.
V
Sample sizes for Cpk confidence limits
RS
• If you use this Excel code, you can enter [1] your CPK, [2] the sample size you used
to calculate it, and [3] the confidence level you want
• It will calculate the confidence interval for you
(c) 2020 Raul Soto 38
3.40
3.20
Cpk
3.00
2.80
2.60
2.40
2.20
• CPK = 2.95 (95CI: 2.64, 3.26)
2.00
0 50 100 150 200 250 300
sample size n
V
RS
Sample sizes for Cpk confidence limits
• If you use this Excel code, you can enter [1] your target CPK, [2] the width of the CI
you want, and [3] the confidence level you want.
• It will calculate for you the sample size you need.
(c) 2020 Raul Soto 40
V Normality
RS
• Many statistical tools for variables data have an assumption of normality
• If data does not follow a normal distribution, results provided by the tool will not
reflect reality
• Visual methods:
• Histograms, Normal probability plots
Percent
60 60
50 50
40 40
30 30
20 20
10 10
5 5
1 1
0.1 0.1
45.0 47.5 50.0 52.5 55.0 57.5 -2 -1 0 1 2 3 4 5 6
C1 [c] 2020 Raul Soto C2 43
V Normality Testing
RS
• Use both graphical methods and p-values, don’t depend exclusively
on either Probability Plot of C2
Normal
• Small p-value => high probability data is NOT normal 99.9
Mean 0.9325
StDev 0.9503
• Normality tests are “finicky”, sensible to sample sizes 99
N 100
RJ 0.901
95 P-Value <0.010
• Small sample sizes (<20) will tend to come out “normal” even if the 90
60
50
• Large sample sizes (>60) will tend to come out “not normal” even if 40
30
the data is normal (overpowered) 20
10
• If your plot “looks” normal, the p-values come out small, and your 5
data set is larger than n = 60: take a random sample and run your 1
normality test on that sample.
0.1
-2 -1 0 1 2 3 4 5 6
• “Fat pencil” test… C2
– “We are 95% confident that 99% of the units in lot ABC are within this range [ A, B ]”
– Can use this for product release, if the Tolerance Interval is within the specification
– Minitab can compute non-normal tolerance intervals for data sets that do not follow a
normal distribution.
V Tolerance Intervals
RS
• Where: Where do we get the k-factor?
V
RS
Minitab : Stat / Quality Tools / Tolerance Intervals
Method
Confidence level 95%
Percent of population in interval 99%
Statistics
Variable N Mean StDev
Weight 60 488.569 6.826
V
Selecting Confidence and Coverage %
RS
• Select these based on risk EXAMPLE
– Tighter limits for validation than Severity Validation Manufacturing
regular production
Critical 99% confidence 95% confidence
– Tighter limits for parameters 99% coverage 99% coverage
associated with high risk to patient Major 95% confidence 95% confidence
safety
95% coverage 90% coverage
Minor 95% confidence 90% confidence
80% coverage 80% coverage
V
Sample Sizes for Tolerance Intervals
RS
Power analysis allows you to determine the minimum sample size required the
construct a tolerance interval
EXAMPLE:
We have a one-sided spec (USL = 10), and want to calculate the minimum sample size
for a tolerance interval with 95% confidence and 95% population.
In Minitab:
Stat > Power and Sample Size > Sample Size for Tolerance Intervals
You will see the following window:
V
Sample Sizes for Tolerance Intervals
RS
• If your data follows a NORMAL
distribution, nmin = 70 units
Multi-modality
V
Potential Causes of Non-Normality
RS
(c) 2020 Raul Soto 56
Potential outliers
V Non-Normality
RS
• Sometimes the quality characteristic we want to measure does
not follow a normal distribution
• Look at the histogram:
• Cause of non-normality: Bimodal? Fat tails (kurtosis)? Skewed? Outliers?
• Alternatives:
• Non-normal capability analysis (i.e. fit data with another distribution)
• transform the data (for example, take a natural logarithm) and check if
the transformed data is normally distributed
• Non-Parametric methods (less sensitive, require higher sample sizes for
the same statistical power)
• ALWAYS consult with your company’s statisticians (the real
ones!) before you use any of these, or any other, alternatives.
[c] 2020 Raul Soto 58
It’s extremely important to check the data and determine what are the possible sources of non-normality, for
example:
bimodality / multimodality
data truncation (common in destructive tests)
skewness
kurtosis
outliers
or maybe the process just does NOT follow a normal distribution
Depending on what is the underlying source of non-normality, statisticians can provide appropriate alternatives
and the associated risks.
The fundamental risk of manipulating a non-normal data set is that you will no longer be making decisions
based on your real data, but on data that is at least one step removed from reality.
(c) 2020 Raul Soto 59
V Transformations
RS
Common transformations used for non-normal data:
Johnson transformation:
Minitab: Stat > Quality Tools > Johnson Transformation
Box-Cox transformation:
see https://www.itl.nist.gov/div898/handbook/pmc/section5/pmc52.htm
[3] if Levene’s test concludes that your within-lot variation is NOT consistent throughout your lots, then
use a Welch’s ANOVA
Stat > ANOVA > One-Way
Options: DO NOT CHECK “Assume equal variances”
V
RS
https://xkcd.com/552/
V
RS
KENX JULY 2020 32 of 32