arl: ARL for Lucas's Cusum Chart for Attribute Data
Description
Calculates ARL for Lucas's Cusum Chart for Attribute Data
Usage
arl(h=2,k=2,lambda=1,shift=.5)
Arguments
h
input - this is the decision limit. It should be an even number, so that h/2 for the FIR feature will also be an integer.
k
input - this is the reference value. It should be calculated as (mu_d-mu_a)/ln(mu_d-mu_a), where mu_a is the in-control Poisson mean and mu_d mean to detect. k should be rounded to an integer.
lambda
input - this is the in-control Poisson mean.
shift
input - this is the number of standard deviation shift from the in-control mean to the mean to detect , i.e.,
lambda+shift*sqrt(lambda)=mu_d.
Value
returned list containing the ARL and the ARL with FIR.