PH2.get.cc.EPC: PH2.get.cc.EPC

Description Usage Arguments Examples

View source: R/main.R

Description

Obtain a Phase II charting constant by exceedance probability criterion.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
PH2.get.cc.EPC(
	p, 
	k, 
	nu = k - 1, 
	eps = 0.1, 
	ARL0 = 370, 
	c4.option = TRUE, 
	interval = c(1, 10), 
	u = runif(100000), 
	v = runif(100000),
	tol = .Machine$double.eps^0.25
)

Arguments

p

exceedance probability

k

number of subgroups

nu

degrees of freedom

eps

a nominal allowable changes of the in-control average run length

ARL0

a nominal in-control average run length

c4.option

TRUE - the standard deviation estimator corrected by c4. FALSE - no c4 involved

interval

the searching range of lower prediction bound of average run length

u

a seqeuence between 0 and 1, and u and v are mutually independent

v

a seqeuence between 0 and 1, and u and v are mutually independent

tol

a tolerance level for the convergence

Examples

1
PH2.get.cc.EPC(p = 0.1,	k = 30)

bolus123/PH1AND2XBAR documentation built on May 7, 2019, 10:56 a.m.