powered by
Compute steady-state ARLs of EO-CUSUM control charts using simulation.
eocusum_adoc_sim(r, k, h, df, coeff, coeff2, QS = 1, side = "low", type = "cond", m = 50)
Integer. Number of of simulation runs.
Double. Reference value of the CUSUM control chart. Either 0 or a positive value. Can be determined with function optimal_k.
0
optimal_k
Double. Decision interval (alarm limit, threshold) of the CUSUM control chart.
Data Frame. First column Parsonnet Score and second column outcome of each operation.
Numeric Vector. Estimated coefficients \(\alpha\) and \(\beta\) from the binary logistic regression model.
Numeric Vector. Estimated coefficients \(\alpha\) and \(\beta\) from the binary logistic regression model of a resampled dataset.
Double. Defines the performance of a surgeon with the odds ratio ratio of death Q.
Q
Character. Default is "low" to calculate ARL for the upper arm of the V-mask. If side = "up", calculate the lower arm of the V-mask.
"low"
"up"
Character. Default argument is "cond" for computation of conditional steady-state. Other option is the cyclical steady-state "cycl".
"cond"
"cycl"
Integer. Simulated in-control observations.
Returns a single value which is the Run Length.
# NOT RUN { # This function is deprecated. See eocusum_ad_sim() instead. # }
Run the code above in your browser using DataLab