Description Usage Arguments Details Value Author(s)
Compute alarm threshold of Bernoulli cumulative sum control charts using simulation.
1 2 | bcusum_crit_sim(L0, df, R0 = 1, RA = 2, m = 100, nc = 1, jmax = 4,
verbose = FALSE)
|
L0 |
Double. Prespecified in-control Average Run Length. |
df |
Data Frame. First column are Parsonnet Score values within a range of |
R0 |
Double. Odds ratio of death under the null hypotheses. |
RA |
Double. Odds ratio of death under the alternative hypotheses. Detecting deterioration
in performance with increased mortality risk by doubling the odds Ratio |
m |
Integer. Number of simulation runs. |
nc |
Integer. Number of cores. |
jmax |
Integer. Number of digits for grid search. |
verbose |
Logical. If |
The function bcusum_crit_sim
determines the control limit for given in-control
ARL (L0
) by applying a multi-stage search procedure which includes secant rule and the
parallel version of bcusum_arl_sim
using mclapply
.
Returns a single value which is the control limit h
for a given in-control ARL.
Philipp Wittenberg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.