Functions to compute runs test around the mean or the median
(testofruns) or up and down runs test (testofupdownruns) to
check randomness of a data.
Value
A c("JD3_TEST", "JD3") object (see statisticaltest() for
details).
Examples
x <- random_t(5, 1000)
# random values
testofruns(x)
#> Value: 1.023018
#> P-Value: 0.3063
testofupdownruns(x)
#> Value: 1.02593
#> P-Value: 0.3049
# non-random values
testofruns(ABS$X0.2.09.10.M)
#> Value: -14.05884
#> P-Value: 0.0000
testofupdownruns(ABS$X0.2.09.10.M)
#> Value: -10.0303
#> P-Value: 0.0000