normality_tests: Normality Tests

normality_testsR Documentation

Normality Tests

Description

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)

Arguments

data

data being tested.

k

number of degrees of freedom to be subtracted if the input time series is a series of residuals.

sample

boolean indicating if unbiased empirical moments should be computed.

Value

A c("JD3_TEST", "JD3") object (see statisticaltest for details).

Functions

  • bowmanshenton(): Bowman-Shenton test

  • doornikhansen(): Doornik-Hansen test

  • jarquebera(): Jarque-Bera test

  • skewness(): Skewness test

  • kurtosis(): Kurtosis test

Examples

x <- rnorm(100) # null
bowmanshenton(x)
doornikhansen(x)
jarquebera(x)

x <- random_t(2, 100) # alternative
bowmanshenton(x)
doornikhansen(x)
jarquebera(x)

palatej/rjd3toolkit documentation built on Oct. 30, 2024, 10:46 p.m.