Set of functions to test the normality of a time series.
Usage
bowmanshenton(data)
doornikhansen(data)
jarquebera(data, k = 0, sample = TRUE)
skewness(data)
kurtosis(data)Value
A c("JD3_TEST", "JD3") object (see statisticaltest for details).
Functions
bowmanshenton(): Bowman-Shenton testdoornikhansen(): Doornik-Hansen testjarquebera(): Jarque-Bera testskewness(): Skewness testkurtosis(): Kurtosis test
Examples
x <- rnorm(100) # null
bowmanshenton(x)
#> Value: 0.09858598
#> P-Value: 0.9519
doornikhansen(x)
#> Value: 0.05114668
#> P-Value: 0.9748
jarquebera(x)
#> Value: 0.04550024
#> P-Value: 0.9775
skewness(x)
#> Value: -0.02688914
#> P-Value: 0.9126
kurtosis(x)
#> Value: 2.855887
#> P-Value: 0.7686
x <- random_t(2, 100) # alternative
bowmanshenton(x)
#> Value: 821.571
#> P-Value: 0.0000
doornikhansen(x)
#> Value: 45.82106
#> P-Value: 0.0000
jarquebera(x)
#> Value: 908.8287
#> P-Value: 0.0000
skewness(x)
#> Value: 2.424057
#> P-Value: 0.0000
kurtosis(x)
#> Value: 16.1785
#> P-Value: 0.0000