get.cusumprocess | R Documentation |
Multivariate CUSUM process Q_T(r)
get.cusumprocess(formula, T = NULL)
formula |
Specification of the linear regression model by an object of the class "formula" |
T |
Optional length of the training sample for monitoring. For retrospective tests, T should be the sample size. If NULL, T is stet to the sample size. NULL is default. |
A matrix containing the multivariate forward CUSUM process Q_T(r)
T <- 100 u <- rnorm(T,0,1) x <- rnorm(T,0,1) y <- c(rep(0,T/2), rep(1,T/2)) + x + u get.cusumprocess(y~x, T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.