Sn_serial | R Documentation |
This function computes the Cramer-von Mises statistic for a tests of randomness for p consecutives values X(1), ..., X(p). Useful for traditional bootstrapping.
Sn_serial(x, p)
x |
Time series |
p |
Number of consecutive observations |
stats |
Cramer-von Mises statistics Sn |
B.R Nasri (2022). Tests of serial dependence for arbitrary distributions
#'@examples X <- SimAR1Poisson(c(5,0.2),100) out <- Sn_serial(X,5,3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.