bcusum_arl_sim: Compute ARLs of the Bernoulli CUSUM control charts using...

Description Usage Arguments Value Author(s)

View source: R/racusum_sim.R

Description

Compute ARLs of the Bernoulli CUSUM control charts using simulation.

Usage

1
bcusum_arl_sim(r, h, df, R0 = 1, RA = 2)

Arguments

r

Integer Vector. Number of runs.

h

Double. Control Chart limit for detecting deterioration/improvement.

df

Data Frame. First column are Parsonnet Score values within a range of 0 to 100 representing the preoperative patient risk. The second column are binary (0/1) outcome values of each operation.

R0

Double. Odds ratio of death under the null hypotheses.

RA

Double. Odds ratio of death under the alternative hypotheses.

Value

Returns a single value which is the Run Length.

Author(s)

Philipp Wittenberg


vlad documentation built on Feb. 15, 2021, 5:12 p.m.