This is a transparent screening heuristic, not a test that automatically excludes samples. Distances are calculated from median/MAD-standardized PC scores and compared with a chi-squared quantile.
Arguments
- pca
A
prcompobject, usually fromreduce_pca().- components
Principal components to include.
- probability
Chi-squared cutoff probability.