T2subI {IQCC} | R Documentation |
Calculate the Hotelling T2 statistic for multivariate sub-group observations at phase I , to be used to build the corresponding control chart.
T2subI(estat, m, n)
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. |
m |
The number of sub groups generated previously in datasubI. |
n |
The size of each sub group used previously in datasubI. |
Before using this function it is necessary to execute the function "estatauxsub"(that calculate the auxiliary statistics involved in the T2 formula) and the function "datasubI" (or other way to supply the data).
Return a vector with the Hotelling T2 statistics.
Daniela R. Recchia, Emanuel P. Barbosa
Montgomery, D.C.,(2008)."Introduction to Statistical Quality Control". Chapter 11. Wiley.
estatauxsub, datasubI, graphsubI
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) T2subI(estat,20,10)