This function calculate the auxiliary statistics necessary to build the control chart reference lines.
stats(datum, m, n, p)
datum | The data set. Should be an array. |
---|---|
m | The number of sub groups generated previously in data.1. |
n | The size of each sub group used previously in data.1. |
p | The dimension used previously in function data.1. |
Return the values of the three statistics: a vector with the mean of the means, the mean of the estimated variance-covariance matrixes and a matrix with the means of each sample.
To use this function it is necessary to have the information about the data.1.