Learn R Programming

IQCC (version 1.0)

dataindII: Hotelling Control Chart Phase II with individual observations simulated data.

Description

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

Usage

dataindII(estat, p, delta = 0)

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.
delta
A value to be added on the vector of means.
p
The dimension.

Value

  • Return a matrix with the simulated data.

Details

To use this function it is necessary to have the information about the phase I given by the functions dataindI and estatauxind.

See Also

dataindI,datasubI,datasubII

Examples

Run this code
mu<-c(5.682,88.22)
Sigma<-symMatrix(c(3.770,-5.495,13.53),2)
datum<-dataindI(50,mu,Sigma,2)
#estat is the list with the values of the auxiliary statistics.
estat<-estatauxind(datum,50,2)
datum2<-dataindII(estat,p=2)

Run the code above in your browser using DataLab