QUALITY CONTROL WITH MULTIVARIATE DATA