mqcs.mcusum | R Documentation |
This function is used to compute statistics required by the Multivariate Cumulative Sum (MCUSUM) chart.
mqcs.mcusum(x, ...)
## Default S3 method:
mqcs.mcusum(
x,
data.name = NULL,
limits = NULL,
Xmv = NULL,
S = NULL,
k = 0.5,
h = 5.5,
method = "sw",
plot = FALSE,
...
)
## S3 method for class 'mqcd'
mqcs.mcusum(
x,
limits = NULL,
Xmv = NULL,
S = NULL,
k = 0.5,
h = 5.5,
method = "sw",
plot = FALSE,
...
)
x |
An object of class 'mqcd'. |
... |
Arguments passed to or from methods. |
data.name |
A string that specifies the title displayed on the plots.
If not provided it is taken from the name of the object |
limits |
A two-values vector specifying the control limits. |
Xmv |
The mean vector. It is only specified for Phase II or when the parameters of the distribution are known. |
S |
The sample covariance matrix. It is only used for Phase II or when the parameters of the distribution are known. |
k |
A constant used in MCUSUM chart. Frequently k = 0.5 |
h |
A constant used in MCUSUM chart. Usually h = 5.5 |
method |
The method employed to compute the covariance matrix in the individual observation case. Two methods are used "sw" for compute according to (Sullivan,Woodall 1996a) and "hm" by (Holmes,Mergen 1993) |
plot |
Logical value. If |
Edgar Santos-Fernandez
mqcd
, mqcs
##
## Continuous data
##
library(qcr)
data(dowel1)
str(dowel1)
data.mqcd <- mqcd(dowel1)
res.mqcs <- mqcs.mcusum(data.mqcd)
summary(res.mqcs)
plot(res.mqcs, title =" MCUSUM Control Chart for dowel1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.