datasubII {IQCC} | R Documentation |
This function simulate a normal data set to be used in the phase II Hotelling control charts with sub-group observations.
datasubII(estat, n, delta = 0, p)
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. |
To use this function it is necessary to have the information about the phase I given by the functions datasubI and estatauxsub.
Return an array with the simulated data.
Daniela R. Recchia, Emanuel P. Barbosa
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)