https://github.com/cran/IQCC
Raw File
Tip revision: 5c6e6dea621fd5b486441c5e649098ad5a6549e6 authored by Flavio Barros on 15 November 2017, 21:16:12 UTC
version 0.7
Tip revision: 5c6e6de
cchart.T2.1.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cchart.T2.1.R
\name{cchart.T2.1}
\alias{cchart.T2.1}
\title{Phase I Hotelling Control Chart.}
\usage{
cchart.T2.1(T2, m, n, p)
}
\arguments{
\item{T2}{The values of the T2 statistic. Shoul be a matrix.}

\item{m}{The number of samples generated previously in data.1.}

\item{n}{The size of each sample used previously in data.1. If they are
individual obsersations, then use n = 1.}

\item{p}{The dimension used previously in function data.1.}
}
\value{
Return a control chart.
}
\description{
Builds the phase I Hotelling control chart.
}
\details{
It builds the Hotelling T2 control chart for multivariate normal data (m
samples / samples of size n > 1), used retrospective / validation analysis
(phase I); the control limits are based on the F distribution.
}
\examples{

mu <- c(5.682, 88.22)
Sigma <- symMatrix(c(3.770, -5.495, 13.53), 2)
datum <- data.1(20, 10, mu, Sigma)
estat <- stats(datum, 20, 10, 2)
T2 <- T2.1(estat, 20, 10)
# estat is a list with the auxiliary statistics. T2 is a matrix with the values of the T2 statistic.
cchart.T2.1(T2, 20, 10, 2)

}
\references{
Montgomery, D.C.,(2008)."Introduction to Statistical Quality
Control". Chapter 11. Wiley
}
\seealso{
\link{cchart.T2.2}
}
\author{
Daniela R. Recchia, Emanuel P. Barbosa
}
back to top