The SPE chart plots the sum of squares of the residuals from the principal component model. If either 
 or the data matrix has rank less than p, then the SPE statistic is not defined and an SPE chart is not produced. The SPE statistic for observation i is denoted as 
            
 where p is the number of variables and 
 is the ith observation for the kth variable in the error matrix, E, in the principal component model 
            
The distribution of 
 has been approximated in the literature under different conditions. Two methods of computing control limits for 
 are implemented by the MVPMONITOR procedure. One method is used when the data that are used to build the principal component
               model consist of a single measurement per time point. The other method is used when there are multiple measurements per time
               point (Jensen and Solomon, 1972; Nomikos and MacGregor, 1995). 
            
When there is a single observation at each time point, the data matrix 
 is 
, with exactly one observation at each time point in the input data set. The derivation of the control limits uses the central
                  limit theorem approach of Jensen and Solomon (1972). They begin by defining 
, where 
 is the kth eigenvalue from the principal component model. 
               
Then the quantity
![\[  z=\frac{\theta _1 \left[ \left( \frac{Q}{\theta _1} \right)^{h_0} -1 - \frac{\theta _2 h_0 \left(h_0 -1 \right)}{\theta _1^2} \right]}{\sqrt {2 \theta _2 h_0^2} }  \]](images/qcug_mvpmonitor0021.png)
 is distributed 
 as 
, where 
 is defined as 
. The upper control limit for all 
 is then computed by 
               
![\[  Q_{i, 1-\frac{\alpha }{2}}= \theta _1 \left[1 + \frac{z_{(1-\alpha /2)} \sqrt {2\theta _2h_0^2}}{\theta _1} + \frac{\theta _2 h_0 \left(h_0-1 \right)}{\theta _1^2} \right]^{\frac{1}{h_0} }  \]](images/qcug_mvpmonitor0026.png)
 where 
 is the 
 percentile of the standard normal distribution. The lower control limit is obtained similarly by using 
. You can specify 
 by using the ALPHA=
                   option in the SPECHART
                   statement. 
               
When there are multiple observations at a time value in an input data set, a different approximation of the SPE distribution is used to compute control limits. The approximate distribution at time i is the scaled chi-square distribution,
 where 
 and 
 are the mean and variance, respectively, of the SPE statistics at time i. The upper control limit for all observations at time point i is computed as the 
 percentile of the scaled chi-square distribution: 
               
 Similarly the lower control limit is computed from the 
 percentile. You can specify 
 by using the ALPHA=
                   option in the SPECHART
                   statement. 
               
For more information about the distribution approximations, see Nomikos and MacGregor (1995) and Jackson and Mudholkar (1979).