cmBE: Break-even value of cm parameter

View source: R/cmBE.R

cmBER Documentation

Break-even value of cm parameter

Description

Break-even value of c_m parameter (which is ratio of cost of inspection of one item by variables to cost of inspection of the item by attributes), i. e. the value of c_m for which mean inspection cost per lot of process average quality for inspection by variables and attributes is equal to mean inspection cost per lot of process average quality for inspection by attributes, using plan (n, c).

Usage

cmBE(N, pbar,px,n,c,type=c("LTPD","AOQL"),
type2 = c("exact", "napprox","ewmaSK","ewma2"),lam=1)

Arguments

N

lot size (number of items in the lot)

pbar

process average fraction defective

px

lot tolerance fraction defective pt (if type="LTPD", which is default) or average outgoing quality limit p_L (if type="AOQL")

n

sample size of benchmark plan for sampling inspection by attributes

c

acceptance number of benchmark plan for sampling inspection by attributes

type

type of acceptance sampling plan; "LTPD" stands for Lot Tolerance Percent Defective (see planLTPD), "AOQL" stands for Average Outgoing Quality Limit (see planAOQL)

type2

type of OC to be used

lam

smoothing parameter in case that the EWMA statistic is to be used, defaults to 1

Value

single number

References

Kasprikova, N. and Klufa, J.: AOQL Sampling Plans for Inspection by Variables and Attributes Versus the Plans for Inspection by Attributes. Quality Technology & Quantitative Management, 12/6. 2015.

See Also

planLTPD, planAOQL

Examples

cmBE(N=1000,pbar=0.001,px=0.01,n=80,c=0,type="LTPD",type2="exact");

LTPDvar documentation built on May 1, 2022, 5:07 p.m.