factors.for.chart | R Documentation |
Factors for constructing control charts.
factors.cc(n, factor=c( "A","A1","A2","A3", "B1","B2","B3","B4","B5","B6", "c2","c4", "d2","d3","D1","D2","D3","D4", "E1", "E2", "E3"), sigmaFactor=3)
n |
sample size (n ≥ 2). |
factor |
a character string specifying the foctor. |
sigmaFactor |
a factor for the standard deviation (σ). |
The values of the factors are used for constructing various control charts.
For example, the conventional X-bar chart with the sample standard deviation is given by
"X.bar.bar + A3*S.bar" and "X.bar.bar - A3*S.bar."
For more details, refer to vignette("factors.cc", package="rQCC")
.
It returns a numeric value.
Chanseok Park
ASTM (2010). Manual on Presentation of Data and Control Chart Analysis (STP 15-D), 8th edition. American Society for Testing and Materials, West Conshohocken, PA.
ASTM (1951). Manual on Quality Control of Materials (STP 15-C), American Society for Testing and Materials, Philadelphia, PA.
c4.factor
{rQCC} for c4 factor
for the finite-sample unbiasing factor to estimate
the standard deviation (σ) under the normal distribution
using various estimators such as the sample standard deviation,
the sample range, the median absolute deviation (MAD), and
the Shamos estimator.
## A3 is used for constructing the conventional X-bar chart # with the sample standard deviation. factors.cc(n=10, factor="A3") ## Unbiasing factor for the standard deviation # using the sample standard deviation. factors.cc(n=10, factor="c4") # The above is the same as below: c4.factor(n=10, estimator="sd") ## Unbiasing factor for the standard deviation # using the sample range. factors.cc(n=10, factor="d2") # The above is the same as below: c4.factor(n=10, estimator="range") ## Table B2 in Supplement B of ASTM (1951). char = c("A","A1","A2","c2", "B1","B2","B3","B4", "d2","d3","D1","D2","D3","D4") nn = 2L:25L res=NULL for(n in nn){tmp=NULL;for(ch in char) tmp=c(tmp,factors.cc(n,ch));res=rbind(res,tmp)} rownames(res) = paste0("n=",nn) round(res,4) ## Table 49 in Chapter 3 of ASTM (2010). char = c("A","A2","A3","c4", "B3","B4","B5","B6", "d2","d3","D1","D2","D3","D4") nn = 2L:25L res=NULL for(n in nn){tmp=NULL;for(ch in char) tmp=c(tmp,factors.cc(n,ch));res=rbind(res,tmp)} rownames(res) = paste0("n=",nn) round(res,4) ## Table 50 in Chapter 3 of ASTM (2010). char = c("E2", "E3") nn = 2L:25L res=NULL for(n in nn){tmp=NULL;for(ch in char) tmp=c(tmp,factors.cc(n,ch));res=rbind(res,tmp)} rownames(res) = paste0("n=",nn) round(res,3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.