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: 0.2634453
#> P-Value: 0.7922
testofupdownruns(x)
#> Value: -0.4754311
#> P-Value: 0.6345
# 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