racusum_arl_h_sim {vlad} | R Documentation |
Compute alarm threshold of risk-adjusted cumulative sum control charts using simulation.
racusum_arl_h_sim(L0, df, coeff, R0 = 1, RA = 2, m = 100, yemp = TRUE, 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 |
coeff |
Numeric Vector. Estimated coefficients alpha and beta from the binary logistic regression model. |
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. |
yemp |
Logical. If |
nc |
Integer. Number of cores used for parallel processing. |
jmax |
Integer. Number of digits for grid search. |
verbose |
Logical. If |
The function racusum_arl_h_sim
determines the control limit h
for given
in-control ARL (L0
) by applying a multi-stage search procedure which includes secant
rule and the parallel version of racusum_arl_sim
using mclapply
.
Returns a single value which is the control limit h
for a given in-control ARL.
Philipp Wittenberg
# This function is deprecated. See racusum_crit_sim() instead.