Learn R Programming

⚠️There's a newer version (0.7.2) of this package.Take me there.

spc (version 0.5.1)

Statistical Process Control -- Collection of Some Useful Functions

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 of normally distributed independent data. ARL calculation of the same set of schemes under drift are added. Other charts and parameters are in preparation. Further SPC areas will be covered as well (sampling plans, capability indices ...).

Copy Link

Version

Install

install.packages('spc')

Monthly Downloads

696

Version

0.5.1

License

GPL (>= 2)

Maintainer

Sven Knoth

Last Published

May 18th, 2015

Functions in spc (0.5.1)

sewma.sf.prerun

Compute the survival function of EWMA run length
lns2ewma.crit

Compute critical values of EWMA ln $S^2$ control charts (variance charts)
sewma.crit

Compute critical values of EWMA control charts (variance charts)
sewma.sf

Compute the survival function of EWMA run length
quadrature.nodes.weights

Calculate quadrature nodes and weights
sewma.arl

Compute ARLs of EWMA control charts (variance charts)
xewma.crit

Compute critical values of EWMA control charts
xewma.ad

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

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

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

Compute ARLs of EWMA ln $S^2$ control charts (variance charts)
mewma.arl

Compute ARLs of MEWMA control charts
xsewma.arl

Compute ARLs of simultaneous EWMA control charts (mean and variance charts)
xcusum.ad

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

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

Compute ARLs of EWMA control charts
phat.ewma.arl

Compute ARLs of EWMA phat control charts
xgrsr.arl

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

Compute ARLs of EWMA control charts under drift
xDgrsr.arl

Compute ARLs of Shiryaev-Roberts schemes under drift
dphat

Percent defective for normal samples
xcusum.arl

Compute ARLs of CUSUM control charts
sewma.q.prerun

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

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

Compute the survival function of CUSUM run length
xcusum.crit.L0h

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

Compute the survival function of EWMA run length
scusum.crit

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

Compute ARLs of CUSUM control charts (variance charts)
xewma.sf

Compute the survival function of EWMA run length
xewma.arl.prerun

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

Compute RL quantiles of EWMA control charts
xgrsr.crit

Compute alarm thresholds for Shiryaev-Roberts schemes
xgrsr.ad

Compute steady-state ARLs of Shiryaev-Roberts schemes
sewma.crit.prerun

Compute critical values of 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
x.res.ewma.arl

Compute ARLs of EWMA residual control charts
xDshewhartrunsrules.arl

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

Compute RL quantiles of CUSUM control charts
mewma.crit

Compute alarm threshold of MEWMA control charts
xcusum.crit.L0L1

Compute the CUSUM k and h for given in-control ARL L0 and out-of-control L1
sewma.arl.prerun

Compute ARLs of EWMA control charts (variance charts) in case of estimated parameters
xcusum.crit

Compute decision intervals of CUSUM control charts
xsewma.sf

Compute the survival function of simultaneous EWMA control charts (mean and variance charts)
xewma.sf.prerun

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

Compute ARLs of binomial EWMA p control charts
sewma.q

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

Compute steady-state ARLs of EWMA control charts, t distributed data
xewma.q.prerun

Compute RL quantiles of EWMA control charts in case of estimated parameters
xtewma.q

Compute RL quantiles of EWMA control charts