This function calculates the Average Run Length (ARL) of a CUSUM control chart based on the Gamma distribution,
incorporating a cautious learning scheme for the dynamic update of parameters.
The function allows the evaluation of the CUSUM chart’s performance under different parameterization scenarios,
ensuring efficient detection of process changes.
Based on the methodology presented in the work of Madrid-Alvarez, García-Díaz, and Tercero-Gómez (2024),
this implementation uses Monte Carlo simulations optimized in C++ for efficient execution
and progressive adjustment of the control chart parameters.
The values for H_minus
, H_delta
, K_l
, delay
, and tau
can be referenced in the tables from the article:
Madrid-Alvarez, H. M., García-Díaz, J. C., & Tercero-Gómez, V. G. (2024).
A CUSUM control chart for the Gamma distribution with cautious parameter learning.
Quality Engineering, 1-23.
Usage Scenarios:
Scenario 1: Known alpha
and estimated beta
The alpha
parameter is assumed to be fixed and known in advance.
beta
is estimated from a dataset or provided by the user.
The user must specify alpha
and an initial estimate of beta
(beta0_est
).
Scenario 2: Both alpha
and beta
are estimated
Both alpha
and beta
are estimated from an external dataset.
The user must calculate alpha0_est
and beta0_est
before calling the function.
beta0_est
is dynamically updated during the simulation when a predefined condition is met.
Features:
Implements Monte Carlo simulations for ARL estimation.
Allows dynamic updating of beta0_est
to improve model adaptation.
Uses C++ optimization for efficient and precise execution.
Compatible with scenarios where alpha
is either known or estimated.
Recommended values for H_minus
, H_delta
, K_l
, delay
, and tau
can be found in the reference article.
This function is ideal for quality control studies where reliable detection of process changes
modeled with Gamma distributions is required.