stats: Auxiliary statistics for the multivariate control chart.

Description Usage Arguments Details Value Author(s) Examples

View source: R/stats.R

Description

This function calculate the auxiliary statistics necessary to build the control chart reference lines.

Usage

1
stats(datum, m, n, p)

Arguments

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.

Details

To use this function it is necessary to have the information about the data.1.

Value

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.

Author(s)

Daniela R. Recchia, Emanuel P. Barbosa

Examples

1
2
3
4
5
6
7
8
mu <- c(5.682, 88.22)
Sigma <- symMatrix(c(3.770, -5.495, 13.53), 2)
#Example with individual observations
datum <- data.1(50, 1, mu, Sigma)
estat <- stats(datum, 50, 1, 2)
#Example with sub-group observations
datum <- data.1(20, 10, mu, Sigma)
estat <- stats(datum, 20, 10, 2)

IQCC documentation built on May 1, 2019, 10:58 p.m.

Related to stats in IQCC...