T2_qualitative {T2Qv} | R Documentation |
Multivariate control chart for qualitative variables
Description
Multivariate control chart T2 Hotelling applicable for qualitative variables.
Usage
T2_qualitative(base, IndK, dim, interactive = FALSE, alpha = 0.0027)
Arguments
base |
Data set |
IndK |
Character with the name of the column that specifies the partition of the data set in k tables. |
dim |
Dimension taken for reduction. Initial dimension - 1 is recommended. |
interactive |
If it is TRUE, the graph will be shown interactively. If FALSE, the graph is displayed flat. FALSE is the default. |
alpha |
Type I error, it is recommended to reach this value by using the ARL. |
Value
A control chart made with the T2 hotelling statistic, applied to detect anomalies in any of the K tables obtained with the specification of IndK
. The control limit of the graph is obtained from the number of dimensions dim
and the type I error alpha
.
Examples
data(Datak10Contaminated)
T2_qualitative(Datak10Contaminated,"GroupLetter",9, FALSE,0.0027)
[Package T2Qv version 0.2.0 Index]