datasubII {IQCC}R Documentation

Hotelling Control Chart Phase II with sub-group observations simulated data.

Description

This function simulate a normal data set to be used in the phase II Hotelling control charts with sub-group observations.

Usage

datasubII(estat, n, delta = 0, 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.
n The size of each sub group.
delta A value to be added on the vector of means.
p The dimension.

Details

To use this function it is necessary to have the information about the phase I given by the functions datasubI and estatauxsub.

Value

Return an array with the simulated data.

Author(s)

Daniela R. Recchia, Emanuel P. Barbosa

See Also

datasubI,dataindI,dataindII

Examples

mu<-c(5.682,88.22)
Sigma<-symMatrix(c(3.770,-5.495,13.53),2)
datum<-datasubI(20,10,mu,Sigma,2)
# estat is the list with the values of the auxiliary statistics.
estat<-estatauxsub(datum,20,10,2)
datum2<-datasubII(estat,10,p=2)

[Package IQCC version 1.0 Index]