Learn R Programming

IQCC (version 1.0)

graphsubI: Sub group Phase I Hotelling Control Chart.

Description

Builds the sub group phase I Hotelling control chart.

Usage

graphsubI(estat, T2, m, n, p)

Arguments

estat
The values of the auxiliary statistics. Should be a list with a matrix with the means, mean of the means and mean of the standard deviation.
T2
The values of the T2 statistic. Shoul be a matrix.
m
The number of sub groups generated previously in datasubI.
n
The size of each sub group used previously in datasubI.
p
The dimension used previously in function datasubI.

Value

  • Return a control chart.

Details

It builds the Hotelling T2 control chart for multivariate normal data (m sub-groups /samples of size n>1), used retrospective /validation analysis (phase I); the control limits are based on the F distribution.

References

Montgomery, D.C.,(2008)."Introduction to Statistical Quality Control". Chapter 11. Wiley

See Also

graphindI,graphindII,graphsubII

Examples

Run this code
mu<-c(5.682,88.22)
Sigma<-symMatrix(c(3.770,-5.495,13.53),2)
datum<-datasubI(20,10,mu,Sigma,2)
estat<-estatauxsub(datum,20,10,2)
T2<-T2subI(estat,20,10)
dados<-datasubI(20,10,mu,Sigma,2)
# estat is a list with the auxiliary statistics. T2 is a matrix with the values of the T2 statistic.
graphsubI(estat,T2,20,10,2)

Run the code above in your browser using DataLab