Learn R Programming

IQCC (version 1.0)

graphindII: Individual Phase II Hotelling Control Chart.

Description

Builds the individual phase II Hoteling control chart.

Usage

graphindII(T2II, m, j, t, p)

Arguments

T2II
A vector with the value of T2 statistic for one sample.
m
The number of samples generated previously in function dataindI.
j
The index of the current sample.
t
The maximum value of the x axis.
p
The dimension used previously in function dataindI.

Value

  • Return a control chart.

Details

It builds the Hotelling T2 control chart for multivariate normal data (individual observations taken sequentialy); the control limits are based on the F distribution, and the covariance matrix estimator is based on the sucessive difference method.

References

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

See Also

graphindI,graphsubI,graphsubII

Examples

Run this code
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)
# for the first sample j=1; T2II is a vector with the value of the firts T2 statistic.
graphindII(T2II,50,1,25,2)

Run the code above in your browser using DataLab