Learn R Programming

spc (version 0.7.2)

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

4,297

Version

0.7.2

License

GPL (>= 2)

Maintainer

Sven Knoth

Last Published

September 24th, 2025

Functions in spc (0.7.2)

pois.cusum.arl

Compute ARLs of Poisson CUSUM control charts
scusum.crit

Compute decision intervals of CUSUM control charts (variance charts)
phat.ewma.arl

Compute ARLs of EWMA phat control charts
pois.cusum.crit.L0L1

Compute the CUSUM k and h for given in-control ARL L0 and out-of-control ARL L1, Poisson case
quadrature.nodes.weights

Calculate quadrature nodes and weights
pois.ewma.arl

Compute ARLs of Poisson EWMA control charts
scusum.arl

Compute ARLs of CUSUM control charts (variance charts)
pois.ewma.ad

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

Compute ARLs of Poisson EWMA control charts
tewma.arl

Compute ARLs of Poisson TEWMA control charts
sewma.sf

Compute the survival function of EWMA run length
sewma.crit.prerun

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

Compute decision intervals of CUSUM control charts
sewma.arl.prerun

Compute ARLs of EWMA control charts (variance charts) in case of estimated parameters
xDewma.arl

Compute ARLs of EWMA control charts under drift
sewma.q.prerun

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

Compute critical values of EWMA control charts (variance charts)
pois.cusum.crit

Compute alarm thresholds and randomization constants of Poisson CUSUM control charts
sewma.sf.prerun

Compute the survival function of EWMA run length
xcusum.crit.L0L1

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

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

Compute ARLs of EWMA control charts (variance charts)
xcusum.q

Compute RL quantiles of CUSUM control charts
xsewma.crit

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

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

Compute RL quantiles of EWMA (variance charts) control charts
xcusum.ad

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

Compute ARLs of CUSUM control charts
xewma.q

Compute RL quantiles of EWMA control charts
xDshewhartrunsrules.arl

Compute ARLs of Shewhart control charts with and without runs rules under drift
xewma.q.prerun

Compute RL quantiles of EWMA control charts in case of estimated parameters
xewma.ad

Compute steady-state ARLs of EWMA control charts
xsewma.q

Compute critical values of simultaneous EWMA control charts (mean and variance charts) for given RL quantile
tol.lim.fac

Two-sided tolerance limit factors
xewma.arl.prerun

Compute ARLs of EWMA control charts in case of estimated parameters
x.res.ewma.arl

Compute ARLs of EWMA residual control charts
xewma.crit

Compute critical values of EWMA control charts
xDgrsr.arl

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

Compute the survival function of CUSUM run length
xtewma.q

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

Compute ARL function of EWMA control charts
xDcusum.arl

Compute ARLs of CUSUM control charts under drift
xewma.sf.prerun

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

Compute ARLs of EWMA control charts
xtewma.ad

Compute steady-state ARLs of EWMA control charts, t distributed data
xshewhart.ar1.arl

Compute ARLs of modified Shewhart control charts for AR(1) data
xtshewhart.ar1.arl

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

Compute ARLs of Shewhart control charts with and without runs rules
xsewma.sf

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

Compute ARLs of EWMA control charts, t distributed data
xtcusum.arl

Compute ARLs of CUSUM control charts
xgrsr.ad

Compute steady-state ARLs of Shiryaev-Roberts schemes
xewma.sf

Compute the survival function of EWMA run length
xgrsr.crit

Compute alarm thresholds for Shiryaev-Roberts schemes
xtewma.sf

Compute the survival function of EWMA run length
xsewma.arl

Compute ARLs of simultaneous EWMA control charts (mean and variance charts)
xgrsr.arl

Compute (zero-state) ARLs of Shiryaev-Roberts schemes
mewma.arl

Compute ARLs of MEWMA control charts
mewma.crit

Compute alarm threshold of MEWMA control charts
lns2ewma.arl

Compute ARLs of EWMA ln \(S^2\) control charts (variance charts)
dphat

Percent defective for normal samples
mewma.psi

Compute steady-state density of the MEWMA statistic
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)
euklid.ewma.arl

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

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

Compute control limits of MR charts for normal data