threshold: Calculate threhold for PCA model

Description Usage Arguments Details Value

Description

Calculate the non-parametric critical value threshold estimates for the SPE and T2 monitoring test statistics.

Usage

1
threshold(pca_object, alpha = 0.01, ...)

Arguments

pca_object

A list with class "PCA_model" from the internal PCA_model() function

alpha

The upper 1 - alpha quantile of the SPE and T2 densities from the training data passed to this function. Defaults to 0.01.

...

Lazy dots for additional internal arguments

Details

This function takes in a pca object returned by the pca() function and a threshold level defaulting to alpha = 0.1 percent of the observations. This critical quantile is set this low to reduce false alarms, as described in Kazor et al (2016). The function then returns a calculated SPE threshold corresponding to the 1 - alpha critical value, a similar T2 threshold, and the projection and Lambda Inverse (1 / eigenvalues) matrices passed through from the pca() function call.

Value

A list with classes "threshold" and "pca" containing:


chengfeifan/monitor documentation built on May 14, 2019, 2:29 p.m.