Description Usage Arguments Value Author(s) References Examples

Calculates ARL for Lucas's Cusum Chart for Attribute Data

1 | ```
arl(h=2,k=2,lambda=1,shift=.5)
``` |

`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. |

returned list containing the ARL and the ARL with FIR.

John Lawson

Lucas, J.M.(1985) "Counted data cusums", Technometrics, Vol. 27, No. 2, pp129-143.

1 2 3 4 5 |

```
Registered S3 method overwritten by 'DoE.base':
method from
factorize.factor conf.design
[[1]]
[1] "ARL="
[[2]]
[1] 37.2
[[3]]
[1] " ARL(FIR)="
[[4]]
[1] 29.19
[[5]]
[1] " Valid if h is a even integer "
[[1]]
[1] "ARL="
[[2]]
[1] 5.49
[[3]]
[1] " ARL(FIR)="
[[4]]
[1] 3.33
[[5]]
[1] " Valid if h is a even integer "
NULL
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.