Advanced Statistical Approaches To Quality: INSE 6220 - Week 6
Advanced Statistical Approaches To Quality: INSE 6220 - Week 6
i i 1
C i ( x j 0 ) ( x j 0 ) ( x i 0 ) C i 1 ( x i 0 )
j1 j1
=0, Ci is a random walk with mean zero
>0, Ci is an upward drift trend
<0, Ci is a downward drift trend
Using CUSUM
i
Ci (x
j 1
j 10)
The Tabular CUSUM for Monitoring the Process Mean
5
Ci max 0, xi ( 0 K ) Ci1
Ci max 0, ( 0 K ) xi Ci1
where the starting values are : C0 C0 0
| 1 0 |
K k
2 2
zi xi (1 ) zi 1
0 1
z0 0
z2 2 1 (1 ) 2i
i
2
i 1
zi (1 ) j xi j (1 )i z0
j 0
8
UCL 0 L 1 (1 ) 2i
2
CL 0
LCL 0 L 1 (1 ) 2i
2
(1 ) 2i 0, when i
Steady-state
control limits 10.8
Exponentially Weighted Moving Average (EWMA) Chart
10.7
27
UCL 0 L 26
2
10.6
UCL
10.5
LCL 0 L EWMA 10.4
2 10.3 CL
10.2
10.1
10 LCL
L = width of control limits (given) 3
9.9
0 5 10 15 20 25 30
Sample Number
9
10
UCL
11
Var ( X ) E ( X 2 ) ( E ( X ))2 2
Example
15
Mean
variance
s s2
16
Descriptive Statistics
17
Expected Value
E(X) = = np
Variance
Var(X) = 2 = np(1 - p)
19
and 2
20
Uniform Distribution
21
f ( x) e 2 2
x
a continuous random variable. 2
It has been used in a wide variety of with mean and variance 2
applications: The normal distribution is: X N ( , 2 )
Heights and weights of people
The visual appearance of the normal
Test scores distribution is a symmetric, unimodal or
Scientific measurements bell-shaped curve as shown in the figure.
Amounts of rainfall
It is widely used in statistical inference
22
0
23
np and np (1 p )
x 0.5 np
P( X x)
np (1 p )
24
Exponential Distribution
A continuous random variable X has an
exponential distribution with parameter if
the probability density function (pdf) is
e x x0
f ( x; )
0 otherwise
The mean and variance of a random variable X having the
exponential distribution
1 2 1
2
25
Chi-squared distribution
27
For k , tk N (0,1)
Consider X i N ( , 2 ) Then
X
X / n N (0,1)
t n 1
s/ n s / 1
n21
n 1
This is just the normalized distance from mean (normalized to our
estimate of the sample variance).
28
Students t-distribution
29
F distribution
30
X LCL x A2 R LCL D3 R
Xbar & R chart CL x CL R
R
d2 UCL x A2 R UCL D4 R
Example
x Chart :
UCL x A2 R
1.5056 (0.577)(0.32521) 1.69325
Central line x 1.5056
LCL x A2 R
1.5056 (0.577)(0.32521) 1.31795
R Chart :
UCL D4 R (2.114)(0.32521)
Central line R 0.32521
LCL D3 R (0)(0.32521)
x 1.50345
R 0.3360
32
Example
The grand average and the
average sample standard
deviation are:
1 25
X X i 74.001
25 i 1
1 25
S Si 0.0094
25 i 1
X chart
UCL X A3 S
74.001 (1.427)(0.0094) 74.014
CL X 74.001
LCL X A3 S
74.001 (1.427)(0.0094) 73.988
S chart
UCL B4 S
(2.089)(0.0094) 0.0196
CL S 0.0094
LCL B3 S
(0)(0.0094) 0
33
34
The X-bar and R charts give information about the capability of the
process relative to its specification limits.
We can estimate the fraction of nonconforming items for any
process where specification limits are involved.
Assume the process is normally distributed, and X is normally
distributed, then the fraction nonconforming can be found by
calculating:
36
X 0
Z0 (3-23)
/ n
X 0
Z0
/ n
X z / 2 X z / 2
n n
The p-value is the probability of observing the given sample result under the assumption that the null
hypothesis is true. If the p-value is less than , then you reject the null hypothesis. For example, if =
0.05 and the p-value is 0.03, then you reject the null hypothesis. The converse is not true. If the p-value
is greater than , you have insufficient evidence to reject the null hypothesis.
X 0
t0
s/ n
39
X t / 2 , n 1
S S S
X t ,n 1 X t ,n 1
n n n
40
/ 2, n 1
2
2
1 / 2 , n 1 2
1 , n 1
,n 1
2
41
( x 0.5) np0
np (1 p ) if x np0
0 0
Z0
( x 0.5) np0 if x np0
np0 (1 p0 )
H 0 : p p0
Hypothesis Testing:
H1 : p p0
( x 0.5) np0
np (1 p ) if x np0
0 0
Z0
( x 0.5) np0 if x np0
np0 (1 p0 )
Confidence Interval:
p (1 p ) p (1 p )
p z
p p z / 2
/2
n n
43
Examples:
(0.76) 0.776373
(1.3) ?
( 3) 1 (3) ?
(3.86) ?
44
t-distribution table
The shaded are is equal
to for t t ,
= degree of freedom
Example:
n 16, 0.05
t / 2,n 1 t0.025,15 2.131