data.2: Hotelling Control Chart Phase II simulated data.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/data.2.R

Description

This function simulate a normal data set to be used in the phase II Hotelling control charts.

Usage

1
data.2(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 sample. If they are individual observations, use n = 1.

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 data.1 and stats.

Value

Return an array with the simulated data.

Author(s)

Daniela R. Recchia, Emanuel P. Barbosa

See Also

data.1

Examples

1
2
3
4
5
6
mu <- c(5.682, 88.22)
Sigma <- symMatrix(c(3.770, -5.495, 13.53), 2)
datum <- data.1(20, 10, mu, Sigma)
# estat is the list with the values of the auxiliary statistics.
estat <- stats(datum, 20, 10, 2)
datum2 <- data.2(estat, 10, p = 2)

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