updateind {IQCC}R Documentation

Update the Hotelling Control Chart for individual observations.

Description

This function is used to update the individual phase II control chart with new observations.

Usage

updateind(datum2,estat, T2II, t, j)

Arguments

datum2 The data set for the phase II. Should be a vector.
estat The values of the auxiliary statistics. Should be a list with a vector with the means, the variance-covariance estimated matrix and a matrix with x-xbar vectors.
T2II A vector with the value of T2 statistic for one sample.
t The maximum value of the x axis.
j The index of the current sample.

Details

To use this function it is necessary to have the output given by the function T2indII. At every step you should entry with the new data set.

Value

Add the new observation to the current Hoteliing control chart for phase II with individual observations.

Author(s)

Daniela R. Recchia, Emanuel P. Barbosa

See Also

T2indII

Examples

mu<-c(5.682,88.22)
Sigma<-symMatrix(c(3.770,-5.495,13.53),2)
datum<-dataindI(50,mu,Sigma,2)
estat<-estatauxind(datum,50,2)
datum2<-dataindII(estat,p=2)
T2II<-T2indII(datum2,estat)
updateind(datum2,estat,T2II,25,2)

[Package IQCC version 1.0 Index]