This function simulate a normal data set to be used in the phase II Hotelling control charts.
data.2(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 sample. If they are individual observations, use n = 1. |
delta | A value to be added on the vector of means. |
p | The dimension. |
Return an array with the simulated data.
To use this function it is necessary to have the information about the phase I given by the functions data.1 and stats.