the geometric moving averagethe geometric moving average

32
The Geometric Moving Average The Geometric Moving Average Control Chart: A Full-Purpose Process-Control Tool ASQ-Baltimore Section Meeting December 10, 2002 December 10, 2002 Melvin T. Alexander P t Ch i ASQ H lth C Di i i Past Chair ASQ Health Care Division

Upload: others

Post on 02-Feb-2022

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Geometric Moving AverageThe Geometric Moving Average

The Geometric Moving AverageThe Geometric Moving Average Control Chart: A Full-Purpose

Process-Control ToolASQ-Baltimore Section Meeting

December 10, 2002December 10, 2002Melvin T. Alexander

P t Ch i ASQ H lth C Di i iPast Chair – ASQ Health Care Division

Page 2: The Geometric Moving AverageThe Geometric Moving Average

Focus: SPC Forecasting Control ChartChart

Page 3: The Geometric Moving AverageThe Geometric Moving Average

liOutline

• Introduction• Classical vs Modern viewsClassical vs. Modern views• Comparison between charts

C i GMA h• Constructing GMA charts• Example• Conclusions

Page 4: The Geometric Moving AverageThe Geometric Moving Average

SPC Popular Due to

• Successful in Pre-1940s Technologygy• Japanese Advances in Quality• Regain Competitve Edge in 1980s• Regain Competitve Edge in 1980s

Page 5: The Geometric Moving AverageThe Geometric Moving Average

In Catching Up We Found

• Automated Systems Expanded• “Older Tools” Inadequate• Modern Tools Not Fully Usedy• Modern Methods Adopted/Adapted

Page 6: The Geometric Moving AverageThe Geometric Moving Average

Classical SPC “Passive”Classical SPC Passive

• Describes What Happened• Describes What Happened• Curative in Approach• Monitors Stability

Page 7: The Geometric Moving AverageThe Geometric Moving Average

Modern SPC “Active”

• Analyzes Causes & EffectP di F• Predicts Future

• Gives Dynamic Feedback/Feedfront yBasis for Action

Page 8: The Geometric Moving AverageThe Geometric Moving Average

Standard Control Chart Schemes

• Shewhart• Individuals, Moving Range, &

Moving Averageg g• CUSUM• GMA (EWMA)• GMA (EWMA)

Page 9: The Geometric Moving AverageThe Geometric Moving Average

Sh h C l ChShewhart Control Charts

• Developed by Dr. W.A. Shewhart (1924)• Monitors Process Stability with ControlMonitors Process Stability with Control Limits

• Points Outside Limits Signal Instability• Points Outside Limits Signal Instability• Places “Weight” on Latest Observation

Page 10: The Geometric Moving AverageThe Geometric Moving Average

Shewhart Charts ProsShewhart Charts Pros

E C• Easy to Construct• Detects Large Process

ShiftsShifts• Helps find process

change caused sochange caused so that countermeasures against adverse effects gmay be implemented

Page 11: The Geometric Moving AverageThe Geometric Moving Average

Shewhart Chart Cons

• Ignores History• Hard to Detect Small

Process shifts• Hard to Predict In/Out-of-

Control ProcessesControl Processes• Really is not Process

CONTROL, but is usedCONTROL, but is usedfor RESEARCH Control

Page 12: The Geometric Moving AverageThe Geometric Moving Average

Individuals, Moving Range & M i A ChMoving Average Charts

• Special-Case Shewhart Charts• Single Observations• Single Observations• Control signal Like Shewhart

Page 13: The Geometric Moving AverageThe Geometric Moving Average

Individual (I) Charts

• Few Units Made• Automated Testing on Each Unit• Automated Testing on Each Unit• Expensive Measurements• Slow Forming Data• Periodic (Weekly, Monthly) Adminstrative Data

Page 14: The Geometric Moving AverageThe Geometric Moving Average

Moving Range (MR) Charts

• Correspond to Shewhart Range h tcharts

• Used with Individuals • Plot Absolute Differences of Successive Pairs (Lags)( g )

Page 15: The Geometric Moving AverageThe Geometric Moving Average

Moving Average (MA) Charts

• Running Average of (=4,5) ObservationsObservations

• New MA Drops “Oldest” Valuei h l lik h h• Weight Places like Shewhart

(n=2 for MR; n=4,5 in MA;( ; , ;0 Otherwise)

Page 16: The Geometric Moving AverageThe Geometric Moving Average

I/MA/MR PI/MA/MR Pros

ll• Detects Small Process Shifts

• Uses Limited HistoryHistory

Page 17: The Geometric Moving AverageThe Geometric Moving Average

I/MA/MR CI/MA/MR Cons• Auto(Serial)

correlated Data Mislead Process StabilitySh N d• Show Nonrandom Patterns with R d D tRandom Data

Page 18: The Geometric Moving AverageThe Geometric Moving Average

Cusum Control Charts

• Introduced by E.S. Page (1954)• Cumulative Sums single Observations• Points Outside V-Mask limbs• Put Equal Weight on Observations

Page 19: The Geometric Moving AverageThe Geometric Moving Average

Cusum Chart Pros

D t t “S ll”• Detect “Small” Process Shifts

• Uses History

Page 20: The Geometric Moving AverageThe Geometric Moving Average

Cusum Chart Cons

• Fail to DiagnoseFail to Diagnose Out-of-control PatternsPatterns

• Hard to Construct V MaskV-Mask

Page 21: The Geometric Moving AverageThe Geometric Moving Average

Geometric (Exponetially Weighted) Moving Average (GMA/EWMA)Control Charts

• Introduced by S.W. Roberts (1959)t oduced by S.W. obe ts ( 959)Time Series

• Points Fall Outside Forecast Control o s Ou s de o ec s Co oLimits

• Weights (w) Assign Degrees of g ( ) g gImportance

• Resembles Shewhart & Cusum SchemesResembles Shewhart & Cusum Schemes

Page 22: The Geometric Moving AverageThe Geometric Moving Average

GMA(EWMA) Chart Pros

• Regular Use of iHistory

• Approaches Sh h if 1Shewhart if w=1,

• Approaches Cusum if 0if w=0

Page 23: The Geometric Moving AverageThe Geometric Moving Average

GMA (EWMA) Control chart Cons• Late in Catching TurningLate in Catching Turning

Points• Inaccurate for Auto(Serial) ( )

Correlated Data• Only One-ahead Forecasts

P iblPossible• Hard to Monitor Changes in

Weight (w)Weight (w)• Allow Only One Variation

Componentp

Page 24: The Geometric Moving AverageThe Geometric Moving Average

GMA Forecasting ModelF A F+ 1( ) * ( ) * ( )F w w A w F wt t t+ = + −1 1( ) * ( ) * ( )

= + −F w w A F wt t t( ) * ( ( ))t t t( ) ( ( ))

= +F w w e wt t( ) * ( )where

At : Actual Observation at time ttFt, t+1(w): Forecast at time t, t+1 using weight factor w

: Observed error ( ) at time te wt ( ) )(wFA tt −=

Page 25: The Geometric Moving AverageThe Geometric Moving Average

The Minimum-error Weight (w’) is ChosenThe Minimum-error Weight (w ) is Chosen from {w1, w2, … , wk} ≡ {1/T, 2/T, …, k/T}, S h th tSuch that

MiT T T T

2 2 2 2∑ ∑ ∑ ∑( ') { ( ) ( ) ( )}e w Min e w e w e wtt

tt

tt

tt

k2 2

12

22∑ ∑ ∑ ∑=( ') { ( ), ( ),..., ( )}

where 0 ≤ w1 ≤ wk ≤ 1 for k=T-1.

Page 26: The Geometric Moving AverageThe Geometric Moving Average

Sigmas (σ, σgma )

∑T

2 ( )σ = =

∑ e wT

tt

2

11

( )( )−T 1( )

T N f S lT = No. of Samples

Page 27: The Geometric Moving AverageThe Geometric Moving Average

The k-th Lag Error Autocorrelation ( ) :)ρ( ) :ρk

− −∑ [ ( ) ][ ( ) ]e w e e w ek

T

)ρk =−

= +∑

[ ( ) ][ ( ) ]

[ ( ) ]

e w e e w e

e w e

t t kt k

T1

2−−= +∑ [ ( ) ]e w et k

t k 1T

∑For k = 0, 1, 2, …, T , e = e w

T

tt=∑

1( )

T

Page 28: The Geometric Moving AverageThe Geometric Moving Average

1k

If)ρk < 2* ( )1 2 2

1

+−

∑ )ρt

k

ρk 1=tT

)ρkThen ≈ 0

Otherwise, Estimates the Non-zero Error Autocorrelation

)ρk

Page 29: The Geometric Moving AverageThe Geometric Moving Average

If the First-Lag Autocorrelation Exists (i e ≠ 0) Then a “Corrected” sigma (σ )

)ρ(i.e., ≠ 0), Then a Corrected sigma (σc) becomes:

ρ1

σc = [ * ( ) * / ]* /1 2 1 12+ −T T T)ρ σ

From Equation 18.3 of Box-Hunter-Hunter (1978 p 588)(1978, p. 588)

Page 30: The Geometric Moving AverageThe Geometric Moving Average

σgma = ])1(1[2

2tww

w−−

−σ

as t≅ wσ ∞→as t

Note: σ replaces σ if ≠ 0

w−2σ →

)ρ1Note: σc replaces σ if ≠ 0ρ1

Page 31: The Geometric Moving AverageThe Geometric Moving Average

Bayes Theorem cont.

Kalman filtering (Graves et al., 2001) and Abraham and Kartha (ASQC Annual TechnicalAbraham and Kartha (ASQC Annual Technical Conf. Trans., 1979) described ways to check weight stability.g y

Page 32: The Geometric Moving AverageThe Geometric Moving Average

Bayes Theorem cont.

H t l h t l t f thHowever, control chart plots of the errors help detect weight changes (i.e., errors h ld hibit d ttshould exhibit a random pattern,

if not, change the weight or th f t th d)the forecast method)