datasubI {IQCC}R Documentation

Hotelling COntrol Chart Phase I with sub-group observations simulated data.

Description

This function simulate a normal data set to be used in the phase I Hoteliing control charts with sub-group observations.

Usage

datasubI(m, n, mu, Sigma, p)

Arguments

m The number of sub groups to be generated.
n The size of each sub group.
mu The vector with the means of the data to be generated.
Sigma The vector with the variance-covariance matrix of the data to be generated.
p The dimension.

Details

It is necessary to give the name of "datum" for the output of this function, ex. datum<-datasubI(), because this name will be called in the next functions.

Value

Return an array with the simulated data.

Author(s)

Daniela R. Recchia, Emanuel P. Barbosa

See Also

datasubII,dataindI,dataindII

Examples

mu<-c(5.682,88.22)
Sigma<-symMatrix(c(3.770,-5.495,13.53),2)
datum<-datasubI(20,10,mu,Sigma,2)

[Package IQCC version 1.0 Index]