xtcusum.arl(k, h, df, mu, hs = 0, sided="one", mode="tan", r=30)"one" and "two", respectively.r+1."identity", "sin", "sinh", and "tan" (default) are provided.xtcusum.arl determines the Average Run Length (ARL) by numerically
solving the related ARL integral equation by means of the Nystroem method
based on Gauss-Legendre quadrature.D. Brook, D. A. Evans (1972), An approach to the probability distribution of cusum run length, Biometrika 59, 539-548.
J. M. Lucas, R. B. Crosier (1982), Fast initial response for cusum quality-control schemes: Give your cusum a headstart, Technometrics 24, 199-205.
L. C. Vance (1986), Average run lengths of cumulative sum control charts for controlling normal means, Journal of Quality Technology 18, 189-193.
K.-H. Waldmann (1986), Bounds for the distribution of the run length of one-sided and two-sided CUSUM quality control schemes, Technometrics 28, 61-67.
R. B. Crosier (1986), A new two-sided cumulative quality control scheme, Technometrics 28, 187-194.
xtewma.arl for zero-state ARL computation of EWMA control charts and xtcusum.arl for the zero-state ARL of CUSUM for normal data.