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: 12.56281
#> P-Value: 0.0019
doornikhansen(x)
#> Value: 14.02809
#> P-Value: 0.0009
jarquebera(x)
#> Value: 14.83739
#> P-Value: 0.0006
skewness(x)
#> Value: -0.1250511
#> P-Value: 0.6097
kurtosis(x)
#> Value: 4.718291
#> P-Value: 0.0005