Description Details Author(s) References Examples
The utility of this package is in building a Shewhart-type Phase II control chart based on new methods for the charting statistics, subgroup means.
Package: | PH2XBAR |
Type: | Package |
Date: | 2018-01-05 |
License: | GPL (>= 3) |
Function 'PH2XBAR' builds a Shewhart Phase II X-bar control chart with a correct charting constant. Function 'getCC' gets a charting constant using CUC or EPC method. Function 'getCC.EPC' gets a charting constant using EPC method. Function 'getCC.CUC' gets a charting constant using CUC method.
Yuhui Yao, Subha Chakraborti.
Maintainer: Yuhui Yao <yyao17@crimson.ua.edu>
Yao Y, Chakraborti S. xxx
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # Build a Phase II basic Shewhart control chart
data(Ph1data)
data(Ph2data)
X1 <- as.matrix(Ph1data[, 2:4]) ^ (1/3)
X2 <- as.matrix(Ph2data[, 2:4]) ^ (1/3)
X2[which(is.na(X2))] <- mean(X1)
PH2XBAR(
X2 = X2,
X1 = X1,
cc = NULL,
ARL0 = 370,
interval = c(1, 4),
CUC.tol = 1e-2,
CUC.maxIter = 1000,
EPC.p0 = 0.05,
EPC.epstilda = 0,
cc.option = c('EPC', 'CUC'),
ubCons.option = TRUE,
plot.option = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.