calc_PStat: Calculate plotting statistic

View source: R/helper.R

calc_PStatR Documentation

Calculate plotting statistic

Description

A helper function to calculate the plotting statistic given S and sigma_tau_inv.

Usage

calc_PStat(S, sigma_tau_inv)

Arguments

S

A matrix which tracks the MCUSUM through observations

sigma_tau_inv

The inverse covariance matrix of tau. Estimated from the training data.

Value

The plotting statistic which determines if the process is considered in-control or out-of-control at a given observation.


dpweix/mlmcusum documentation built on July 31, 2023, 10:13 a.m.