00_PH2XBAR-package: Phase II Shewhart X-bar Control Chart

Description Details Author(s) References Examples

Description

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.

Details

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.

Author(s)

Yuhui Yao, Subha Chakraborti.

Maintainer: Yuhui Yao <yyao17@crimson.ua.edu>

References

Yao Y, Chakraborti S. xxx

Examples

 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) 

bolus123/PH2XBAR documentation built on Aug. 5, 2020, 11:50 a.m.