multi_online_monitor: Online Monitoring of Serially Correlated Multivariate Data

Description Usage Arguments Details Value Author(s) Examples

View source: R/multi_online_monitor.R

Description

The function estimats the correlation structure nonparametrically from an IC dataset, and decorrelating the original multivariate process observations. After data decorrelation, a multivariate nonparametric CUSUM chart based on data categorization was applied to monitor the new data set to detect if there is any mean shift occurs, and give us a signal as soon as possible.

Usage

1
multi_online_monitor(x, xx, h = 20, k = 0.01, bmax = 10)

Arguments

x

the in control Multivariate data

xx

the Multivariate data needed to monitor

h

the control limit

k

the allowance value

bmax

The smallest number that any data points have no or small correlations with previous data points which means γ(q) ≈ 0 when q > bmax

Details

Early MSPC methods require the assumptions that multivariate process observations are independent at different time points and the in-control (IC) process distribution is multivariate normal or another parametric distribution. In practice, the assumed parametric distribution and independence would be hardly valid and consequently the traditional MSPC charts would be unreliable to use for many MSPC applications. multi_online_monitor() applied a methods focuses mainly on online monitoring of p-dimensional processes, where p > 0 is an interger. Let the sequence of process observations under sequential monitoring be Xn = (Xn1,Xn2,...,Xnp)′,n ≥ 1. One assumption needed by the proposed method is that the serial data correlation in the observed data is stationary when the process is IC, which implies that the covariance matrix γ(s) = Cov(Xi,Xi+s), for any i, depends only on s in such cases. This assumption is often reasonable because it is believed that the IC process distribution, including the IC serial data correlation, does not change over time in many applications, including the production lines in manufacturing industries. Regarding the serial data correlation of an IC process, it is also assumed that there is an integer w ≥ 1 such that γ(s) = 0 when s > w. This assumption implies that the correlation between two observations would disappear if the related observation times are far away, which should be (approximately) true in many applications. The IC process distribution is assumed to be unknown, and the process observations are multivariate and serially correlated. The output of the function multi_online_monitor() is the index of the obsevation in the new data that gives a out of control signal. For example, if the output is 20, the result indicates that at X20, the function detects a mean shift.

Value

The index of the obsevation in the new data that gives a mean shift signal

Author(s)

Xiulin Xie

Examples

1
multi_online_monitor(matrix(rnorm(900,0,1),nrow = 3),matrix(rnorm(900,2,1),nrow = 3))

XiulinXie/SPCmonitor2 documentation built on Dec. 10, 2019, 12:10 a.m.