jb.test {ccgarch} | R Documentation |
This function performs the Lomnicki-Jarque-Bera Test of normality and returns test statistics and associated p-values.
jb.test(x)
x |
a vector or matrix of variables to be tested |
Vector of test statistics and p-value
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.
rob.sk
,
rob.kr
,
ljung.box.test
# for a vector x <- rnorm(1000) jb.test(x) # for a matrix X <- matrix(rnorm(10000), 5000,2) jb.test(X)