Attributes
Prof. Dr. Mahmoud Moustafa El_Sherbiny
Introduction
n
Control Charts for Fraction
Nonconforming
Standard Given
If a standard value of p is given, then the
control limits for the fraction nonconforming
are
p(1 p)
UCL p 3
n
CL p
p(1 p)
LCL p 3
n
Control Charts for Fraction
Nonconforming
No Standard Given
If no standard value of p is given, then the control
limits for the fraction nonconforming are
p (1 p )
UCL p 3
n
CL p
p (1 p )
LCL p 3
n m m
where Di p i
p i 1
i 1
mn m
Control Charts for Fraction
Nonconforming
Example
A process that produces bearing housings is
investigated. Ten samples of size 100 are
selected.
Sample # 1 2 3 4 5 6 7 8 9 10
# Nonconf. 5 2 3 8 4 1 2 6 3 4
Example
n = 100, m = 10
Sample # 1 2 3 4 5 6 7 8 9 10
# Nonconf. 5 2 3 8 4 1 2 6 3 4
Fraction
0.05 0.02 0.03 0.08 0.04 0.01 0.02 0.06 0.03 0.04
Nonconf.
m
p i
p i 1
0.038
m
Control Charts for Fraction
Nonconforming
p (1 p )
Example UCL p 3
n
Control Limits are: CL p
p (1 p )
LCL p 3
n
0.038(1 0.038)
UCL 0.038 3 0.095
100
CL 0.038
0.038(1 0.038)
LCL 0.038 3 0.02 0
100
Control Charts for Fraction
Nonconforming
Example
P Ch art for C1
0.10
3.0SL= 0.09536
Proporti on
0.05
P= 0.03800
0 1 2 3 4 5 6 7 8 9 10
S a m pl e N u m b er
Control Charts for Fraction
Nonconforming
p(1 p)
LCL p L 0
n
and
(1 p) 2
n L
p
Control Charts for Fraction
Nonconforming
p(1 p)
p3
ni
Variable Sample Size
The OC Function
The number of nonconforming units, D, follows
a binomial distribution. Let p be a standard
value for the fraction nonconforming. The
probability of committing a Type II error is
P(p UCL | p) P(p LCL | p)
P(D nUCL | p) P(D nLCL | p)
The Operating-Characteristic Function and
Average Run Length Calculations
Example
Consider a fraction nonconforming process
where samples of size 50 have been collected
and the upper and lower control limits are
0.3697 and 0.0303, respectively.It is important
to detect a shift in the true fraction
nonconforming to 0.30. What is the probability
of committing a Type II error, if the shift has
occurred?
The Operating-Characteristic Function and
Average Run Length Calculations
Example
For this example, n = 50, p = 0.30, UCL =
0.3697, and LCL = 0.0303. Therefore, from the
binomial distribution,
P(D nUCL | p) P(D nLCL | p)
P(D 50(0.3697) | 0.30) P(D 50(0.0303 | 0.30)
P(D 18.48 | 0.30) P(D 1.515 | 0.30)
P(D 18 | 0.30) P(D 1 | 0.30)
0.8594 0
0.8594
The Operating-Characteristic Function and
Average Run Length Calculations
1.0
0.5
B
0.0
ARL
The average run lengths for fraction
nonconforming control charts can be found as
before:
1
The in-control ARL is ARL 0
1
The out-of-control ARL is ARL 1
1
Control Charts for Nonconformities (Defects)
Poisson Distribution
The number of nonconformities in a given area can be
modeled by the Poisson distribution. Let c be the
parameter for a Poisson distribution, then the mean and
variance of the Poisson distribution are equal to the
value c.
The probability of obtaining x nonconformities on a
single inspection unit, when the average number of
nonconformities is some constant, c, is found using:
ecc x
p( x )
x!
Procedures with Constant Sample Size
c-chart
UCL c 3 c
Standard Given:
CL c
LCL c 3 c
UCL c 3 c
No Standard Given: CL c
LCL c 3 c
Procedures with Constant Sample Size
u
UCL u 3
n
CL u
u
LCL u 3
n
Procedures with Variable Sample Size
u
u3
ni
Procedures with Variable Sample Size
u
u3
n
Procedures with Variable Sample Size
Demerit Schemes
Demerit Schemes
The following weights are fairly popular in
practice:
Class A-100, Class B - 50, Class C 10, Class D - 1
u
n
The Operating-Characteristic Function
Alternative
Chart the time between successive occurrences
of the counts or time between events control
charts.
If defects or counts occur according to a
Poisson distribution, then the time between
counts occur according to an exponential
distribution.
Dealing with Low-Defect Levels
Consideration
Exponential distribution is skewed.
Corresponding control chart very asymmetric.
One possible solution is to transform the exponential
random variable to a Weibull random variable using
x = y1/3.6 (where y is an exponential random variable)
this Weibull distribution is well-approximated by a
normal.
Construct a control chart on x assuming that x
follows a normal distribution.
Choice Between Attributes
and Variables Control Charts