The MVPMONITOR Procedure

PROC MVPMONITOR Statement

PROC MVPMONITOR <options> ;

The PROC MVPMONITOR statement invokes the MVPMONITOR procedure and specifies input and output data sets. You can specify the following options:

DATA=SAS-data-set

specifies an input SAS data set that contains process measurement data for a Phase II analysis. If you specify a DATA= data set, you must also specify a LOADINGS= data set. You cannot specify the HISTORY= or TABLE= option together with the DATA= option. See the section DATA= Data Set for details about DATA= data sets.

HISTORY=SAS-data-set

specifies an input SAS data set that contains process variable data augmented with principal component scores, multivariate summary statistics, and other calculated values. This data set is used for a Phase I analysis. Usually, a HISTORY= data set is created as an OUT= data set from the MVPMODEL procedure. You cannot specify the DATA= or TABLE= option with the HISTORY= option. See the section HISTORY= Data Set for details about HISTORY= data sets.

LOADINGS=SAS-data-set

specifies an input SAS data set that contains eigenvalues, principal component loadings, and process variable means and standard deviations that are used to compute principal component scores and multivariate summary statistics for a Phase II analysis. Usually, the LOADINGS= data set is produced by the MVPMODEL procedure as an OUTLOADINGS= data set. See the section LOADINGS= Data Set for details about LOADINGS= data sets.

MISSING=AVG | NONE

specifies how to handle observations that have missing process variable values in the DATA= data set. The option MISSING=AVG specifies that missing values for a given variable be replaced by the average of the nonmissing values for that variable. The default is MISSING=NONE, which excludes observations that have missing values for any of the process variables from the analysis.

OUTHISTORY=SAS-data-set
OUT=SAS-data-set

creates an output data set that contains all the original data from the input data set, principal component scores, and multivariate summary statistics. See the section OUTHISTORY= Data Set for details. You can produce an OUTHISTORY= data set only when you specify a DATA= input data set.

PREFIX=name

specifies the prefix to use to identify variables that contain principal component scores in the HISTORY= data set. For example, if you specify PREFIX=ABC, PROC MVPMONITOR attempts to read the score variables ABC1, ABC2, ABC3, and so on. The default PREFIX= value is Prin, which is the default score variable prefix the that PROC MVPMODEL uses when it creates an OUT= data set. If you use an OUT= data set from MVPMODEL as a HISTORY= data set, the PREFIX= value must match the PROC MVPMODEL PREFIX= value that is specified when the OUT= data set is created.

Note: The number of characters in the prefix plus the number of digits that are required to enumerate the principal components must not exceed the maximum name length defined by the VALIDVARNAME= system option.

RPREFIX=name

specifies the prefix to use to identify variables that contain residuals in the HISTORY= data set. Residual variable names are formed by appending process variable names to the prefix. The default RPREFIX= value is R_, which is the default residual variable prefix that PROC MVPMODEL uses when it creates an OUT= data set. If you use an OUT= data set from PROC MVPMODEL as a HISTORY= data set, the RPREFIX= value must match the PROC MVPMODEL RPREFIX= value that is specified when the OUT= data set is created.

If the combined length of the residual prefix and a process variable name exceeds the maximum name length defined by the VALIDVARNAME= system option, characters are removed from the middle of the process variable name before it is appended to the residual prefix. For example, if you specify RPREFIX=Residual_ (nine characters), the maximum variable name length is 32, and there is a process variable named PrimaryThermometerReading (25 characters), then two characters are dropped from the middle of the process variable name. The resulting residual variable name is Residual_PrimaryThermeterReading.

TABLE=SAS-data-set

specifies an input SAS data set that contains summary information from a score chart, SPE chart, or $T^2$ chart. You can produce a TABLE= data set by specifying the OUTTABLE= option in a SCORECHART, SPECHART, or TSQUARECHART statement. You can use a TABLE= input data set to display a previously computed control chart. You cannot specify the DATA= or HISTORY= option together with the TABLE= option. See the section TABLE= Data Set for details.