https://github.com/cran/IQCC
Tip revision: 015c96430f6bddf3c9b4b20d878ceae380a023be authored by Emanuel P. Barbosa on 21 September 2009, 00:00:00 UTC
version 1.0
version 1.0
Tip revision: 015c964
datasubII.Rd
\name{datasubII}
\alias{datasubII}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ Hotelling Control Chart Phase II with sub-group observations simulated data. }
\description{
This function simulate a normal data set to be used in the phase II Hotelling control charts with sub-group observations.
}
\usage{
datasubII(estat, n, delta = 0, p)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
\item{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. }
\item{n}{ The size of each sub group. }
\item{delta}{ A value to be added on the vector of means. }
\item{p}{ The dimension. }
}
\details{
To use this function it is necessary to have the information about the phase I given by the functions datasubI and estatauxsub.
}
\value{
Return an array with the simulated data.
}
\author{ Daniela R. Recchia, Emanuel P. Barbosa }
\seealso{ \link{datasubI},\link{dataindI},\link{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)
# estat is the list with the values of the auxiliary statistics.
estat<-estatauxsub(datum,20,10,2)
datum2<-datasubII(estat,10,p=2)
}