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: 16292.02
#> P-Value: 0.0000
doornikhansen(x)
#> Value: 1342.606
#> P-Value: 0.0000
jarquebera(x)
#> Value: 17997.39
#> P-Value: 0.0000
skewness(x)
#> Value: -6.999234
#> P-Value: 0.0000
kurtosis(x)
#> Value: 63.94365
#> P-Value: 0.0000