View source: R/algo_rogerson.R
findK | R Documentation |
Calculates the reference value k
for a Poisson or binomial CUSUM
designed to detect a shift from \theta_0
to \theta_1
findK(theta0, theta1, distr = c("poisson", "binomial"),
roundK = FALSE, digits = 1, ...)
theta0 |
in-control parameter |
theta1 |
out-of-control parameter |
distr |
|
digits |
the reference value |
roundK |
For discrete data and rational reference value there is only
a limited set of possible values that the CUSUM can take (and
therefore there is also only a limited set of ARLs).
If |
... |
further arguments for the distribution function, i.e. number of
trials |
Returns reference value k
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.