Measures how well described the observations are, i.e. how well
they fit in the mode. High DModX indicate a poor fit. Defined as:$\frac{\sqrt{\frac{SSE_i}{K-A}}}{\sqrt{\frac{SSE}{(N-A-A_0)(K-A)}}}$
For observation $i$, in a model with $A$ components,
$K$ variables and $N$ obserations. SSE is the squared sum
of the residuals. $A_0$ is 1 if model was centered and 0
otherwise. DModX is claimed to be approximately F-distributed and
can therefore be used to check if an observation is significantly
far away from the PCA model assuming normally distributed data.
Pass original data as an argument if the model was calculated with
completeObs=FALSE
.