DModX is the observed distance to the principal components model and is defined as follows:
DModX =
where
eik = the residuals from the model
K = the number of variables
A = the number of principal components
Larger values of DModX indicate mild to moderate outliers in the data.