Probabilities of class belonging for PCA/SIMCA results
# S3 method for simca
getProbabilities(obj, ncomp, q, h, ...)
object with PCA model
number of components to compute the probability for
vector with squared orthogonal distances for given number of components
vector with score distances for given number of components
other parameters
Computes p-value for every object being from the same populaion as calibration set based on its orthogonal and score distances.