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: 3.478603
#> P-Value: 0.1756
doornikhansen(x)
#> Value: 3.677657
#> P-Value: 0.1590
jarquebera(x)
#> Value: 3.679651
#> P-Value: 0.1588
skewness(x)
#> Value: 0.4520879
#> P-Value: 0.0649
kurtosis(x)
#> Value: 3.131647
#> P-Value: 0.7881
x <- random_t(2, 100) # alternative
bowmanshenton(x)
#> Value: 378.371
#> P-Value: 0.0000
doornikhansen(x)
#> Value: 136.7458
#> P-Value: 0.0000
jarquebera(x)
#> Value: 423.8595
#> P-Value: 0.0000
skewness(x)
#> Value: -0.09004236
#> P-Value: 0.7132
kurtosis(x)
#> Value: 12.52768
#> P-Value: 0.0000