npcrs2 {qccrs} | R Documentation |
Calculates Average Sample Numbers (ASN), Average Run Length (ARL1) and value of k1 and k2 for attributes control charts under repetitive sampling as given in Aslam et al.(2014)
npcrs2(.n, .p0, .f, .ssize = NULL, .k1 = NULL, .k2 = NULL,
.k1r = NULL, .k2r = NULL)
## Default S3 method:
npcrs2(.n, .p0, .f, .ssize = NULL, .k1 = NULL,
.k2 = NULL, .k1r = NULL, .k2r = NULL)
.n |
Sample Size |
.p0 |
probability that process is in control |
.f |
Size of the Shift |
.ssize |
Number of samples with replacement at each iteration |
.k1 |
Fixed positive constant |
.k2 |
Fixed positive constant |
.k1r |
Random postive constant |
.k2r |
Random postive constant |
ASN, ARL, K1 and K2
Muhammad Yaseen (myaseen208@gmail.com)
Muhammad Aslam (aslam_ravian@hotmail.com)
Sami Ullah (samiullahuos@gmail.com)
Muhammad Azam (mazam@uvas.edu.pk)
Chi-Hyuck Jun (chjun@postech.ac.kr)
Muhammad Kashif (mkashif@uaf.edu.pk)
Aslam, M., Azam, M. and Jun, C. (2014). New Attributes and Variables Control Charts under Repetitive Sampling. Industrial Engineering & Management Systems. 13(1):101-106.
library(magrittr)
npcrs2(
.n = 40
, .p0 = 0.10
, .f = 0.1
, .ssize = 1000
, .k1r = 4
, .k2r = .95
)
npcrs2(
.n = 40
, .p0 = 0.10
, .f = 0.1
, .k1 = 3.13
, .k2 = .731
)