EWMAARL Function |
computes the average run length for an exponentially weighted moving average.
EWMAARL
where
|
is the shift to be detected, expressed as a multiple of the process standard deviation (), where . |
is the weight factor for the current subgroup mean in the EWMA, where . If , the EWMAARL function returns the average run length for a Shewhart chart for means. Refer to Wadsworth, Stephens, and Godfrey (1986). If , , and , the algorithm used is unstable. However, note that the EWMA behaves like a cusum when , and in this case the CUSUMARL function is applicable. |
|
is the multiple of used to define the control limits, where . Typically . |
The EWMAARL function computes the average run length for an exponentially weighted moving average (EWMA) scheme using the method of Crowder (1987a, 1987b). The notation used in the preceding list is consistent with that used in the MACONTROL procedure.
For a specified shift , you can use the EWMAARL function to design an exponentially weighted moving average scheme by first calculating average run lengths for a range of values of and and then choosing the combination of and that yields a desired average run length.