Learn R Programming

spc (version 0.7.1)

Statistical Process Control -- Calculation of ARL and Other Control Chart Performance Measures

Description

Evaluation of control charts by means of the zero-state, steady-state ARL (Average Run Length) and RL quantiles. Setting up control charts for given in-control ARL. The control charts under consideration are one- and two-sided EWMA, CUSUM, and Shiryaev-Roberts schemes for monitoring the mean or variance of normally distributed independent data. ARL calculation of the same set of schemes under drift (in the mean) are added. Eventually, all ARL measures for the multivariate EWMA (MEWMA) are provided.

Copy Link

Version

Install

install.packages('spc')

Monthly Downloads

859

Version

0.7.1

License

GPL (>= 2)

Maintainer

Last Published

August 27th, 2024

Functions in spc (0.7.1)

pois.cusum.crit.L0L1

Compute the CUSUM k and h for given in-control ARL L0 and out-of-control ARL L1, Poisson case
pois.ewma.crit

Compute ARLs of Poisson EWMA control charts
phat.ewma.arl

Compute ARLs of EWMA phat control charts
pois.ewma.ad

Compute steady-state ARLs of Poisson EWMA control charts
scusum.crit

Compute decision intervals of CUSUM control charts (variance charts)
quadrature.nodes.weights

Calculate quadrature nodes and weights
pois.ewma.arl

Compute ARLs of Poisson EWMA control charts
pois.cusum.crit

Compute alarm thresholds and randomization constants of Poisson CUSUM control charts
scusum.arl

Compute ARLs of CUSUM control charts (variance charts)
pois.cusum.arl

Compute ARLs of Poisson CUSUM control charts
tewma.arl

Compute ARLs of Poisson TEWMA control charts
sewma.sf

Compute the survival function of EWMA run length
sewma.arl

Compute ARLs of EWMA control charts (variance charts)
sewma.crit.prerun

Compute critical values of of EWMA (variance charts) control charts under pre-run uncertainty
sewma.q

Compute RL quantiles of EWMA (variance charts) control charts
sewma.arl.prerun

Compute ARLs of EWMA control charts (variance charts) in case of estimated parameters
sewma.sf.prerun

Compute the survival function of EWMA run length
sewma.crit

Compute critical values of EWMA control charts (variance charts)
scusums.arl

Compute ARLs of CUSUM-Shewhart control charts (variance charts)
sewma.q.prerun

Compute RL quantiles of EWMA (variance charts) control charts under pre-run uncertainty
xDcusum.arl

Compute ARLs of CUSUM control charts under drift
tol.lim.fac

Two-sided tolerance limit factors
xDewma.arl

Compute ARLs of EWMA control charts under drift
xcusum.crit.L0L1

Compute the CUSUM k and h for given in-control ARL L0 and out-of-control L1
xcusum.crit

Compute decision intervals of CUSUM control charts
xcusum.ad

Compute steady-state ARLs of CUSUM control charts
xcusum.arl

Compute ARLs of CUSUM control charts
xDshewhartrunsrules.arl

Compute ARLs of Shewhart control charts with and without runs rules under drift
xcusum.crit.L0h

Compute the CUSUM reference value k for given in-control ARL and threshold h
xDgrsr.arl

Compute ARLs of Shiryaev-Roberts schemes under drift
xcusum.q

Compute RL quantiles of CUSUM control charts
xewma.ad

Compute steady-state ARLs of EWMA control charts
xewma.crit

Compute critical values of EWMA control charts
xewma.arl.prerun

Compute ARLs of EWMA control charts in case of estimated parameters
xewma.q

Compute RL quantiles of EWMA control charts
xewma.arl.f

Compute ARL function of EWMA control charts
xewma.arl

Compute ARLs of EWMA control charts
xewma.q.prerun

Compute RL quantiles of EWMA control charts in case of estimated parameters
xcusum.sf

Compute the survival function of CUSUM run length
xewma.sf

Compute the survival function of EWMA run length
xgrsr.crit

Compute alarm thresholds for Shiryaev-Roberts schemes
xewma.sf.prerun

Compute the survival function of EWMA run length in case of estimated parameters
xsewma.arl

Compute ARLs of simultaneous EWMA control charts (mean and variance charts)
xsewma.sf

Compute the survival function of simultaneous EWMA control charts (mean and variance charts)
xshewhartrunsrules.arl

Compute ARLs of Shewhart control charts with and without runs rules
xshewhart.ar1.arl

Compute ARLs of modified Shewhart control charts for AR(1) data
xsewma.q

Compute critical values of simultaneous EWMA control charts (mean and variance charts) for given RL quantile
xgrsr.ad

Compute steady-state ARLs of Shiryaev-Roberts schemes
xgrsr.arl

Compute (zero-state) ARLs of Shiryaev-Roberts schemes
xsewma.crit

Compute critical values of simultaneous EWMA control charts (mean and variance charts)
xtewma.arl

Compute ARLs of EWMA control charts, t distributed data
xtewma.sf

Compute the survival function of EWMA run length
x.res.ewma.arl

Compute ARLs of EWMA residual control charts
xtshewhart.ar1.arl

Compute ARLs of modified Shewhart control charts for AR(1) data with Student t residuals
xtewma.q

Compute RL quantiles of EWMA control charts
xtcusum.arl

Compute ARLs of CUSUM control charts
xtewma.ad

Compute steady-state ARLs of EWMA control charts, t distributed data
dphat

Percent defective for normal samples
mewma.arl

Compute ARLs of MEWMA control charts
mewma.crit

Compute alarm threshold of MEWMA control charts
euklid.ewma.arl

Compute ARLs of Poisson NCS-EWMA control charts
imr.RuRl_alone

Compute control limits of MR charts for normal data
p.ewma.arl

Compute ARLs of binomial EWMA p control charts
lns2ewma.crit

Compute critical values of EWMA ln \(S^2\) control charts (variance charts)
lns2ewma.arl

Compute ARLs of EWMA ln \(S^2\) control charts (variance charts)
mewma.psi

Compute steady-state density of the MEWMA statistic
imr.arl

Compute ARLs and control limit factors for I-MR combos in case of normal data