This function constructs control limits for the V and VSQ control charts based on probability (PCL) or k-sigma (KCL) limits using simulated data from the Maxwell distribution. The function allows for flexible configuration of control chart types and limit methods.
mxspc(m = 25, n = 4, alpha = 0.0027, sigma,
limit = "PCL", chart = "V", summary = FALSE)A list of control chart parameters is returned invisibly, which includes:
v: A vector of plotting statistics.
a: The matrix of simulated subgroup data.
LCL: The lower control limit (or probability limit).
CL: The center line of the control chart.
UCL: The upper control limit (or probability limit).
m: The number of subgroups.
n: The sample size for each subgroup.
sigma: The provided scale parameter for the Maxwell distribution.
limit: The type of limit used ("PCL" or "KCL").
chart: The type of control chart ("V" or "VSQ").
The number of subgroups or samples. Default is m = 25.
The size of each sample or subgroup. Default is n = 4.
The false alarm probability for control limit calculation. Default is alpha = 0.0027.
The scale parameter of the Maxwell distribution, which must be provided by the user.
The type of control limit to be used: either "PCL" for probability limit control chart or "KCL" for k-sigma limit control chart. Default is limit = "PCL".
The type of control chart to construct: either "V" for V chart or "VSQ" for VSQ chart. Default is chart = "V".
Logical value indicating whether to display a summary of control chart parameters. Default is summary = FALSE.
Zahid Khan
The function simulates data from the Maxwell distribution using the provided scale parameter (sigma) and calculates control limits and plotting statistics for the specified control chart type (V or VSQ). It allows for choosing between probability limit control charts and k-sigma control charts. The function does not generate a plot but returns all necessary values to construct the chart externally.
Hossain, M.P., Omar, M.H. and Riaz, M. (2017) "New V control chart for the Maxwell distribution". Journal of Statistical Computation and Simulation, 87(3), pp.594-606. <doi:10.1080/00949655.2016.1222391>
Shah, F., Khan, Z., Aslam, M. and Kadry, S. (2021) "Statistical Development of the VSQ‐Control Chart for Extreme Data with an Application to the Carbon Fiber Industry". Mathematical Problems in Engineering, 2021(1), p.9766986. <doi:10.1155/2021/9766986>
mxspc(m = 30, n = 4, alpha = 0.0027, sigma = 1777.86,
limit="PCL", chart = "V",summary = TRUE)
Run the code above in your browser using DataLab