calc_PStat_MEWMA | R Documentation |
A helper function to calculate the plotting statistic given D and r.
calc_PStat_MEWMA(r, D, p, pstat0 = (p * (p + 1)/2))
r |
The weight of the current observation. The previous observation has weight 1-r. |
D |
The Mahalanobis distance of each tau vector. |
p |
The number of variables in your multivariate time series. |
pstat0 |
An initial value for the plotting statistic |
The plotting statistic which determines if the process is considered in-control or out-of-control at a given observation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.