Algorithm AS 258: Average Run Lengths for Cumulative Sum Schemes

CUSUM schemes are most commonly characterized by the average run length (ARL). The algorithms described here calculate ARLs for one- or two-sided CUSUM schemes. The algorithms were designed to give reasonable accuracy quickly for a wide range of parameter values