View source: R/EWMA_p_one_LCL.R
EWMA_p_one_LCL | R Documentation |
This function is used to calculate the one-sided lower control limit for EWMA-p charts with the correction of measurement error effects.
If two truly classified probabilities pi1
and pi2
are given by 1, then the corresponding control limit is free of measurement error.
EWMA_p_one_LCL(
p,
lambda,
n,
pi1 = 1,
pi2 = pi1,
ARL0 = 200,
M = 500,
error = 10
)
p |
The proportion of defectives in the in-control process. |
lambda |
An EWMA smooth constant, which is a scalar in [0,1]. |
n |
A sample size in the data. |
pi1 |
The proportion that the observed defectives are the same as unobserved ones. |
pi2 |
The proportion that the observed non-defectives are the same as unobserved ones. |
ARL0 |
A prespecified average run length (ARL) of a control chart in the in-control process. |
M |
The number of simulation times for the Monte Carlo method |
error |
The tolerant for the absolute different between an itevated ARL calue and prespecified |
L2
\hspace{2.2cm}
The coefficient of the lower control limit.
hat_ARL0
\hspace{1.1cm}
The estimated in-control average run length based on given L2
.
hat_MRL0
\hspace{1.1cm}
The estimated in-control median of run length based on given L2
.
hat_SDRL0
\hspace{0.9cm}
The estimated in-control standard deviation of run length based on given L2
.
LCL
\hspace{2cm}
The limiting value of the lower control limit with L2
.
EWMA_p_one_LCL(0.2,0.05,5,1,1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.