Learn R Programming

vlad (version 0.2.0)

cusum_arl_sim: Compute ARLs of Bernoulli CUSUM control charts using simulation

Description

Compute ARLs of Bernoulli cumulative sum control charts using simulation.

Usage

cusum_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.

Examples

Run this code
# NOT RUN {
# This function is deprecated. See bcusum_arl_sim() instead.

 
# }

Run the code above in your browser using DataLab