powered by
Tests the null of normality for x using the Jarque-Bera test statistic.
x
jarque.bera.test(x)
A list with class "htest" containing the following components:
"htest"
the value of the test statistic.
the degrees of freedom.
the p-value of the test.
a character string indicating what type of test was performed.
a character string giving the name of the data.
a numeric vector or time series.
A. Trapletti
This test is a joint statistic using skewness and kurtosis coefficients.
Missing values are not allowed.
J. B. Cromwell, W. C. Labys and M. Terraza (1994): Univariate Tests for Time Series Models, Sage, Thousand Oaks, CA, pages 20--22.
x <- rnorm(100) # null jarque.bera.test(x) x <- runif(100) # alternative jarque.bera.test(x)
Run the code above in your browser using DataLab