Learn R Programming

vlad

An R-package which contains functions to set up risk-adjusted quality control charts in health care.

Main features

  • Risk-adjusted CUSUM chart control limit calculations based on fast and accurate Markov chain approximations (Knoth, Wittenberg, and Gan 2019)
  • Risk-adjusted CUSUM chart based on E-O (Wittenberg, Gan, and Knoth 2018)
  • Risk-adjusted CUSUM chart based on log-likelihood ratio statistic (Steiner et al. 2000)
  • Algorithms are implemented using Rcpp, RcppArmadillo and parallel computation

Installation

You can install the released version of vlad from CRAN with:

install.packages("vlad")

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("wittenberg/vlad")

The package compiles C++ source code during installation, therefore you need the appropriate compilers:

On Windows you need Rtools available from CRAN.

On macOS you need the Clang 6.x compiler and the GNU Fortran compiler from macOS tools. Having installed the compilers, you need to open a terminal and start R via ‘PATH=/usr/local/clang6/bin:$PATH R’. You can then install the package via devtools::install_github(“wittenberg/vlad”)

Examples

Supplemental material: Risk-adjusted CUSUM charts under model error

Authors

Philipp Wittenberg and Sven Knoth

License

GPL (>= 2)

References

Knoth, S, P Wittenberg, and FF Gan. 2019. “Risk-Adjusted CUSUM Charts Under Model Error.” Statistics in Medicine 38 (12): 2206–18. https://doi.org/10.1002/sim.8104.

Steiner, SH, RJ Cook, VT Farewell, and T Treasure. 2000. “Monitoring Surgical Performance Using Risk-Adjusted Cumulative Sum Charts.” Biostatistics 1 (4): 441–52. https://doi.org/10.1093/biostatistics/1.4.441.

Wittenberg, P, FF Gan, and S Knoth. 2018. “A Simple Signaling Rule for Variable Life-Adjusted Display Derived from an Equivalent Risk-Adjusted CUSUM Chart.” Statistics in Medicine 37 (16): 2455–73. https://doi.org/10.1002/sim.7647.

Copy Link

Version

Install

install.packages('vlad')

Monthly Downloads

50

Version

0.2.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Philipp Wittenberg

Last Published

February 15th, 2021

Functions in vlad (0.2.2)

eocusum_arl_sim

Compute ARLs of EO-CUSUM control charts using simulation
ell

Estimated log-likelihood.
bcusum_crit_sim

Compute alarm threshold of Bernoulli CUSUM control charts using simulation
VMASK3

Vmask3
bcusum_arl_sim

Compute ARLs of the Bernoulli CUSUM control charts using simulation
QQ

Pearson measure
eocusum_crit_sim

Compute alarm threshold of EO-CUSUM control charts using simulation
eocusum_ad_sim

Compute steady-state ARLs of EO-CUSUM control charts using simulation
compute_vmask

Compute V-Masks arms, nose and alarm points
eocusum_scores

Compute CUSUM scores based on E-O
racusum_betabinomial_arl_sim

Compute ARLs of RA-CUSUM control charts using simulation
racusum_arl

ARL of RA-CUSUM charts
racusum_ad_sim

Compute steady-state ARLs of RA-CUSUM control charts using simulation
racusum_beta_arl

ARL of Beta RA-CUSUM charts
racusum_beta_crit

Alarm thresholds of Beta RA-CUSUM charts
racusum_discretebeta_arl_sim

Compute ARLs of RA-CUSUM control charts using simulation
racusum_scores

Compute CUSUM scores based on the log-likelihood ratio statistic
racusum_discretebeta_crit_sim

Compute alarm threshold of RA-CUSUM control charts using simulation
racusum_crit

Alarm thresholds of RA-CUSUM charts
racusum_betabinomial_crit_sim

Compute alarm threshold of RA-CUSUM control charts using simulation
trafo

Box-Cox transformation of data.
vlad-package

Variable Life Adjusted Display and Other Risk-Adjusted Quality Control Charts
optimal_k

Compute approximate optimal k
llr_score

Compute the log-likelihood ratio score
search_delta

Search Box-Cox transformation parameter
surgery

Surgical outcome data.