Package: csbewma 1.0.1

Faruk Muritala
csbewma: Cumulative Standardized Binomial EWMA for Multiple Stream Processes
Implements the Cumulative Standardized Binomial Exponentially Weighted Moving Average (CSB-EWMA) control chart for monitoring multiple independent streams with binomial outcomes. Provides exact variance calculations, adaptive control limits, post-hoc identification with multiple testing corrections (Bonferroni, Holm, Benjamini-Hochberg), and visualization tools. The method is described in Muritala et al. (2026) <doi:10.48550/arXiv.2601.09968>.
Authors:
csbewma_1.0.1.tar.gz
csbewma_1.0.1.tar.gz(r-4.7-any)csbewma_1.0.1.tar.gz(r-4.6-any)
csbewma_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
csbewma/json (API)
| # Install 'csbewma' in R: |
| install.packages('csbewma', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:3fb8ee5719. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 135 | ||
| source / vignettes | OK | 159 | ||
| linux-release-x86_64 | OK | 143 | ||
| wasm-release | OK | 118 |
Exports:apply_multiple_testingcalculate_pvaluescsb_ewmadichotomize_dataflagged_streams_summarygenerate_continuous_dataidentify_oocplot_chart_with_flaggedplot_csb_ewma_directplot_flagged_streamsprecompute_variancerlaplacerun_csb_ewmavar_rt_exact_single
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecyclepatchworkR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Apply multiple testing corrections | apply_multiple_testing |
| Calculate p-values for all streams | calculate_pvalues |
| CSB-EWMA Control Chart | csb_ewma |
| Dichotomize Continuous Data to Binary Indicators | dichotomize_data |
| Summarize flagged streams | flagged_streams_summary |
| Generate Continuous Data from Specified Distribution | generate_continuous_data |
| Identify out-of-control streams Main function for post-hoc identification using multiple testing corrections. | identify_ooc |
| Combined Diagnostic Dashboard | plot_chart_with_flagged |
| Direct Plot for CSB-EWMA Results | plot_csb_ewma_direct |
| Plot Flagged Streams Bar Chart | plot_flagged_streams |
| Plot CSB-EWMA Control Chart | plot.csb_ewma |
| Precompute variance vector for all time points | precompute_variance |
| Prints a formatted summary of CSB-EWMA chart results. | print.csb_ewma |
| Generate Laplace (Double Exponential) Random Variables | rlaplace |
| Run CSB-EWMA Chart on Binary Data | run_csb_ewma |
| Compute exact CSB-EWMA variance for a single time point | var_rt_exact_single |