Learn R Programming

mdatools (version 0.9.1)

reslim.dd: Statistical limits for Q and T2 residuals using Data Driven approach

Description

Method is based on paper by Pomerantsev, Rodionova (JChem, 2014)

Usage

reslim.dd(Q, T2, type = "ddmoments", alpha = 0.05, gamma = 0.01,
  Qlim = NULL, T2lim = NULL, return = "limits")

Arguments

Q

vector with Q-residuals for selected component

T2

vector with T2-residuals for selected component

type

which estimator to use: 'moments' or 'robust'

alpha

significance level for extreme objects

gamma

significance level for outliers

Qlim

vector with Q limits for selected number of components (from model)

T2lim

vector with T2 limits for selected number of components (from model)

return

what to return: 'limits' or 'probability'