T2indI {IQCC}R Documentation

Hotelling T2 Statistic for Individual Phase I.

Description

Calculate the Hotelling T2 statistic for multivariate individual observations at phase I , to be used to build the corresponding control chart.

Usage

T2indI(estat, m)

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.
m The number of sample generated previously in function dataindI.

Details

Before using this function it is necessary to execute the function "estatauxind" (that calculate the auxiliary statistics involved in the T2 formula) and the function "dataindI" (or other way to supply the data).

Value

Return a vector with the Hotelling T2 statistics.

Author(s)

Daniela R. Recchia, Emanuel P. Barbosa

References

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

See Also

estatauxind,dataindI,graphindI

Examples

mu<-c(5.682,88.22)
Sigma<-symMatrix(c(3.770,-5.495,13.53),2)
datum<-dataindI(50,mu,Sigma,2)
# estat is the list with the values of the auxiliary statistics.
estat<-estatauxind(datum,50,2)
T2indI(estat,50)

[Package IQCC version 1.0 Index]