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: 749.2669
#> P-Value: 0.0000
doornikhansen(x)
#> Value: 49.35225
#> P-Value: 0.0000
jarquebera(x)
#> Value: 830.8411
#> P-Value: 0.0000
skewness(x)
#> Value: -2.026813
#> P-Value: 0.0000
kurtosis(x)
#> Value: 15.78249
#> P-Value: 0.0000