jb_test: The Lomnicki-Jarque-Bera Test of normality (JB test)

Description Usage Arguments Value References See Also Examples

Description

This function performs the Lomnicki-Jarque-Bera Test of normality and returns test statistics and associated p-values.

Usage

1
    jb.test(x)

Arguments

x

a vector or matrix of variables to be tested

Value

Vector of test statistics and p-value

References

Jarque, C.M. and A.K. Bera (1987), “A Test for Normality of Observations and Regression Residuals”, International Statistical Review, 55, 163–172.

Lomnicki, Z.A. (1961), “Tests for Departure from Normality in the Case of Linear Stochastic Processes”, Metrika, 4, 37–62.

See Also

rob.sk, rob.kr, ljung.box.test

Examples

1
2
3
4
5
6
7
    # for a vector
    x <- rnorm(1000)
    jb.test(x)

    # for a matrix
    X <- matrix(rnorm(10000), 5000,2)
    jb.test(X)


Search within the ccgarch package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.