View source: R/GICCLdown_Chart.R
plot_GICCLdown_Chart | R Documentation |
This function generates a downward CUSUM control chart for a Gamma distribution, incorporating a cautious parameter updating mechanism based on guaranteed performance.
It enables dynamic process monitoring, ensuring progressive adaptation to changes in the distribution.
This approach follows the methodology presented in the work of Madrid-Alvarez, García-Díaz, and Tercero-Gómez (2024), where a cautious learning scheme for parameter updating in CUSUM control charts applied to Gamma distributions is proposed.
The implementation captures changes in the distribution and adjusts the control limits to enhance the detection of process variations.
If the user does not provide Phase I and Phase II data, the function generates them automatically.
If known_alpha = TRUE
, alpha
is fixed and not estimated.
If known_alpha = FALSE
, alpha
is estimated from Phase I data.
Dynamic control limits and a summary of parameters are included.
Integrates a cautious learning scheme using the parameters k_l
, delay
, and tau
.
The parameters k_l
, delay
, and tau
are part of the cautious learning mechanism of the CUSUM chart. These values enable the dynamic
updating of beta0_est
and H_minus
, ensuring that the control chart progressively adapts to process changes, improving sensitivity in detecting deviations.
For proper implementation, it is recommended to reference the values proposed in:
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.
While these parameters have been tested and validated in the referenced article, users can adjust them based on the specific characteristics of their process, considering factors such as system variability and desired update frequency.
Additionally, if detailed guidance on selecting values for H_delta
and H_minus
is needed, it is recommended to review the referenced article,
which presents calibration and adjustment strategies for these limits to ensure optimal control chart performance.
plot_GICCLdown_Chart(
alpha,
beta,
beta_ratio,
H_delta,
H_minus,
known_alpha,
k_l,
delay,
tau,
n_I,
n_II,
faseI = NULL,
faseII = NULL
)
alpha |
Shape parameter of the Gamma distribution (if |
beta |
Scale parameter of the Gamma distribution. |
beta_ratio |
Ratio between |
H_delta |
Increment of the lower control limit. |
H_minus |
Initial lower control limit of the CUSUM chart. |
known_alpha |
Indicates whether |
k_l |
Secondary control threshold used in the learning logic. |
delay |
Number of observations before updating |
tau |
Time point at which the |
n_I |
Sample size in Phase I (if |
n_II |
Sample size in Phase II (if |
faseI |
Data sample from Phase I (numeric vector). If |
faseII |
Data sample from Phase II (numeric vector). If |
A plot showing the evolution of the downward CUSUM statistic with cautious learning, including:
The dynamically adjusted accumulated values of the CUSUM statistic.
Progressively updated control limits with guaranteed performance.
A summary of the parameters used in the control chart.
# Option 1: Providing Phase I and Phase II data
phaseI_data <- rgamma(n = 200, shape = 1, scale = 1)
phaseII_data <- rgamma(n = 710, shape = 1, scale = 1)
plot_GICCLdown_Chart(alpha = 1, beta = 1, beta_ratio = 1/2, H_delta = 4.2433,
H_minus= -4.8257, known_alpha = FALSE, k_l = 0.739588,
delay = 25, tau = 1, n_I = 200, n_II = 700,
faseI = phaseI_data, faseII = phaseII_data)
# Option 2: Without providing data, the function automatically generates them
plot_GICCLdown_Chart(alpha = 1, beta = 1, beta_ratio = 1/2, H_delta = 1.6763,
H_minus = -4.8257, known_alpha = FALSE, k_l = 0.739588,
delay = 25, tau = 1, n_I = 200,
n_II = 710, faseI = NULL, faseII = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.