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.511406
#> P-Value: 0.1728
doornikhansen(x)
#> Value: 3.544144
#> P-Value: 0.1700
jarquebera(x)
#> Value: 3.754974
#> P-Value: 0.1530
skewness(x)
#> Value: 0.4484815
#> P-Value: 0.0671
kurtosis(x)
#> Value: 3.195435
#> P-Value: 0.6899
x <- random_t(2, 100) # alternative
bowmanshenton(x)
#> Value: 7665.726
#> P-Value: 0.0000
doornikhansen(x)
#> Value: 586.7087
#> P-Value: 0.0000
jarquebera(x)
#> Value: 8465.982
#> P-Value: 0.0000
skewness(x)
#> Value: 5.506632
#> P-Value: 0.0000
kurtosis(x)
#> Value: 44.45458
#> P-Value: 0.0000